diff --git a/SECURITY.md b/SECURITY.md index b024ec8516..9b2b7d584e 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -13,4 +13,4 @@ The following versions are maintained and supported: ## Reporting a Vulnerability Please use the contact form at openwb.de for reporting a found vulnerability: -https://openwb.de/main/?page_id=484 + diff --git a/data/config/boot_config.txt b/data/config/boot_config.txt index 81c7be7d7c..92ce23526a 100644 --- a/data/config/boot_config.txt +++ b/data/config/boot_config.txt @@ -1,9 +1,15 @@ # openwb - begin -# openwb-version:3 +# openwb-version:4 # Do not edit this section! We need begin/end and version for proper updates! [all] gpio=4,5,7,11,17,22,23,24,25,26,27=op,dl gpio=6,8,9,10,12,13,16,21=ip,pu + +[cm4] +# GPIO 22 is the buzzer on computemodule4 +gpio=22=op,dh + +[all] # enable uart for modbus port on older addon hat # this also requires to disable Bluetooth dtoverlay=disable-bt diff --git a/data/config/configuration.json b/data/config/configuration.json index d765199d71..fce3029094 100644 --- a/data/config/configuration.json +++ b/data/config/configuration.json @@ -1 +1 @@ -{"openwb-version": 1, "ripple_control_receiver_configured": false, "max_c_socket": 32} \ No newline at end of file +{"openwb-version": 1, "max_c_socket": 32, "dc_charging": false} \ No newline at end of file diff --git a/data/config/mosquitto/openwb_local.conf b/data/config/mosquitto/openwb_local.conf index 8909e9280f..13fbd9ec8c 100644 --- a/data/config/mosquitto/openwb_local.conf +++ b/data/config/mosquitto/openwb_local.conf @@ -1,4 +1,4 @@ -# openwb-version:14 +# openwb-version:16 listener 1886 localhost allow_anonymous true @@ -9,11 +9,8 @@ topic openWB/set/# both 2 topic openWB/LegacySmartHome/# out 2 topic openWB/LegacySmartHome/config/set/# both 2 -topic openWB/vehicle/+/name out 2 +topic openWB/vehicle/+/+ out 2 topic openWB/vehicle/+/soc_module/# out 2 -topic openWB/vehicle/+/tag_id out 2 -topic openWB/vehicle/+/charge_template out 2 -topic openWB/vehicle/+/ev_template out 2 topic openWB/vehicle/+/get/# out 2 topic openWB/vehicle/template/# out 2 @@ -36,10 +33,11 @@ topic openWB/pv/get/# out 2 topic openWB/pv/+/config/# out 2 topic openWB/pv/+/get/# out 2 -topic openWB/bat/config/configured out 2 +topic openWB/bat/config/# out 2 topic openWB/bat/get/# out 2 topic openWB/bat/+/config/# out 2 topic openWB/bat/+/get/# out 2 +topic openWB/bat/+/set/# out 2 topic openWB/general/# out 2 diff --git a/docs/Anzeige-Steuerung.md b/docs/Anzeige-Steuerung.md index 4d60949873..91cb6c853a 100644 --- a/docs/Anzeige-Steuerung.md +++ b/docs/Anzeige-Steuerung.md @@ -1,7 +1,9 @@ -Die Kontrolle der openWB geschieht über einen Webbrowser. Aufruf geschieht über Eingabe der IP-Adresse der openWB. +Die Kontrolle der openWB geschieht über einen Webbrowser. Der Aufruf geschieht über die Eingabe der IP-Adresse der openWB. ## Startseite + Die hier angezeigten Leistungen werden direkt aus den Leistungsdaten, welche vom Zähler übertragen werden, übernommen. ## Auswertungen - Diagramme -In der Auswertung (und für's Langzeit-Logging) werden 5min-Intervalle der Zählerstände (kWh-Differenz/5min = kW) verwendet. \ No newline at end of file + +In der Auswertung (und für das Langzeit-Logging) werden 5-Minuten-Intervalle der Zählerstände (kWh-Differenz/5min = kW) verwendet. diff --git a/docs/Cloud-Sicherung.md b/docs/Cloud-Sicherung.md index cfe4e0297e..08a7c1d72e 100644 --- a/docs/Cloud-Sicherung.md +++ b/docs/Cloud-Sicherung.md @@ -1,6 +1,12 @@ _Einstellungen -> System -> System -> Sicherung/Wiederherstellung_ -In den Sicherungseinstellungen kann ein Cloud-Dienst für automatische Sicherungen hinterlegt werden. Die Konfiguration des Cloud-Dienstes wird in diesem Wiki-Beitrag beschrieben. Folgende Anbieter werden unterstützt: +In den Sicherungseinstellungen kann ein Cloud-Dienst für automatische Sicherungen hinterlegt werden. +Die Konfiguration des Cloud-Dienstes wird in diesem Wiki-Beitrag beschrieben. -* [NextCloud](https://github.com/openWB/core/wiki/NextCloud-als-Sicherungs-Cloud-einrichten) +Automatische Sicherungen werden nur ausgeführt, wenn die openWB als **primary** konfiguriert (oder die einzige) ist. +Auf als **secondary** konfigurierten openWBs werden nur manuelle Sicherungen und Sicherungen vor einem Update (falls aktiviert) ausgeführt, da hier keine Arbeitsdaten (Log-Dateien) zu sichern sind. + +Folgende Anbieter werden unterstützt: + +* [Nextcloud](https://github.com/openWB/core/wiki/NextCloud-als-Sicherungs-Cloud-einrichten) * [Samba](https://github.com/openWB/core/wiki/Samba-als-Sicherung-einrichten) diff --git a/docs/Einstellungs-Seite erstellen.md b/docs/Einstellungs-Seite erstellen.md index 70cab3337b..776e5a6c85 100644 --- a/docs/Einstellungs-Seite erstellen.md +++ b/docs/Einstellungs-Seite erstellen.md @@ -5,20 +5,28 @@ Die Installation des GUI-Repositories ist in eben diesem beschrieben: [openwb-ui Die Auswahllisten werden dynamisch erzeugt. Damit euer Element darin enthalten ist, muss im entsprechenden Ordner im Core-Repo eine config.py-Datei wie in den Samples beschrieben enthalten sein. Wenn keine Einstellungsseiten in vue hinterlegt sind, sind die Einstellungen als json-Objekt editierbar. Dies ist für einen PR im Core-Repo ausreichend. Wie Ihr auch einen PR im GUI-Repo für die Einstellungen erstellen könnt, erklären wir Euch hier am Beispiel eines Fahrzeugs: ### Einstellungen erzeugen + Im Ordner src/components des GUI-Repos legt Ihr im Ordner `vehicles` einen neuen Ordner `sample` an. Dort hinein kopiert Ihr die Vorlage aus dem Ordner [samples_gui](https://github.com/openWB/core/tree/master/docs/samples/samples_gui) und ersetzt sample durch den Namen eures neuen Fahrzeugs. Bitte auf die Groß- und Kleinschreibung achten. Nun müssen noch Frames für einzelnen Einstellungen ergänzt werden. Dafür könnt Ihr euch entweder an den bereits existierenden Modulen orientieren oder die Beispiele nutzen, die Ihr euch im GUI unter Einstellungen -> Beispiele anschauen könnt. Die Frames findet Ihr [hier](https://github.com/openWB/openwb-ui-settings/blob/main/src/views/TestingStore.vue). -`:model-value="$store.state.examples.text3"` -`@update:model-value="updateState('text3', $event)"` -Diese beiden Zeilen gibt es in jedem Frame. Die erste Zeile gibt den Wert an, der vom Broker gelesen werden soll. Die zweite den Wert, der aktualisiert werden soll. -Für die Einstellungen müssen die Zeilen immer so aussehen: -`:model-value="configuration.sample"` -`@update:model-value="updateConfiguration($event, 'configuration.sample')` +```javascript +:model-value="$store.state.examples.text3" +@update:model-value="updateState('text3', $event)" +``` + +Diese beiden Zeilen gibt es in jedem Frame. Die erste Zeile gibt den Wert an, der vom Broker gelesen werden soll. Die zweite den Wert, der aktualisiert werden soll. +Für die Einstellungen müssen die Zeilen immer so aussehen: + +```javascript +:model-value="configuration.sample" +@update:model-value="updateConfiguration($event, 'configuration.sample') +``` Dann werden die Einstellungen automatisch dem richtigen Topic im Broker zugeordnet. Wichtig ist, dass sample immer genau so heißt, wie die Einstellung in der config.py. Nach dem Tag ` diff --git a/packages/modules/display_themes/colors/source/src/components/powerMeter/PowerMeter.vue b/packages/modules/display_themes/colors/source/src/components/powerMeter/PowerMeter.vue index c6903317b1..497beb00e0 100755 --- a/packages/modules/display_themes/colors/source/src/components/powerMeter/PowerMeter.vue +++ b/packages/modules/display_themes/colors/source/src/components/powerMeter/PowerMeter.vue @@ -1,153 +1,155 @@ diff --git a/packages/modules/display_themes/colors/web/assets/index-Bz5z-jvD.css b/packages/modules/display_themes/colors/web/assets/index-Bz5z-jvD.css deleted file mode 100644 index 954b4a920d..0000000000 --- a/packages/modules/display_themes/colors/web/assets/index-Bz5z-jvD.css +++ /dev/null @@ -1,9 +0,0 @@ -@charset "UTF-8";.displaybutton[data-v-d2ce91a5]{border:.1px solid var(--color-frame);padding:8px;align-self:top;box-shadow:1px 3px #000;font-weight:700;font-size:var(--font-small)}.navigation[data-v-126005ae]{display:flex;justify-content:space-between;padding:2px 20px;align-items:center;border-top:0px solid var(--color-menu);border-bottom:0px solid var(--color-menu)}.timedisplay[data-v-126005ae]{font-size:var(--font-medium);font-weight:700;color:var(--color-input);margin-right:12px}.navbar[data-v-126005ae]{background-color:var(--color-bg);color:var(--color-fg);font-size:var(--font-normal)}.graphbuttons[data-v-126005ae]{display:flex;justify-content:left;align-items:center;gap:5px}.cpbuttons[data-v-126005ae]{display:flex;justify-content:left;gap:5px}.dropdown-menu[data-v-126005ae]{background-color:var(--color-bg);color:var(--color-fg)}.dropdown-item[data-v-126005ae]{background-color:var(--color-bg);color:var(--color-fg);font-size:var(--font-normal)}.btn[data-v-126005ae]{font-size:var(--font-medium);background-color:var(--color-bg);color:var(--color-fg)}.navbar-brand[data-v-126005ae]{font-weight:700;color:var(--color-fg);font-size:var(--font-normal)}.nav-link[data-v-126005ae]{color:var(--color-fg);border-color:red;font-size:var(--font-normal)}.navbar-toggler[data-v-126005ae]{color:var(--color-fg);border-color:var(--color-bg)}.navbar-time[data-v-126005ae]{font-weight:700;color:var(--color-menu);font-size:var(--font-normal)}.radiobutton[data-v-60f5d4c2]{border:0px solid var(--color-menu);opacity:1;font-size:var(--font-chargebutton)}.btn-outline-secondary.active[data-v-60f5d4c2]{background-color:var(--color-bg);border:0px solid var(--color-fg);opacity:.8}.btn-group[data-v-60f5d4c2]{border:.1px solid var(--color-menu);box-shadow:1px 3px #000}.rounded-pill[data-v-7fd067cd]{background-color:var(--color-menu)}.arrowButton[data-v-7fd067cd]{border:0}.datebadge[data-v-7fd067cd]{background-color:var(--color-bg);color:var(--color-menu);border:1px solid var(--color-menu);font-size:var(--font-small);font-weight:400}.arrowButton[data-v-7fd067cd],.fa-magnifying-glass[data-v-c850f90a]{color:var(--color-menu)}.datebadge[data-v-c850f90a]{background-color:var(--color-menu);color:var(--color-bg);font-size:var(--font-medium);font-weight:400}.modal-content[data-v-dff8d7c2]{background-color:var(--color-bg);border-color:var(--color-menu);box-shadow:3px 5px #000}.modal-footer[data-v-dff8d7c2],.modal-header[data-v-dff8d7c2],.modal-body[data-v-dff8d7c2]{background-color:var(--color-bg);color:var(--color-fg)}.modal-body[data-v-dff8d7c2]{border-color:var(--color-fg)}.modal-footer[data-v-dff8d7c2]{text-align:right}.modal-header .btn-close[data-v-dff8d7c2]{color:var(--color-fg);background-color:var(--color-bg);border:0px}.modal-title[data-v-dff8d7c2]{color:var(--color-fg)}.closebutton[data-v-dff8d7c2]{background:var(--color-fg)}.modal.fade .modal-dialog[data-v-dff8d7c2]{transition:transform 1s ease-out;transform:none;scale:.6}.modal.show .modal-dialog[data-v-dff8d7c2]{transition:transform .3s ease-in;transform:none;scale:1}.fa-circle-check[data-v-dff8d7c2]{color:var(--color-fg)}.padbutton[data-v-cc256a6f]{display:flex;align-items:center;justify-content:center;border-radius:50%;border:.1px dotted var(--color-menu);box-shadow:1px 3px #000}.digit[data-v-cc256a6f]{font-size:24px;font-weight:700;text-align:center;align-self:center;justify-self:center;display:flex}.numberpad[data-v-63c8fa5c]{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:var(--color-bg)}.codedisplay[data-v-63c8fa5c]{display:flex;align-items:center;justify-content:center;font-size:24px;border:10px;color:var(--color-fg)}.numberentry[data-v-63c8fa5c]{display:grid;grid-template-columns:60px 60px 60px;grid-template-rows:65px 65px 65px 65px;grid-gap:5px}.statustable[data-v-6a182015]{display:grid;grid-template-columns:35% 65%;font-size:16px;color:#fff}.header[data-v-6a182015]{color:var(--color-fg)}.infotext[data-v-42847ded]{font-size:var(--font-settings);color:var(--color-battery)}.item-icon[data-v-42847ded]{color:var(--color-charging);font-size:var(--font-settings)}.titlecolumn[data-v-42847ded]{color:var(--color-bg);font-size:var(--font-settings)}.selectors[data-v-42847ded]{font-size:var(--font-settings)}.configitem[data-v-42847ded]{font-size:var(--font-settings);align-items:center;justify-content:space-between}.radiobutton[data-v-005a14a9]{border:.5px solid var(--color-fg);opacity:.5;font-size:14px}.btn-outline-secondary[data-v-005a14a9]{background-color:var(--color-bg)}.btn-outline-secondary.active[data-v-005a14a9]{background-color:var(--color-bg);border:1px solid var(--color-fg);box-shadow:0 .5rem 1rem #fff;font-weight:700;opacity:1}.minlabel[data-v-17a828b1],.maxlabel[data-v-17a828b1]{color:var(--color-menu)}.valuelabel[data-v-17a828b1]{color:var(--color-fg)}.minusButton[data-v-17a828b1],.plusButton[data-v-17a828b1]{color:var(--color-menu)}.chargeConfigSelect[data-v-d0d53120]{background:var(--color-bg);color:var(--color-fg)}.heading[data-v-d0d53120]{color:var(--color-fg);font-size:var(--font-settings);font-weight:700}.chargeConfigSelect[data-v-826c4d0e]{background:var(--color-bg);color:var(--color-fg)}.heading[data-v-826c4d0e]{color:var(--color-pv)}.settingslist[data-v-2b0c724c]{display:grid;grid-template-columns:repeat(12,1fr);font-size:16px;color:var(--color-fg);background-color:var(--color-bg)}.nav-link[data-v-2b0c724c]{font-size:var(--font-settings);color:var(--color-fg)}.fa-bolt[data-v-2b0c724c]{color:var(--color-charging)}.fa-charging-station[data-v-2b0c724c]{color:var(--color-fg)}.fa-solar-panel[data-v-2b0c724c]{color:var(--color-pv)}.heading[data-v-9215fd9b]{color:var(--color-menu);font-weight:400;text-align:center}.content[data-v-9215fd9b]{color:var(--color-fg);font-weight:700}.batIcon[data-v-fc156cd3]{color:var(--color-menu)}.fa-star[data-v-96742d03]{color:var(--color-evu)}.fa-clock[data-v-96742d03]{color:var(--color-battery)}.fa-car[data-v-96742d03],.fa-ellipsis-vertical[data-v-96742d03],.fa-circle-check[data-v-96742d03]{color:var(--color-menu)}.fa-coins[data-v-96742d03]{color:var(--color-battery)}.fa-edit[data-v-96742d03]{color:var(--color-menu)}.socEditor[data-v-96742d03]{border:1px solid var(--color-menu);justify-self:stretch}.targetCurrent[data-v-96742d03]{color:var(--color-menu)}.priceEditor[data-v-96742d03]{border:1px solid var(--color-menu);justify-self:stretch}.chargemodes[data-v-96742d03]{grid-column:1 / 13;justify-self:center}.chargeinfo[data-v-96742d03]{display:grid;grid-template-columns:repeat(12,auto);justify-content:space-between}.settingsbutton[data-v-96742d03]{border-radius:30%}.content[data-v-0fe8554c]{display:grid;grid-template-columns:380px 420px;grid-template-rows:430px;overflow:hidden;min-width:0px}.leftside[data-v-0fe8554c],.rightside[data-v-0fe8554c]{min-width:0px;overflow:hidden}.settingstitle[data-v-0fe8554c],.statustitle[data-v-0fe8554c]{color:var(--color-fg)}.fa{font-family:var(--fa-style-family, "Font Awesome 6 Free");font-weight:var(--fa-style, 900)}.fa,.fa-brands,.fa-duotone,.fa-light,.fa-regular,.fa-solid,.fa-thin,.fab,.fad,.fal,.far,.fas,.fat{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display, inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin, 2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width, 2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius, .1em);border:var(--fa-border-width, .08em) var(--fa-border-style, solid) var(--fa-border-color, #eee);padding:var(--fa-border-padding, .2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin, .3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin, .3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.28, .84, .42, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.28, .84, .42, 1) )}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) )}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) )}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration, 2s);animation-duration:var(--fa-animation-duration, 2s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-spin-reverse{--fa-animation-direction: reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, steps(8));animation-timing-function:var(--fa-animation-timing, steps(8))}@media (prefers-reduced-motion: reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;transition-delay:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, .4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, .4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, .4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, .4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle, none));transform:rotate(var(--fa-rotate-angle, none))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%;z-index:var(--fa-stack-z-index, auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse, #fff)}.fa-0:before{content:"0"}.fa-1:before{content:"1"}.fa-2:before{content:"2"}.fa-3:before{content:"3"}.fa-4:before{content:"4"}.fa-5:before{content:"5"}.fa-6:before{content:"6"}.fa-7:before{content:"7"}.fa-8:before{content:"8"}.fa-9:before{content:"9"}.fa-a:before{content:"A"}.fa-address-book:before,.fa-contact-book:before{content:""}.fa-address-card:before,.fa-contact-card:before,.fa-vcard:before{content:""}.fa-align-center:before{content:""}.fa-align-justify:before{content:""}.fa-align-left:before{content:""}.fa-align-right:before{content:""}.fa-anchor:before{content:""}.fa-angle-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-double-down:before,.fa-angles-down:before{content:""}.fa-angle-double-left:before,.fa-angles-left:before{content:""}.fa-angle-double-right:before,.fa-angles-right:before{content:""}.fa-angle-double-up:before,.fa-angles-up:before{content:""}.fa-ankh:before{content:""}.fa-apple-alt:before,.fa-apple-whole:before{content:""}.fa-archway:before{content:""}.fa-arrow-down:before{content:""}.fa-arrow-down-1-9:before,.fa-sort-numeric-asc:before,.fa-sort-numeric-down:before{content:""}.fa-arrow-down-9-1:before,.fa-sort-numeric-desc:before,.fa-sort-numeric-down-alt:before{content:""}.fa-arrow-down-a-z:before,.fa-sort-alpha-asc:before,.fa-sort-alpha-down:before{content:""}.fa-arrow-down-long:before,.fa-long-arrow-down:before{content:""}.fa-arrow-down-short-wide:before,.fa-sort-amount-desc:before,.fa-sort-amount-down-alt:before{content:""}.fa-arrow-down-wide-short:before,.fa-sort-amount-asc:before,.fa-sort-amount-down:before{content:""}.fa-arrow-down-z-a:before,.fa-sort-alpha-desc:before,.fa-sort-alpha-down-alt:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-left-long:before,.fa-long-arrow-left:before{content:""}.fa-arrow-pointer:before,.fa-mouse-pointer:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-right-arrow-left:before,.fa-exchange:before{content:""}.fa-arrow-right-from-bracket:before,.fa-sign-out:before{content:""}.fa-arrow-right-long:before,.fa-long-arrow-right:before{content:""}.fa-arrow-right-to-bracket:before,.fa-sign-in:before{content:""}.fa-arrow-left-rotate:before,.fa-arrow-rotate-back:before,.fa-arrow-rotate-backward:before,.fa-arrow-rotate-left:before,.fa-undo:before{content:""}.fa-arrow-right-rotate:before,.fa-arrow-rotate-forward:before,.fa-arrow-rotate-right:before,.fa-redo:before{content:""}.fa-arrow-trend-down:before{content:""}.fa-arrow-trend-up:before{content:""}.fa-arrow-turn-down:before,.fa-level-down:before{content:""}.fa-arrow-turn-up:before,.fa-level-up:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-up-1-9:before,.fa-sort-numeric-up:before{content:""}.fa-arrow-up-9-1:before,.fa-sort-numeric-up-alt:before{content:""}.fa-arrow-up-a-z:before,.fa-sort-alpha-up:before{content:""}.fa-arrow-up-from-bracket:before{content:""}.fa-arrow-up-long:before,.fa-long-arrow-up:before{content:""}.fa-arrow-up-right-from-square:before,.fa-external-link:before{content:""}.fa-arrow-up-short-wide:before,.fa-sort-amount-up-alt:before{content:""}.fa-arrow-up-wide-short:before,.fa-sort-amount-up:before{content:""}.fa-arrow-up-z-a:before,.fa-sort-alpha-up-alt:before{content:""}.fa-arrows-h:before,.fa-arrows-left-right:before{content:""}.fa-arrows-rotate:before,.fa-refresh:before,.fa-sync:before{content:""}.fa-arrows-up-down:before,.fa-arrows-v:before{content:""}.fa-arrows-up-down-left-right:before,.fa-arrows:before{content:""}.fa-asterisk:before{content:"*"}.fa-at:before{content:"@"}.fa-atom:before{content:""}.fa-audio-description:before{content:""}.fa-austral-sign:before{content:""}.fa-award:before{content:""}.fa-b:before{content:"B"}.fa-baby:before{content:""}.fa-baby-carriage:before,.fa-carriage-baby:before{content:""}.fa-backward:before{content:""}.fa-backward-fast:before,.fa-fast-backward:before{content:""}.fa-backward-step:before,.fa-step-backward:before{content:""}.fa-bacon:before{content:""}.fa-bacteria:before{content:""}.fa-bacterium:before{content:""}.fa-bag-shopping:before,.fa-shopping-bag:before{content:""}.fa-bahai:before{content:""}.fa-baht-sign:before{content:""}.fa-ban:before,.fa-cancel:before{content:""}.fa-ban-smoking:before,.fa-smoking-ban:before{content:""}.fa-band-aid:before,.fa-bandage:before{content:""}.fa-barcode:before{content:""}.fa-bars:before,.fa-navicon:before{content:""}.fa-bars-progress:before,.fa-tasks-alt:before{content:""}.fa-bars-staggered:before,.fa-reorder:before,.fa-stream:before{content:""}.fa-baseball-ball:before,.fa-baseball:before{content:""}.fa-baseball-bat-ball:before{content:""}.fa-basket-shopping:before,.fa-shopping-basket:before{content:""}.fa-basketball-ball:before,.fa-basketball:before{content:""}.fa-bath:before,.fa-bathtub:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-battery-5:before,.fa-battery-full:before,.fa-battery:before{content:""}.fa-battery-3:before,.fa-battery-half:before{content:""}.fa-battery-2:before,.fa-battery-quarter:before{content:""}.fa-battery-4:before,.fa-battery-three-quarters:before{content:""}.fa-bed:before{content:""}.fa-bed-pulse:before,.fa-procedures:before{content:""}.fa-beer-mug-empty:before,.fa-beer:before{content:""}.fa-bell:before{content:""}.fa-bell-concierge:before,.fa-concierge-bell:before{content:""}.fa-bell-slash:before{content:""}.fa-bezier-curve:before{content:""}.fa-bicycle:before{content:""}.fa-binoculars:before{content:""}.fa-biohazard:before{content:""}.fa-bitcoin-sign:before{content:""}.fa-blender:before{content:""}.fa-blender-phone:before{content:""}.fa-blog:before{content:""}.fa-bold:before{content:""}.fa-bolt:before,.fa-zap:before{content:""}.fa-bolt-lightning:before{content:""}.fa-bomb:before{content:""}.fa-bone:before{content:""}.fa-bong:before{content:""}.fa-book:before{content:""}.fa-atlas:before,.fa-book-atlas:before{content:""}.fa-bible:before,.fa-book-bible:before{content:""}.fa-book-journal-whills:before,.fa-journal-whills:before{content:""}.fa-book-medical:before{content:""}.fa-book-open:before{content:""}.fa-book-open-reader:before,.fa-book-reader:before{content:""}.fa-book-quran:before,.fa-quran:before{content:""}.fa-book-dead:before,.fa-book-skull:before{content:""}.fa-bookmark:before{content:""}.fa-border-all:before{content:""}.fa-border-none:before{content:""}.fa-border-style:before,.fa-border-top-left:before{content:""}.fa-bowling-ball:before{content:""}.fa-box:before{content:""}.fa-archive:before,.fa-box-archive:before{content:""}.fa-box-open:before{content:""}.fa-box-tissue:before{content:""}.fa-boxes-alt:before,.fa-boxes-stacked:before,.fa-boxes:before{content:""}.fa-braille:before{content:""}.fa-brain:before{content:""}.fa-brazilian-real-sign:before{content:""}.fa-bread-slice:before{content:""}.fa-briefcase:before{content:""}.fa-briefcase-medical:before{content:""}.fa-broom:before{content:""}.fa-broom-ball:before,.fa-quidditch-broom-ball:before,.fa-quidditch:before{content:""}.fa-brush:before{content:""}.fa-bug:before{content:""}.fa-bug-slash:before{content:""}.fa-building:before{content:""}.fa-bank:before,.fa-building-columns:before,.fa-institution:before,.fa-museum:before,.fa-university:before{content:""}.fa-bullhorn:before{content:""}.fa-bullseye:before{content:""}.fa-burger:before,.fa-hamburger:before{content:""}.fa-bus:before{content:""}.fa-bus-alt:before,.fa-bus-simple:before{content:""}.fa-briefcase-clock:before,.fa-business-time:before{content:""}.fa-c:before{content:"C"}.fa-birthday-cake:before,.fa-cake-candles:before,.fa-cake:before{content:""}.fa-calculator:before{content:""}.fa-calendar:before{content:""}.fa-calendar-check:before{content:""}.fa-calendar-day:before{content:""}.fa-calendar-alt:before,.fa-calendar-days:before{content:""}.fa-calendar-minus:before{content:""}.fa-calendar-plus:before{content:""}.fa-calendar-week:before{content:""}.fa-calendar-times:before,.fa-calendar-xmark:before{content:""}.fa-camera-alt:before,.fa-camera:before{content:""}.fa-camera-retro:before{content:""}.fa-camera-rotate:before{content:""}.fa-campground:before{content:""}.fa-candy-cane:before{content:""}.fa-cannabis:before{content:""}.fa-capsules:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-battery-car:before,.fa-car-battery:before{content:""}.fa-car-crash:before{content:""}.fa-car-alt:before,.fa-car-rear:before{content:""}.fa-car-side:before{content:""}.fa-caravan:before{content:""}.fa-caret-down:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-caret-up:before{content:""}.fa-carrot:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-cart-flatbed:before,.fa-dolly-flatbed:before{content:""}.fa-cart-flatbed-suitcase:before,.fa-luggage-cart:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-shopping:before,.fa-shopping-cart:before{content:""}.fa-cash-register:before{content:""}.fa-cat:before{content:""}.fa-cedi-sign:before{content:""}.fa-cent-sign:before{content:""}.fa-certificate:before{content:""}.fa-chair:before{content:""}.fa-blackboard:before,.fa-chalkboard:before{content:""}.fa-chalkboard-teacher:before,.fa-chalkboard-user:before{content:""}.fa-champagne-glasses:before,.fa-glass-cheers:before{content:""}.fa-charging-station:before{content:""}.fa-area-chart:before,.fa-chart-area:before{content:""}.fa-bar-chart:before,.fa-chart-bar:before{content:""}.fa-chart-column:before{content:""}.fa-chart-gantt:before{content:""}.fa-chart-line:before,.fa-line-chart:before{content:""}.fa-chart-pie:before,.fa-pie-chart:before{content:""}.fa-check:before{content:""}.fa-check-double:before{content:""}.fa-check-to-slot:before,.fa-vote-yea:before{content:""}.fa-cheese:before{content:""}.fa-chess:before{content:""}.fa-chess-bishop:before{content:""}.fa-chess-board:before{content:""}.fa-chess-king:before{content:""}.fa-chess-knight:before{content:""}.fa-chess-pawn:before{content:""}.fa-chess-queen:before{content:""}.fa-chess-rook:before{content:""}.fa-chevron-down:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-chevron-up:before{content:""}.fa-child:before{content:""}.fa-church:before{content:""}.fa-circle:before{content:""}.fa-arrow-circle-down:before,.fa-circle-arrow-down:before{content:""}.fa-arrow-circle-left:before,.fa-circle-arrow-left:before{content:""}.fa-arrow-circle-right:before,.fa-circle-arrow-right:before{content:""}.fa-arrow-circle-up:before,.fa-circle-arrow-up:before{content:""}.fa-check-circle:before,.fa-circle-check:before{content:""}.fa-chevron-circle-down:before,.fa-circle-chevron-down:before{content:""}.fa-chevron-circle-left:before,.fa-circle-chevron-left:before{content:""}.fa-chevron-circle-right:before,.fa-circle-chevron-right:before{content:""}.fa-chevron-circle-up:before,.fa-circle-chevron-up:before{content:""}.fa-circle-dollar-to-slot:before,.fa-donate:before{content:""}.fa-circle-dot:before,.fa-dot-circle:before{content:""}.fa-arrow-alt-circle-down:before,.fa-circle-down:before{content:""}.fa-circle-exclamation:before,.fa-exclamation-circle:before{content:""}.fa-circle-h:before,.fa-hospital-symbol:before{content:""}.fa-adjust:before,.fa-circle-half-stroke:before{content:""}.fa-circle-info:before,.fa-info-circle:before{content:""}.fa-arrow-alt-circle-left:before,.fa-circle-left:before{content:""}.fa-circle-minus:before,.fa-minus-circle:before{content:""}.fa-circle-notch:before{content:""}.fa-circle-pause:before,.fa-pause-circle:before{content:""}.fa-circle-play:before,.fa-play-circle:before{content:""}.fa-circle-plus:before,.fa-plus-circle:before{content:""}.fa-circle-question:before,.fa-question-circle:before{content:""}.fa-circle-radiation:before,.fa-radiation-alt:before{content:""}.fa-arrow-alt-circle-right:before,.fa-circle-right:before{content:""}.fa-circle-stop:before,.fa-stop-circle:before{content:""}.fa-arrow-alt-circle-up:before,.fa-circle-up:before{content:""}.fa-circle-user:before,.fa-user-circle:before{content:""}.fa-circle-xmark:before,.fa-times-circle:before,.fa-xmark-circle:before{content:""}.fa-city:before{content:""}.fa-clapperboard:before{content:""}.fa-clipboard:before{content:""}.fa-clipboard-check:before{content:""}.fa-clipboard-list:before{content:""}.fa-clock-four:before,.fa-clock:before{content:""}.fa-clock-rotate-left:before,.fa-history:before{content:""}.fa-clone:before{content:""}.fa-closed-captioning:before{content:""}.fa-cloud:before{content:""}.fa-cloud-arrow-down:before,.fa-cloud-download-alt:before,.fa-cloud-download:before{content:""}.fa-cloud-arrow-up:before,.fa-cloud-upload-alt:before,.fa-cloud-upload:before{content:""}.fa-cloud-meatball:before{content:""}.fa-cloud-moon:before{content:""}.fa-cloud-moon-rain:before{content:""}.fa-cloud-rain:before{content:""}.fa-cloud-showers-heavy:before{content:""}.fa-cloud-sun:before{content:""}.fa-cloud-sun-rain:before{content:""}.fa-clover:before{content:""}.fa-code:before{content:""}.fa-code-branch:before{content:""}.fa-code-commit:before{content:""}.fa-code-compare:before{content:""}.fa-code-fork:before{content:""}.fa-code-merge:before{content:""}.fa-code-pull-request:before{content:""}.fa-coins:before{content:""}.fa-colon-sign:before{content:""}.fa-comment:before{content:""}.fa-comment-dollar:before{content:""}.fa-comment-dots:before,.fa-commenting:before{content:""}.fa-comment-medical:before{content:""}.fa-comment-slash:before{content:""}.fa-comment-sms:before,.fa-sms:before{content:""}.fa-comments:before{content:""}.fa-comments-dollar:before{content:""}.fa-compact-disc:before{content:""}.fa-compass:before{content:""}.fa-compass-drafting:before,.fa-drafting-compass:before{content:""}.fa-compress:before{content:""}.fa-computer-mouse:before,.fa-mouse:before{content:""}.fa-cookie:before{content:""}.fa-cookie-bite:before{content:""}.fa-copy:before{content:""}.fa-copyright:before{content:""}.fa-couch:before{content:""}.fa-credit-card-alt:before,.fa-credit-card:before{content:""}.fa-crop:before{content:""}.fa-crop-alt:before,.fa-crop-simple:before{content:""}.fa-cross:before{content:""}.fa-crosshairs:before{content:""}.fa-crow:before{content:""}.fa-crown:before{content:""}.fa-crutch:before{content:""}.fa-cruzeiro-sign:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-d:before{content:"D"}.fa-database:before{content:""}.fa-backspace:before,.fa-delete-left:before{content:""}.fa-democrat:before{content:""}.fa-desktop-alt:before,.fa-desktop:before{content:""}.fa-dharmachakra:before{content:""}.fa-diagram-next:before{content:""}.fa-diagram-predecessor:before{content:""}.fa-diagram-project:before,.fa-project-diagram:before{content:""}.fa-diagram-successor:before{content:""}.fa-diamond:before{content:""}.fa-diamond-turn-right:before,.fa-directions:before{content:""}.fa-dice:before{content:""}.fa-dice-d20:before{content:""}.fa-dice-d6:before{content:""}.fa-dice-five:before{content:""}.fa-dice-four:before{content:""}.fa-dice-one:before{content:""}.fa-dice-six:before{content:""}.fa-dice-three:before{content:""}.fa-dice-two:before{content:""}.fa-disease:before{content:""}.fa-divide:before{content:""}.fa-dna:before{content:""}.fa-dog:before{content:""}.fa-dollar-sign:before,.fa-dollar:before,.fa-usd:before{content:"$"}.fa-dolly-box:before,.fa-dolly:before{content:""}.fa-dong-sign:before{content:""}.fa-door-closed:before{content:""}.fa-door-open:before{content:""}.fa-dove:before{content:""}.fa-compress-alt:before,.fa-down-left-and-up-right-to-center:before{content:""}.fa-down-long:before,.fa-long-arrow-alt-down:before{content:""}.fa-download:before{content:""}.fa-dragon:before{content:""}.fa-draw-polygon:before{content:""}.fa-droplet:before,.fa-tint:before{content:""}.fa-droplet-slash:before,.fa-tint-slash:before{content:""}.fa-drum:before{content:""}.fa-drum-steelpan:before{content:""}.fa-drumstick-bite:before{content:""}.fa-dumbbell:before{content:""}.fa-dumpster:before{content:""}.fa-dumpster-fire:before{content:""}.fa-dungeon:before{content:""}.fa-e:before{content:"E"}.fa-deaf:before,.fa-deafness:before,.fa-ear-deaf:before,.fa-hard-of-hearing:before{content:""}.fa-assistive-listening-systems:before,.fa-ear-listen:before{content:""}.fa-earth-africa:before,.fa-globe-africa:before{content:""}.fa-earth-america:before,.fa-earth-americas:before,.fa-earth:before,.fa-globe-americas:before{content:""}.fa-earth-asia:before,.fa-globe-asia:before{content:""}.fa-earth-europe:before,.fa-globe-europe:before{content:""}.fa-earth-oceania:before,.fa-globe-oceania:before{content:""}.fa-egg:before{content:""}.fa-eject:before{content:""}.fa-elevator:before{content:""}.fa-ellipsis-h:before,.fa-ellipsis:before{content:""}.fa-ellipsis-v:before,.fa-ellipsis-vertical:before{content:""}.fa-envelope:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-text:before{content:""}.fa-envelopes-bulk:before,.fa-mail-bulk:before{content:""}.fa-equals:before{content:"="}.fa-eraser:before{content:""}.fa-ethernet:before{content:""}.fa-eur:before,.fa-euro-sign:before,.fa-euro:before{content:""}.fa-exclamation:before{content:"!"}.fa-expand:before{content:""}.fa-eye:before{content:""}.fa-eye-dropper-empty:before,.fa-eye-dropper:before,.fa-eyedropper:before{content:""}.fa-eye-low-vision:before,.fa-low-vision:before{content:""}.fa-eye-slash:before{content:""}.fa-f:before{content:"F"}.fa-angry:before,.fa-face-angry:before{content:""}.fa-dizzy:before,.fa-face-dizzy:before{content:""}.fa-face-flushed:before,.fa-flushed:before{content:""}.fa-face-frown:before,.fa-frown:before{content:""}.fa-face-frown-open:before,.fa-frown-open:before{content:""}.fa-face-grimace:before,.fa-grimace:before{content:""}.fa-face-grin:before,.fa-grin:before{content:""}.fa-face-grin-beam:before,.fa-grin-beam:before{content:""}.fa-face-grin-beam-sweat:before,.fa-grin-beam-sweat:before{content:""}.fa-face-grin-hearts:before,.fa-grin-hearts:before{content:""}.fa-face-grin-squint:before,.fa-grin-squint:before{content:""}.fa-face-grin-squint-tears:before,.fa-grin-squint-tears:before{content:""}.fa-face-grin-stars:before,.fa-grin-stars:before{content:""}.fa-face-grin-tears:before,.fa-grin-tears:before{content:""}.fa-face-grin-tongue:before,.fa-grin-tongue:before{content:""}.fa-face-grin-tongue-squint:before,.fa-grin-tongue-squint:before{content:""}.fa-face-grin-tongue-wink:before,.fa-grin-tongue-wink:before{content:""}.fa-face-grin-wide:before,.fa-grin-alt:before{content:""}.fa-face-grin-wink:before,.fa-grin-wink:before{content:""}.fa-face-kiss:before,.fa-kiss:before{content:""}.fa-face-kiss-beam:before,.fa-kiss-beam:before{content:""}.fa-face-kiss-wink-heart:before,.fa-kiss-wink-heart:before{content:""}.fa-face-laugh:before,.fa-laugh:before{content:""}.fa-face-laugh-beam:before,.fa-laugh-beam:before{content:""}.fa-face-laugh-squint:before,.fa-laugh-squint:before{content:""}.fa-face-laugh-wink:before,.fa-laugh-wink:before{content:""}.fa-face-meh:before,.fa-meh:before{content:""}.fa-face-meh-blank:before,.fa-meh-blank:before{content:""}.fa-face-rolling-eyes:before,.fa-meh-rolling-eyes:before{content:""}.fa-face-sad-cry:before,.fa-sad-cry:before{content:""}.fa-face-sad-tear:before,.fa-sad-tear:before{content:""}.fa-face-smile:before,.fa-smile:before{content:""}.fa-face-smile-beam:before,.fa-smile-beam:before{content:""}.fa-face-smile-wink:before,.fa-smile-wink:before{content:""}.fa-face-surprise:before,.fa-surprise:before{content:""}.fa-face-tired:before,.fa-tired:before{content:""}.fa-fan:before{content:""}.fa-faucet:before{content:""}.fa-fax:before{content:""}.fa-feather:before{content:""}.fa-feather-alt:before,.fa-feather-pointed:before{content:""}.fa-file:before{content:""}.fa-file-arrow-down:before,.fa-file-download:before{content:""}.fa-file-arrow-up:before,.fa-file-upload:before{content:""}.fa-file-audio:before{content:""}.fa-file-code:before{content:""}.fa-file-contract:before{content:""}.fa-file-csv:before{content:""}.fa-file-excel:before{content:""}.fa-arrow-right-from-file:before,.fa-file-export:before{content:""}.fa-file-image:before{content:""}.fa-arrow-right-to-file:before,.fa-file-import:before{content:""}.fa-file-invoice:before{content:""}.fa-file-invoice-dollar:before{content:""}.fa-file-alt:before,.fa-file-lines:before,.fa-file-text:before{content:""}.fa-file-medical:before{content:""}.fa-file-pdf:before{content:""}.fa-file-powerpoint:before{content:""}.fa-file-prescription:before{content:""}.fa-file-signature:before{content:""}.fa-file-video:before{content:""}.fa-file-medical-alt:before,.fa-file-waveform:before{content:""}.fa-file-word:before{content:""}.fa-file-archive:before,.fa-file-zipper:before{content:""}.fa-fill:before{content:""}.fa-fill-drip:before{content:""}.fa-film:before{content:""}.fa-filter:before{content:""}.fa-filter-circle-dollar:before,.fa-funnel-dollar:before{content:""}.fa-filter-circle-xmark:before{content:""}.fa-fingerprint:before{content:""}.fa-fire:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-fire-alt:before,.fa-fire-flame-curved:before{content:""}.fa-burn:before,.fa-fire-flame-simple:before{content:""}.fa-fish:before{content:""}.fa-flag:before{content:""}.fa-flag-checkered:before{content:""}.fa-flag-usa:before{content:""}.fa-flask:before{content:""}.fa-floppy-disk:before,.fa-save:before{content:""}.fa-florin-sign:before{content:""}.fa-folder:before{content:""}.fa-folder-minus:before{content:""}.fa-folder-open:before{content:""}.fa-folder-plus:before{content:""}.fa-folder-tree:before{content:""}.fa-font:before{content:""}.fa-football-ball:before,.fa-football:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before,.fa-forward-fast:before{content:""}.fa-forward-step:before,.fa-step-forward:before{content:""}.fa-franc-sign:before{content:""}.fa-frog:before{content:""}.fa-futbol-ball:before,.fa-futbol:before,.fa-soccer-ball:before{content:""}.fa-g:before{content:"G"}.fa-gamepad:before{content:""}.fa-gas-pump:before{content:""}.fa-dashboard:before,.fa-gauge-med:before,.fa-gauge:before,.fa-tachometer-alt-average:before{content:""}.fa-gauge-high:before,.fa-tachometer-alt-fast:before,.fa-tachometer-alt:before{content:""}.fa-gauge-simple-med:before,.fa-gauge-simple:before,.fa-tachometer-average:before{content:""}.fa-gauge-simple-high:before,.fa-tachometer-fast:before,.fa-tachometer:before{content:""}.fa-gavel:before,.fa-legal:before{content:""}.fa-cog:before,.fa-gear:before{content:""}.fa-cogs:before,.fa-gears:before{content:""}.fa-gem:before{content:""}.fa-genderless:before{content:""}.fa-ghost:before{content:""}.fa-gift:before{content:""}.fa-gifts:before{content:""}.fa-glasses:before{content:""}.fa-globe:before{content:""}.fa-golf-ball-tee:before,.fa-golf-ball:before{content:""}.fa-gopuram:before{content:""}.fa-graduation-cap:before,.fa-mortar-board:before{content:""}.fa-greater-than:before{content:">"}.fa-greater-than-equal:before{content:""}.fa-grip-horizontal:before,.fa-grip:before{content:""}.fa-grip-lines:before{content:""}.fa-grip-lines-vertical:before{content:""}.fa-grip-vertical:before{content:""}.fa-guarani-sign:before{content:""}.fa-guitar:before{content:""}.fa-gun:before{content:""}.fa-h:before{content:"H"}.fa-hammer:before{content:""}.fa-hamsa:before{content:""}.fa-hand-paper:before,.fa-hand:before{content:""}.fa-hand-back-fist:before,.fa-hand-rock:before{content:""}.fa-allergies:before,.fa-hand-dots:before{content:""}.fa-fist-raised:before,.fa-hand-fist:before{content:""}.fa-hand-holding:before{content:""}.fa-hand-holding-dollar:before,.fa-hand-holding-usd:before{content:""}.fa-hand-holding-droplet:before,.fa-hand-holding-water:before{content:""}.fa-hand-holding-heart:before{content:""}.fa-hand-holding-medical:before{content:""}.fa-hand-lizard:before{content:""}.fa-hand-middle-finger:before{content:""}.fa-hand-peace:before{content:""}.fa-hand-point-down:before{content:""}.fa-hand-point-left:before{content:""}.fa-hand-point-right:before{content:""}.fa-hand-point-up:before{content:""}.fa-hand-pointer:before{content:""}.fa-hand-scissors:before{content:""}.fa-hand-sparkles:before{content:""}.fa-hand-spock:before{content:""}.fa-hands:before,.fa-sign-language:before,.fa-signing:before{content:""}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before,.fa-hands-american-sign-language-interpreting:before,.fa-hands-asl-interpreting:before{content:""}.fa-hands-bubbles:before,.fa-hands-wash:before{content:""}.fa-hands-clapping:before{content:""}.fa-hands-holding:before{content:""}.fa-hands-praying:before,.fa-praying-hands:before{content:""}.fa-handshake:before{content:""}.fa-hands-helping:before,.fa-handshake-angle:before{content:""}.fa-handshake-alt-slash:before,.fa-handshake-simple-slash:before{content:""}.fa-handshake-slash:before{content:""}.fa-hanukiah:before{content:""}.fa-hard-drive:before,.fa-hdd:before{content:""}.fa-hashtag:before{content:"#"}.fa-hat-cowboy:before{content:""}.fa-hat-cowboy-side:before{content:""}.fa-hat-wizard:before{content:""}.fa-head-side-cough:before{content:""}.fa-head-side-cough-slash:before{content:""}.fa-head-side-mask:before{content:""}.fa-head-side-virus:before{content:""}.fa-header:before,.fa-heading:before{content:""}.fa-headphones:before{content:""}.fa-headphones-alt:before,.fa-headphones-simple:before{content:""}.fa-headset:before{content:""}.fa-heart:before{content:""}.fa-heart-broken:before,.fa-heart-crack:before{content:""}.fa-heart-pulse:before,.fa-heartbeat:before{content:""}.fa-helicopter:before{content:""}.fa-hard-hat:before,.fa-hat-hard:before,.fa-helmet-safety:before{content:""}.fa-highlighter:before{content:""}.fa-hippo:before{content:""}.fa-hockey-puck:before{content:""}.fa-holly-berry:before{content:""}.fa-horse:before{content:""}.fa-horse-head:before{content:""}.fa-hospital-alt:before,.fa-hospital-wide:before,.fa-hospital:before{content:""}.fa-hospital-user:before{content:""}.fa-hot-tub-person:before,.fa-hot-tub:before{content:""}.fa-hotdog:before{content:""}.fa-hotel:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before,.fa-hourglass:before{content:""}.fa-hourglass-empty:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-home-alt:before,.fa-home-lg-alt:before,.fa-home:before,.fa-house:before{content:""}.fa-home-lg:before,.fa-house-chimney:before{content:""}.fa-house-chimney-crack:before,.fa-house-damage:before{content:""}.fa-clinic-medical:before,.fa-house-chimney-medical:before{content:""}.fa-house-chimney-user:before{content:""}.fa-house-chimney-window:before{content:""}.fa-house-crack:before{content:""}.fa-house-laptop:before,.fa-laptop-house:before{content:""}.fa-house-medical:before{content:""}.fa-home-user:before,.fa-house-user:before{content:""}.fa-hryvnia-sign:before,.fa-hryvnia:before{content:""}.fa-i:before{content:"I"}.fa-i-cursor:before{content:""}.fa-ice-cream:before{content:""}.fa-icicles:before{content:""}.fa-heart-music-camera-bolt:before,.fa-icons:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-id-card-alt:before,.fa-id-card-clip:before{content:""}.fa-igloo:before{content:""}.fa-image:before{content:""}.fa-image-portrait:before,.fa-portrait:before{content:""}.fa-images:before{content:""}.fa-inbox:before{content:""}.fa-indent:before{content:""}.fa-indian-rupee-sign:before,.fa-indian-rupee:before,.fa-inr:before{content:""}.fa-industry:before{content:""}.fa-infinity:before{content:""}.fa-info:before{content:""}.fa-italic:before{content:""}.fa-j:before{content:"J"}.fa-jedi:before{content:""}.fa-fighter-jet:before,.fa-jet-fighter:before{content:""}.fa-joint:before{content:""}.fa-k:before{content:"K"}.fa-kaaba:before{content:""}.fa-key:before{content:""}.fa-keyboard:before{content:""}.fa-khanda:before{content:""}.fa-kip-sign:before{content:""}.fa-first-aid:before,.fa-kit-medical:before{content:""}.fa-kiwi-bird:before{content:""}.fa-l:before{content:"L"}.fa-landmark:before{content:""}.fa-language:before{content:""}.fa-laptop:before{content:""}.fa-laptop-code:before{content:""}.fa-laptop-medical:before{content:""}.fa-lari-sign:before{content:""}.fa-layer-group:before{content:""}.fa-leaf:before{content:""}.fa-left-long:before,.fa-long-arrow-alt-left:before{content:""}.fa-arrows-alt-h:before,.fa-left-right:before{content:""}.fa-lemon:before{content:""}.fa-less-than:before{content:"<"}.fa-less-than-equal:before{content:""}.fa-life-ring:before{content:""}.fa-lightbulb:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-chain-broken:before,.fa-chain-slash:before,.fa-link-slash:before,.fa-unlink:before{content:""}.fa-lira-sign:before{content:""}.fa-list-squares:before,.fa-list:before{content:""}.fa-list-check:before,.fa-tasks:before{content:""}.fa-list-1-2:before,.fa-list-numeric:before,.fa-list-ol:before{content:""}.fa-list-dots:before,.fa-list-ul:before{content:""}.fa-litecoin-sign:before{content:""}.fa-location-arrow:before{content:""}.fa-location-crosshairs:before,.fa-location:before{content:""}.fa-location-dot:before,.fa-map-marker-alt:before{content:""}.fa-location-pin:before,.fa-map-marker:before{content:""}.fa-lock:before{content:""}.fa-lock-open:before{content:""}.fa-lungs:before{content:""}.fa-lungs-virus:before{content:""}.fa-m:before{content:"M"}.fa-magnet:before{content:""}.fa-magnifying-glass:before,.fa-search:before{content:""}.fa-magnifying-glass-dollar:before,.fa-search-dollar:before{content:""}.fa-magnifying-glass-location:before,.fa-search-location:before{content:""}.fa-magnifying-glass-minus:before,.fa-search-minus:before{content:""}.fa-magnifying-glass-plus:before,.fa-search-plus:before{content:""}.fa-manat-sign:before{content:""}.fa-map:before{content:""}.fa-map-location:before,.fa-map-marked:before{content:""}.fa-map-location-dot:before,.fa-map-marked-alt:before{content:""}.fa-map-pin:before{content:""}.fa-marker:before{content:""}.fa-mars:before{content:""}.fa-mars-and-venus:before{content:""}.fa-mars-double:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-h:before,.fa-mars-stroke-right:before{content:""}.fa-mars-stroke-up:before,.fa-mars-stroke-v:before{content:""}.fa-glass-martini-alt:before,.fa-martini-glass:before{content:""}.fa-cocktail:before,.fa-martini-glass-citrus:before{content:""}.fa-glass-martini:before,.fa-martini-glass-empty:before{content:""}.fa-mask:before{content:""}.fa-mask-face:before{content:""}.fa-masks-theater:before,.fa-theater-masks:before{content:""}.fa-expand-arrows-alt:before,.fa-maximize:before{content:""}.fa-medal:before{content:""}.fa-memory:before{content:""}.fa-menorah:before{content:""}.fa-mercury:before{content:""}.fa-comment-alt:before,.fa-message:before{content:""}.fa-meteor:before{content:""}.fa-microchip:before{content:""}.fa-microphone:before{content:""}.fa-microphone-alt:before,.fa-microphone-lines:before{content:""}.fa-microphone-alt-slash:before,.fa-microphone-lines-slash:before{content:""}.fa-microphone-slash:before{content:""}.fa-microscope:before{content:""}.fa-mill-sign:before{content:""}.fa-compress-arrows-alt:before,.fa-minimize:before{content:""}.fa-minus:before,.fa-subtract:before{content:""}.fa-mitten:before{content:""}.fa-mobile-android:before,.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-mobile-button:before{content:""}.fa-mobile-alt:before,.fa-mobile-screen-button:before{content:""}.fa-money-bill:before{content:""}.fa-money-bill-1:before,.fa-money-bill-alt:before{content:""}.fa-money-bill-1-wave:before,.fa-money-bill-wave-alt:before{content:""}.fa-money-bill-wave:before{content:""}.fa-money-check:before{content:""}.fa-money-check-alt:before,.fa-money-check-dollar:before{content:""}.fa-monument:before{content:""}.fa-moon:before{content:""}.fa-mortar-pestle:before{content:""}.fa-mosque:before{content:""}.fa-motorcycle:before{content:""}.fa-mountain:before{content:""}.fa-mug-hot:before{content:""}.fa-coffee:before,.fa-mug-saucer:before{content:""}.fa-music:before{content:""}.fa-n:before{content:"N"}.fa-naira-sign:before{content:""}.fa-network-wired:before{content:""}.fa-neuter:before{content:""}.fa-newspaper:before{content:""}.fa-not-equal:before{content:""}.fa-note-sticky:before,.fa-sticky-note:before{content:""}.fa-notes-medical:before{content:""}.fa-o:before{content:"O"}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-oil-can:before{content:""}.fa-om:before{content:""}.fa-otter:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-p:before{content:"P"}.fa-pager:before{content:""}.fa-paint-roller:before{content:""}.fa-paint-brush:before,.fa-paintbrush:before{content:""}.fa-palette:before{content:""}.fa-pallet:before{content:""}.fa-panorama:before{content:""}.fa-paper-plane:before{content:""}.fa-paperclip:before{content:""}.fa-parachute-box:before{content:""}.fa-paragraph:before{content:""}.fa-passport:before{content:""}.fa-file-clipboard:before,.fa-paste:before{content:""}.fa-pause:before{content:""}.fa-paw:before{content:""}.fa-peace:before{content:""}.fa-pen:before{content:""}.fa-pen-alt:before,.fa-pen-clip:before{content:""}.fa-pen-fancy:before{content:""}.fa-pen-nib:before{content:""}.fa-pen-ruler:before,.fa-pencil-ruler:before{content:""}.fa-edit:before,.fa-pen-to-square:before{content:""}.fa-pencil-alt:before,.fa-pencil:before{content:""}.fa-people-arrows-left-right:before,.fa-people-arrows:before{content:""}.fa-people-carry-box:before,.fa-people-carry:before{content:""}.fa-pepper-hot:before{content:""}.fa-percent:before,.fa-percentage:before{content:"%"}.fa-male:before,.fa-person:before{content:""}.fa-biking:before,.fa-person-biking:before{content:""}.fa-person-booth:before{content:""}.fa-diagnoses:before,.fa-person-dots-from-line:before{content:""}.fa-female:before,.fa-person-dress:before{content:""}.fa-hiking:before,.fa-person-hiking:before{content:""}.fa-person-praying:before,.fa-pray:before{content:""}.fa-person-running:before,.fa-running:before{content:""}.fa-person-skating:before,.fa-skating:before{content:""}.fa-person-skiing:before,.fa-skiing:before{content:""}.fa-person-skiing-nordic:before,.fa-skiing-nordic:before{content:""}.fa-person-snowboarding:before,.fa-snowboarding:before{content:""}.fa-person-swimming:before,.fa-swimmer:before{content:""}.fa-person-walking:before,.fa-walking:before{content:""}.fa-blind:before,.fa-person-walking-with-cane:before{content:""}.fa-peseta-sign:before{content:""}.fa-peso-sign:before{content:""}.fa-phone:before{content:""}.fa-phone-alt:before,.fa-phone-flip:before{content:""}.fa-phone-slash:before{content:""}.fa-phone-volume:before,.fa-volume-control-phone:before{content:""}.fa-photo-film:before,.fa-photo-video:before{content:""}.fa-piggy-bank:before{content:""}.fa-pills:before{content:""}.fa-pizza-slice:before{content:""}.fa-place-of-worship:before{content:""}.fa-plane:before{content:""}.fa-plane-arrival:before{content:""}.fa-plane-departure:before{content:""}.fa-plane-slash:before{content:""}.fa-play:before{content:""}.fa-plug:before{content:""}.fa-add:before,.fa-plus:before{content:"+"}.fa-plus-minus:before{content:""}.fa-podcast:before{content:""}.fa-poo:before{content:""}.fa-poo-bolt:before,.fa-poo-storm:before{content:""}.fa-poop:before{content:""}.fa-power-off:before{content:""}.fa-prescription:before{content:""}.fa-prescription-bottle:before{content:""}.fa-prescription-bottle-alt:before,.fa-prescription-bottle-medical:before{content:""}.fa-print:before{content:""}.fa-pump-medical:before{content:""}.fa-pump-soap:before{content:""}.fa-puzzle-piece:before{content:""}.fa-q:before{content:"Q"}.fa-qrcode:before{content:""}.fa-question:before{content:"?"}.fa-quote-left-alt:before,.fa-quote-left:before{content:""}.fa-quote-right-alt:before,.fa-quote-right:before{content:""}.fa-r:before{content:"R"}.fa-radiation:before{content:""}.fa-rainbow:before{content:""}.fa-receipt:before{content:""}.fa-record-vinyl:before{content:""}.fa-ad:before,.fa-rectangle-ad:before{content:""}.fa-list-alt:before,.fa-rectangle-list:before{content:""}.fa-rectangle-times:before,.fa-rectangle-xmark:before,.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-recycle:before{content:""}.fa-registered:before{content:""}.fa-repeat:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-republican:before{content:""}.fa-restroom:before{content:""}.fa-retweet:before{content:""}.fa-ribbon:before{content:""}.fa-right-from-bracket:before,.fa-sign-out-alt:before{content:""}.fa-exchange-alt:before,.fa-right-left:before{content:""}.fa-long-arrow-alt-right:before,.fa-right-long:before{content:""}.fa-right-to-bracket:before,.fa-sign-in-alt:before{content:""}.fa-ring:before{content:""}.fa-road:before{content:""}.fa-robot:before{content:""}.fa-rocket:before{content:""}.fa-rotate:before,.fa-sync-alt:before{content:""}.fa-rotate-back:before,.fa-rotate-backward:before,.fa-rotate-left:before,.fa-undo-alt:before{content:""}.fa-redo-alt:before,.fa-rotate-forward:before,.fa-rotate-right:before{content:""}.fa-route:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-rouble:before,.fa-rub:before,.fa-ruble-sign:before,.fa-ruble:before{content:""}.fa-ruler:before{content:""}.fa-ruler-combined:before{content:""}.fa-ruler-horizontal:before{content:""}.fa-ruler-vertical:before{content:""}.fa-rupee-sign:before,.fa-rupee:before{content:""}.fa-rupiah-sign:before{content:""}.fa-s:before{content:"S"}.fa-sailboat:before{content:""}.fa-satellite:before{content:""}.fa-satellite-dish:before{content:""}.fa-balance-scale:before,.fa-scale-balanced:before{content:""}.fa-balance-scale-left:before,.fa-scale-unbalanced:before{content:""}.fa-balance-scale-right:before,.fa-scale-unbalanced-flip:before{content:""}.fa-school:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-screwdriver:before{content:""}.fa-screwdriver-wrench:before,.fa-tools:before{content:""}.fa-scroll:before{content:""}.fa-scroll-torah:before,.fa-torah:before{content:""}.fa-sd-card:before{content:""}.fa-section:before{content:""}.fa-seedling:before,.fa-sprout:before{content:""}.fa-server:before{content:""}.fa-shapes:before,.fa-triangle-circle-square:before{content:""}.fa-arrow-turn-right:before,.fa-mail-forward:before,.fa-share:before{content:""}.fa-share-from-square:before,.fa-share-square:before{content:""}.fa-share-alt:before,.fa-share-nodes:before{content:""}.fa-ils:before,.fa-shekel-sign:before,.fa-shekel:before,.fa-sheqel-sign:before,.fa-sheqel:before{content:""}.fa-shield:before{content:""}.fa-shield-alt:before,.fa-shield-blank:before{content:""}.fa-shield-virus:before{content:""}.fa-ship:before{content:""}.fa-shirt:before,.fa-t-shirt:before,.fa-tshirt:before{content:""}.fa-shoe-prints:before{content:""}.fa-shop:before,.fa-store-alt:before{content:""}.fa-shop-slash:before,.fa-store-alt-slash:before{content:""}.fa-shower:before{content:""}.fa-shrimp:before{content:""}.fa-random:before,.fa-shuffle:before{content:""}.fa-shuttle-space:before,.fa-space-shuttle:before{content:""}.fa-sign-hanging:before,.fa-sign:before{content:""}.fa-signal-5:before,.fa-signal-perfect:before,.fa-signal:before{content:""}.fa-signature:before{content:""}.fa-map-signs:before,.fa-signs-post:before{content:""}.fa-sim-card:before{content:""}.fa-sink:before{content:""}.fa-sitemap:before{content:""}.fa-skull:before{content:""}.fa-skull-crossbones:before{content:""}.fa-slash:before{content:""}.fa-sleigh:before{content:""}.fa-sliders-h:before,.fa-sliders:before{content:""}.fa-smog:before{content:""}.fa-smoking:before{content:""}.fa-snowflake:before{content:""}.fa-snowman:before{content:""}.fa-snowplow:before{content:""}.fa-soap:before{content:""}.fa-socks:before{content:""}.fa-solar-panel:before{content:""}.fa-sort:before,.fa-unsorted:before{content:""}.fa-sort-desc:before,.fa-sort-down:before{content:""}.fa-sort-asc:before,.fa-sort-up:before{content:""}.fa-spa:before{content:""}.fa-pastafarianism:before,.fa-spaghetti-monster-flying:before{content:""}.fa-spell-check:before{content:""}.fa-spider:before{content:""}.fa-spinner:before{content:""}.fa-splotch:before{content:""}.fa-spoon:before,.fa-utensil-spoon:before{content:""}.fa-spray-can:before{content:""}.fa-air-freshener:before,.fa-spray-can-sparkles:before{content:""}.fa-square:before{content:""}.fa-external-link-square:before,.fa-square-arrow-up-right:before{content:""}.fa-caret-square-down:before,.fa-square-caret-down:before{content:""}.fa-caret-square-left:before,.fa-square-caret-left:before{content:""}.fa-caret-square-right:before,.fa-square-caret-right:before{content:""}.fa-caret-square-up:before,.fa-square-caret-up:before{content:""}.fa-check-square:before,.fa-square-check:before{content:""}.fa-envelope-square:before,.fa-square-envelope:before{content:""}.fa-square-full:before{content:""}.fa-h-square:before,.fa-square-h:before{content:""}.fa-minus-square:before,.fa-square-minus:before{content:""}.fa-parking:before,.fa-square-parking:before{content:""}.fa-pen-square:before,.fa-pencil-square:before,.fa-square-pen:before{content:""}.fa-phone-square:before,.fa-square-phone:before{content:""}.fa-phone-square-alt:before,.fa-square-phone-flip:before{content:""}.fa-plus-square:before,.fa-square-plus:before{content:""}.fa-poll-h:before,.fa-square-poll-horizontal:before{content:""}.fa-poll:before,.fa-square-poll-vertical:before{content:""}.fa-square-root-alt:before,.fa-square-root-variable:before{content:""}.fa-rss-square:before,.fa-square-rss:before{content:""}.fa-share-alt-square:before,.fa-square-share-nodes:before{content:""}.fa-external-link-square-alt:before,.fa-square-up-right:before{content:""}.fa-square-xmark:before,.fa-times-square:before,.fa-xmark-square:before{content:""}.fa-stairs:before{content:""}.fa-stamp:before{content:""}.fa-star:before{content:""}.fa-star-and-crescent:before{content:""}.fa-star-half:before{content:""}.fa-star-half-alt:before,.fa-star-half-stroke:before{content:""}.fa-star-of-david:before{content:""}.fa-star-of-life:before{content:""}.fa-gbp:before,.fa-pound-sign:before,.fa-sterling-sign:before{content:""}.fa-stethoscope:before{content:""}.fa-stop:before{content:""}.fa-stopwatch:before{content:""}.fa-stopwatch-20:before{content:""}.fa-store:before{content:""}.fa-store-slash:before{content:""}.fa-street-view:before{content:""}.fa-strikethrough:before{content:""}.fa-stroopwafel:before{content:""}.fa-subscript:before{content:""}.fa-suitcase:before{content:""}.fa-medkit:before,.fa-suitcase-medical:before{content:""}.fa-suitcase-rolling:before{content:""}.fa-sun:before{content:""}.fa-superscript:before{content:""}.fa-swatchbook:before{content:""}.fa-synagogue:before{content:""}.fa-syringe:before{content:""}.fa-t:before{content:"T"}.fa-table:before{content:""}.fa-table-cells:before,.fa-th:before{content:""}.fa-table-cells-large:before,.fa-th-large:before{content:""}.fa-columns:before,.fa-table-columns:before{content:""}.fa-table-list:before,.fa-th-list:before{content:""}.fa-ping-pong-paddle-ball:before,.fa-table-tennis-paddle-ball:before,.fa-table-tennis:before{content:""}.fa-tablet-android:before,.fa-tablet:before{content:""}.fa-tablet-button:before{content:""}.fa-tablet-alt:before,.fa-tablet-screen-button:before{content:""}.fa-tablets:before{content:""}.fa-digital-tachograph:before,.fa-tachograph-digital:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-tape:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-teeth:before{content:""}.fa-teeth-open:before{content:""}.fa-temperature-0:before,.fa-temperature-empty:before,.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-temperature-4:before,.fa-temperature-full:before,.fa-thermometer-4:before,.fa-thermometer-full:before{content:""}.fa-temperature-2:before,.fa-temperature-half:before,.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-temperature-high:before{content:""}.fa-temperature-low:before{content:""}.fa-temperature-1:before,.fa-temperature-quarter:before,.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-temperature-3:before,.fa-temperature-three-quarters:before,.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-tenge-sign:before,.fa-tenge:before{content:""}.fa-terminal:before{content:""}.fa-text-height:before{content:""}.fa-remove-format:before,.fa-text-slash:before{content:""}.fa-text-width:before{content:""}.fa-thermometer:before{content:""}.fa-thumbs-down:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumb-tack:before,.fa-thumbtack:before{content:""}.fa-ticket:before{content:""}.fa-ticket-alt:before,.fa-ticket-simple:before{content:""}.fa-timeline:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-toilet:before{content:""}.fa-toilet-paper:before{content:""}.fa-toilet-paper-slash:before{content:""}.fa-toolbox:before{content:""}.fa-tooth:before{content:""}.fa-torii-gate:before{content:""}.fa-broadcast-tower:before,.fa-tower-broadcast:before{content:""}.fa-tractor:before{content:""}.fa-trademark:before{content:""}.fa-traffic-light:before{content:""}.fa-trailer:before{content:""}.fa-train:before{content:""}.fa-subway:before,.fa-train-subway:before{content:""}.fa-train-tram:before,.fa-tram:before{content:""}.fa-transgender-alt:before,.fa-transgender:before{content:""}.fa-trash:before{content:""}.fa-trash-arrow-up:before,.fa-trash-restore:before{content:""}.fa-trash-alt:before,.fa-trash-can:before{content:""}.fa-trash-can-arrow-up:before,.fa-trash-restore-alt:before{content:""}.fa-tree:before{content:""}.fa-exclamation-triangle:before,.fa-triangle-exclamation:before,.fa-warning:before{content:""}.fa-trophy:before{content:""}.fa-truck:before{content:""}.fa-shipping-fast:before,.fa-truck-fast:before{content:""}.fa-ambulance:before,.fa-truck-medical:before{content:""}.fa-truck-monster:before{content:""}.fa-truck-moving:before{content:""}.fa-truck-pickup:before{content:""}.fa-truck-loading:before,.fa-truck-ramp-box:before{content:""}.fa-teletype:before,.fa-tty:before{content:""}.fa-try:before,.fa-turkish-lira-sign:before,.fa-turkish-lira:before{content:""}.fa-level-down-alt:before,.fa-turn-down:before{content:""}.fa-level-up-alt:before,.fa-turn-up:before{content:""}.fa-television:before,.fa-tv-alt:before,.fa-tv:before{content:""}.fa-u:before{content:"U"}.fa-umbrella:before{content:""}.fa-umbrella-beach:before{content:""}.fa-underline:before{content:""}.fa-universal-access:before{content:""}.fa-unlock:before{content:""}.fa-unlock-alt:before,.fa-unlock-keyhole:before{content:""}.fa-arrows-alt-v:before,.fa-up-down:before{content:""}.fa-arrows-alt:before,.fa-up-down-left-right:before{content:""}.fa-long-arrow-alt-up:before,.fa-up-long:before{content:""}.fa-expand-alt:before,.fa-up-right-and-down-left-from-center:before{content:""}.fa-external-link-alt:before,.fa-up-right-from-square:before{content:""}.fa-upload:before{content:""}.fa-user:before{content:""}.fa-user-astronaut:before{content:""}.fa-user-check:before{content:""}.fa-user-clock:before{content:""}.fa-user-doctor:before,.fa-user-md:before{content:""}.fa-user-cog:before,.fa-user-gear:before{content:""}.fa-user-graduate:before{content:""}.fa-user-friends:before,.fa-user-group:before{content:""}.fa-user-injured:before{content:""}.fa-user-alt:before,.fa-user-large:before{content:""}.fa-user-alt-slash:before,.fa-user-large-slash:before{content:""}.fa-user-lock:before{content:""}.fa-user-minus:before{content:""}.fa-user-ninja:before{content:""}.fa-user-nurse:before{content:""}.fa-user-edit:before,.fa-user-pen:before{content:""}.fa-user-plus:before{content:""}.fa-user-secret:before{content:""}.fa-user-shield:before{content:""}.fa-user-slash:before{content:""}.fa-user-tag:before{content:""}.fa-user-tie:before{content:""}.fa-user-times:before,.fa-user-xmark:before{content:""}.fa-users:before{content:""}.fa-users-cog:before,.fa-users-gear:before{content:""}.fa-users-slash:before{content:""}.fa-cutlery:before,.fa-utensils:before{content:""}.fa-v:before{content:"V"}.fa-shuttle-van:before,.fa-van-shuttle:before{content:""}.fa-vault:before{content:""}.fa-vector-square:before{content:""}.fa-venus:before{content:""}.fa-venus-double:before{content:""}.fa-venus-mars:before{content:""}.fa-vest:before{content:""}.fa-vest-patches:before{content:""}.fa-vial:before{content:""}.fa-vials:before{content:""}.fa-video-camera:before,.fa-video:before{content:""}.fa-video-slash:before{content:""}.fa-vihara:before{content:""}.fa-virus:before{content:""}.fa-virus-covid:before{content:""}.fa-virus-covid-slash:before{content:""}.fa-virus-slash:before{content:""}.fa-viruses:before{content:""}.fa-voicemail:before{content:""}.fa-volleyball-ball:before,.fa-volleyball:before{content:""}.fa-volume-high:before,.fa-volume-up:before{content:""}.fa-volume-down:before,.fa-volume-low:before{content:""}.fa-volume-off:before{content:""}.fa-volume-mute:before,.fa-volume-times:before,.fa-volume-xmark:before{content:""}.fa-vr-cardboard:before{content:""}.fa-w:before{content:"W"}.fa-wallet:before{content:""}.fa-magic:before,.fa-wand-magic:before{content:""}.fa-magic-wand-sparkles:before,.fa-wand-magic-sparkles:before{content:""}.fa-wand-sparkles:before{content:""}.fa-warehouse:before{content:""}.fa-water:before{content:""}.fa-ladder-water:before,.fa-swimming-pool:before,.fa-water-ladder:before{content:""}.fa-wave-square:before{content:""}.fa-weight-hanging:before{content:""}.fa-weight-scale:before,.fa-weight:before{content:""}.fa-wheelchair:before{content:""}.fa-glass-whiskey:before,.fa-whiskey-glass:before{content:""}.fa-wifi-3:before,.fa-wifi-strong:before,.fa-wifi:before{content:""}.fa-wind:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-wine-bottle:before{content:""}.fa-wine-glass:before{content:""}.fa-wine-glass-alt:before,.fa-wine-glass-empty:before{content:""}.fa-krw:before,.fa-won-sign:before,.fa-won:before{content:""}.fa-wrench:before{content:""}.fa-x:before{content:"X"}.fa-x-ray:before{content:""}.fa-close:before,.fa-multiply:before,.fa-remove:before,.fa-times:before,.fa-xmark:before{content:""}.fa-y:before{content:"Y"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen-sign:before,.fa-yen:before{content:""}.fa-yin-yang:before{content:""}.fa-z:before{content:"Z"}.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}/*! - * Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - * Copyright 2022 Fonticons, Inc. - */:host,:root{--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(/openWB/web/display/themes/colors/assets/fa-solid-900-DByUvYfa.woff2) format("woff2"),url(/openWB/web/display/themes/colors/assets/fa-solid-900-CG7ny7S5.ttf) format("truetype")}.fa-solid,.fas{font-family:"Font Awesome 6 Free";font-weight:900}.fixeddisplay[data-v-75d14554]{display:grid;grid-template-rows:440px 40px;grid-template-columns:800px}/*! - * Bootstrap v5.3.3 (https://getbootstrap.com/) - * Copyright 2011-2024 The Bootstrap Authors - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, .75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, .5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm:0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width:.25rem;--bs-focus-ring-opacity:.25;--bs-focus-ring-color:rgba(13, 110, 253, .25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, .75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, .5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, .15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:.25rem}.g-1,.gy-1{--bs-gutter-y:.25rem}.g-2,.gx-2{--bs-gutter-x:.5rem}.g-2,.gy-2{--bs-gutter-y:.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-active{--bs-table-color-state:var(--bs-table-active-color);--bs-table-bg-state:var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state:var(--bs-table-hover-color);--bs-table-bg-state:var(--bs-table-hover-bg)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#a6b5cc;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#b5b6b7;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#a7b9b1;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#a6c3ca;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#ccc2a4;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#c6acae;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#c6c7c8;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#4d5154;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control-plaintext~label:after,.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:#6c757d}.form-floating>.form-control:disabled~label:after,.form-floating>:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3.75rem + 1.5em)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3.75rem + 1.5em)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:.75rem;--bs-btn-padding-y:.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, .15),0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity:.65;--bs-btn-focus-box-shadow:0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:.25rem;--bs-btn-padding-x:.5rem;--bs-btn-font-size:.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:.5rem;--bs-dropdown-spacer:.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:.5rem;--bs-dropdown-box-shadow:var(--bs-box-shadow);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, .15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:.5rem;--bs-navbar-toggler-padding-y:.25rem;--bs-navbar-toggler-padding-x:.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:.25rem;--bs-navbar-toggler-transition:box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255, 255, 255, .55);--bs-navbar-hover-color:rgba(255, 255, 255, .75);--bs-navbar-disabled-color:rgba(255, 255, 255, .25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform .2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:.75rem;--bs-pagination-padding-y:.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:.5rem;--bs-pagination-padding-y:.25rem;--bs-pagination-font-size:.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:.65em;--bs-badge-padding-y:.35em;--bs-badge-font-size:.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:.5;--bs-btn-close-hover-opacity:.75;--bs-btn-close-focus-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:.75rem;--bs-toast-padding-y:.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:.5rem;--bs-tooltip-padding-y:.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:.9;--bs-tooltip-arrow-width:.8rem;--bs-tooltip-arrow-height:.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:var(--bs-box-shadow);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color:inherit;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-top>.popover-arrow:before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-end>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-start>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translate(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-.125em;--bs-spinner-border-width:.25em;--bs-spinner-animation-speed:.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-.125em;--bs-spinner-animation-speed:.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:var(--bs-box-shadow-sm);--bs-offcanvas-transition:transform .3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,.75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,.75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,.5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:.1}.border-opacity-25{--bs-border-opacity:.25}.border-opacity-50{--bs-border-opacity:.5}.border-opacity-75{--bs-border-opacity:.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:#00000080!important}.text-white-50{--bs-text-opacity:1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:.25}.text-opacity-50{--bs-text-opacity:.5}.text-opacity-75{--bs-text-opacity:.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity:.1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity:.25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity:.5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity:.75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:.1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:.25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:.5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:.75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:.1}.bg-opacity-25{--bs-bg-opacity:.25}.bg-opacity-50{--bs-bg-opacity:.5}.bg-opacity-75{--bs-bg-opacity:.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}html{min-height:100%;min-width:100%}body{color:var(--color-fg);background:var(--color-bg);font-family:San Francisco,Arial,Liberation sans,sans-serif}body>.container{padding:55px 15px 0}html{font-size:12px}html .settingscolumn{grid-column:span 12}.verySmallTextSize{font-size:var(--font-verysmall)}.smallTextSize{font-size:var(--font-small)}.mediumTextSize{font-size:var(--font-medium)}.regularTextSize{font-size:var(--font-normal)}.largeTextSize,.buttonTextSize{font-size:var(--font-large)}h3{font-size:var(--font-extralarge);color:var(--color-title);font-weight:700;transform:scaleX(.9294)}h4{color:var(--color-axis)}body>.container-fluid{padding:55px 15px 0}.tablecell{font-size:var(--font-normal);line-height:1rem;vertical-align:middle;padding:0;background-color:var(--color-bg)}.maxPrice{text-align:center}:root{--fontCol: rgba(160, 160, 160, .82);--gridCol: rgba(160, 160, 160, .82);--xgridCol: rgba(160, 160, 160, .82);--tickCol: rgba(160, 160, 160, .82);--evuCol: rgba(178, 34, 34, 1);--color-switchRed: #d12020;--color-switchGreen: #4db662;--color-switchBlue: steelblue;--color-cp0: #6baed6;--color-cp1: #4292c6;--color-cp2: #2171b5;--color-cp3: #9ecae1;--color-cp4: #c6dbef;--color-cp5: #deebf7;--color-cp6: #08519c;--color-cp7: #6baed6;--color-evu: firebrick;--color-pv: #33a02c;--color-house: #7f7f7f;--color-charging: #1f78b4;--color-export: #b2df8a;--color-battery: goldenrod;--color-input: lightgrey;--font-normal: 1.4rem;--font-large: 1.6rem;--font-medium: 1.2rem;--font-small: 1rem;--font-verysmall: .7rem;--font-extralarge: 1.6rem;--font-settings: 16px;--font-chargebutton: 16px}.theme-light{--color-bg: white;--color-axis: gray;--color-grid: #bbbbbb;--color-menu: gray;--color-frame: white;--color-subframe: lightgrey;--color-fg: black;--color-scale: lightgrey;--color-title: rgba(0, 0, 0, .644);--padding-widget: 5px;--fontCol: rgba(255, 255, 255, .82);--gridCol: rgba(255, 255, 255, .82);--xgridCol: rgba(255, 255, 255, .1);--tickCol: rgba(255, 255, 255, .82);--evuCol: rgba(255, 0, 0, .7)}.theme-blue{--color-bg: midnightblue;--color-axis: steelblue;--color-grid: steelblue;--color-menu: lightskyblue;--color-frame: lightskyblue;--color-subframe: midnightblue;--color-fg: white;--color-scale: steelblue;--color-title: lightgrey;--padding-widget: 0px}.theme-dark{--color-bg: #333333;--color-export: #b2df8a;--color-axis: #666666;--color-grid: black;--color-menu: #999999;--color-frame: #666666;--color-subframe: #333333;--color-fg: white;--color-scale: #999999;--color-title: lightgrey;--padding-widget: 0px}.shcolors-normal{--color-devices: #f16913;--color-sh1: #fd8d3c;--color-sh2: #f16913;--color-sh3: #d94801;--color-sh4: #fdae6b;--color-sh5: #fdd0a2;--color-sh6: #fee6ce;--color-sh7: #a63603;--color-sh8: #fe4b83;--color-sh9: #e4419d}.shcolors-advanced{--color-devices: #ff4d4d;--color-sh1: #ffffff;--color-sh2: #ff4d4d;--color-sh3: #668cff;--color-sh4: #ff6600;--color-sh5: #00ff00;--color-sh6: #ffff00;--color-sh7: #ff00ff;--color-sh8: #993300;--color-sh9: #a366ff}.shcolors-standard{--color-devices: rgba(200, 50, 200, .7);--color-sh1: rgba(200, 150, 200, .7);--color-sh2: rgba(200, 100, 200, .7);--color-sh3: rgba(200, 50, 200, .7);--color-sh4: rgba(200, 0, 200, .7);--color-sh5: rgba(150, 200, 200, .7);--color-sh6: rgba(100, 200, 200, .7);--color-sh7: rgba(50, 200, 200, .7);--color-sh8: rgba(0, 200, 200, .7);--color-sh9: rgba(200, 200, 200, .7)}.openwb-devices{color:#cff;background-color:#009696}.colormenu{background-color:var(--color-frame)}.wb-widget{background-color:var(--color-bg);border:.1px solid var(--color-frame);align-self:stretch;width:100%;border-radius:30px}.wb-subwidget{border:0px solid var(--color-subframe);padding:var(--padding-widget)}.grid12{display:grid;grid-template-columns:repeat(12,auto);gap:.2em;justify-items:center}.grid-col-3{grid-column:span 3}.grid-col-4{grid-column:span 4}.grid-col-6{grid-column:span 6}.grid-col-12{grid-column:span 12}@supports (grid-template-columns: subgrid){.subgrid{display:grid;grid-column:span 12;grid-template-columns:subgrid;justify-content:top}}@supports not (grid-template-columns: subgrid){.subgrid{display:grid;grid-column:span 12;grid-template-columns:auto auto auto auto auto auto auto auto auto auto auto auto;justify-content:top;width:100%}}.grid-left{justify-self:start}.grid-right{justify-self:end}th{color:var(--color-axis)}.table-borderless td{border:0}.popup-header{color:#191970}.axis text{color:var(--color-axis);stroke-width:0}.phasesInUse{font-family:monospace;color:#fff;background:var(--color-menu);font-size:var(--font-verysmall);padding:.2rem .4rem .1rem;margin:0rem .2rem}.swiper-slide-active,.swiper-slide{display:flex}swiper-slide{display:flex}option{color:#00f}.ttarea .ttmessage{visibility:hidden}.ttarea:hover .ttmessage{visibility:visible}.scaled{transform:scaleX(.9294)}.fa-car-battery{color:var(--color-battery)}.fa-car{color:var(--color-charging)}.fa-clock,.fa-coins{color:var(--color-battery)}.fa-sliders{color:var(--color-pv)} diff --git a/packages/modules/display_themes/colors/web/assets/index-C2N9PWRS.js b/packages/modules/display_themes/colors/web/assets/index-C2N9PWRS.js deleted file mode 100644 index 5c0f5bcda6..0000000000 --- a/packages/modules/display_themes/colors/web/assets/index-C2N9PWRS.js +++ /dev/null @@ -1,6 +0,0 @@ -var la=Object.defineProperty;var ua=(t,e,a)=>e in t?la(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var s=(t,e,a)=>(ua(t,typeof e!="symbol"?e+"":e,a),a);import{m as da,r as J,a as de,M as Gt,d as T,o as p,c as y,n as K,b as M,e as c,f as pe,g as oe,h as g,s as ye,i as _t,j as ha,t as I,u as r,k as _,w as k,l as j,p as me,q as ve,v as Et,x as Wt,y as pa,z as B,F as Ie,A as Ae,B as Ue,C as gt,D as Te,E as zt,G as yt,H as Xe,I as Ee,J as rt,K as $t,L as ga,N as Ze,O as ma,P as va,Q as fa,R as We,S as _a,T as ya,U as De,V as Ke,W as st,X as ba}from"./vendor-BjGoVRCW.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const h of i.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&n(h)}).observe(document,{childList:!0,subtree:!0});function a(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=a(o);fetch(o.href,i)}})();function Qe(t,e=1){let a;if(t>=1e3&&e<4){switch(e){case 0:a=Math.round(t/1e3);break;case 1:a=Math.round(t/100)/10;break;case 2:a=Math.round(t/10)/100;break;case 3:a=Math.round(t)/1e3;break;default:a=Math.round(t/100)/10;break}return(a==null?void 0:a.toLocaleString(void 0,{minimumFractionDigits:e}))+" kW"}else return Math.round(t).toLocaleString(void 0)+" W"}function jt(t,e=1,a=!1){let n;if(t>1e6&&(a=!0,t=t/1e3),t>=1e3&&e<4){switch(e){case 0:n=Math.round(t/1e3);break;case 1:n=(Math.round(t/100)/10).toFixed(1);break;case 2:n=(Math.round(t/10)/100).toFixed(2);break;case 3:n=(Math.round(t)/1e3).toFixed(3);break;default:n=Math.round(t/100)/10;break}return n.toLocaleString(void 0,{minimumFractionDigits:e})+(a?" MWh":" kWh")}else return Math.round(t).toLocaleString(void 0)+(a?" kWh":" Wh")}function wa(t){return t.toLocaleTimeString([],{hour:"numeric",minute:"2-digit"})}function Sa(t,e){return["Jan","Feb","März","April","Mai","Juni","Juli","Aug","Sep","Okt","Nov","Dez"][t]+" "+e}const ka=0,Nt={host:location.hostname,port:location.protocol=="https:"?443:80,endpoint:"/ws",protocol:location.protocol=="https:"?"wss":"ws",connectTimeout:4e3,reconnectPeriod:4e3,clean:!1,clientId:Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,6)},et={topic:"",qos:ka};let le;const{host:Ma,port:xa,endpoint:Pa,...Ut}=Nt,Ca=`${Ut.protocol}://${Ma}:${xa}${Pa}`;try{le=da.connect(Ca,Ut),le.on("connect",()=>{console.info("MQTT connection successful.")}),le.on("disconnect",()=>{console.info("MQTT disconnected")}),le.on("error",t=>{console.error("MQTT connection failed: ",t)})}catch(t){console.error("MQTT connect error: ",t)}async function $a(t){await Ft(),le?le.on("message",t):console.error("MqttRegister: MQTT client not available")}async function Be(t){et.topic=t;const{topic:e,qos:a}=et;await Ft(),le.subscribe(e,{qos:a},n=>{if(n){console.error("MQTT Subscription error: "+n);return}})}function Ve(t){et.topic=t;const{topic:e}=et;le.unsubscribe(e,a=>{if(a){console.error("MQTT Unsubscribe from "+t+" failed: "+a);return}})}async function mt(t,e){let n=le.connected,o=0;for(;!n&&o<10;)console.warn("MQTT not connected. Waiting 0.1 seconds"),await Jt(100),n=le.connected,o+=1;if(o<10)try{le.publish(t,e,{qos:0},i=>{i&&console.warn("MQTT publish error: ",i),console.info("MQTT publish: Message sent: ["+t+"]("+e+")")})}catch(i){console.warn("MQTT publish: caught error: "+i)}else console.error("MQTT publish: Lost connection to MQTT server. Please reload the page")}function bt(){return Nt.clientId}const It=20;async function Ft(){let t=le.connected,e=0;for(;!t&&e{esetTimeout(e,t))}class Ia{constructor(e){s(this,"id");s(this,"name","Ladepunkt");s(this,"icon","Ladepunkt");s(this,"type","");s(this,"ev",0);s(this,"template",0);s(this,"connectedPhases",0);s(this,"phase_1",0);s(this,"autoPhaseSwitchHw",!1);s(this,"controlPilotInterruptionHw",!1);s(this,"isEnabled",!0);s(this,"isPluggedIn",!1);s(this,"isCharging",!1);s(this,"_isLocked",!1);s(this,"_connectedVehicle",0);s(this,"chargeTemplate",0);s(this,"evTemplate",0);s(this,"_chargeMode","pv_charging");s(this,"_hasPriority",!1);s(this,"currentPlan","");s(this,"averageConsumption",0);s(this,"vehicleName","");s(this,"rangeCharged",0);s(this,"rangeUnit","");s(this,"counter",0);s(this,"dailyYield",0);s(this,"energyPv",0);s(this,"energyBat",0);s(this,"pvPercentage",0);s(this,"faultState",0);s(this,"faultStr","");s(this,"phasesInUse",0);s(this,"power",0);s(this,"chargedSincePlugged",0);s(this,"stateStr","");s(this,"current",0);s(this,"currents",[0,0,0]);s(this,"phasesToUse",0);s(this,"isSocConfigured",!0);s(this,"isSocManual",!1);s(this,"waitingForSoc",!1);s(this,"color","white");s(this,"_timedCharging",!1);s(this,"_instantChargeLimitMode","");s(this,"_instantTargetCurrent",0);s(this,"_instantTargetSoc",0);s(this,"_instantMaxEnergy",0);s(this,"_pvFeedInLimit",!1);s(this,"_pvMinCurrent",0);s(this,"_pvMaxSoc",0);s(this,"_pvMinSoc",0);s(this,"_pvMinSocCurrent",0);s(this,"_etActive",!1);s(this,"_etMaxPrice",20);this.id=e}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked=e,X("cpLock",e,this.id)}updateIsLocked(e){this._isLocked=e}get connectedVehicle(){return this._connectedVehicle}set connectedVehicle(e){this._connectedVehicle=e,X("cpVehicle",e,this.id)}updateConnectedVehicle(e){this._connectedVehicle=e}get soc(){return A[this.connectedVehicle]?A[this.connectedVehicle].soc:0}set soc(e){A[this.connectedVehicle]&&(A[this.connectedVehicle].soc=e)}get chargeMode(){return this._chargeMode}set chargeMode(e){this._chargeMode=e,X("chargeMode",e,this.id)}updateChargeMode(e){this._chargeMode=e}get hasPriority(){return this._hasPriority}set hasPriority(e){this._hasPriority=e,X("cpPriority",e,this.id)}updateCpPriority(e){this._hasPriority=e}get timedCharging(){return re[this.chargeTemplate]?re[this.chargeTemplate].time_charging.active:!1}set timedCharging(e){re[this.chargeTemplate].time_charging.active=e,X("cpTimedCharging",e,this.chargeTemplate)}get instantTargetCurrent(){return this._instantTargetCurrent}set instantTargetCurrent(e){this._instantTargetCurrent=e,X("cpInstantTargetCurrent",e,this.id)}updateInstantTargetCurrent(e){this._instantTargetCurrent=e}get instantChargeLimitMode(){return this._instantChargeLimitMode}set instantChargeLimitMode(e){this._instantChargeLimitMode=e,X("cpInstantChargeLimitMode",e,this.id)}updateInstantChargeLimitMode(e){this._instantChargeLimitMode=e}get instantTargetSoc(){return this._instantTargetSoc}set instantTargetSoc(e){this._instantTargetSoc=e,X("cpInstantTargetSoc",e,this.id)}updateInstantTargetSoc(e){this._instantTargetSoc=e}get instantMaxEnergy(){return this._instantMaxEnergy}set instantMaxEnergy(e){this._instantMaxEnergy=e,X("cpInstantMaxEnergy",e,this.id)}updateInstantMaxEnergy(e){this._instantMaxEnergy=e}get pvFeedInLimit(){return this._pvFeedInLimit}set pvFeedInLimit(e){this._pvFeedInLimit=e,X("cpPvFeedInLimit",e,this.id)}updatePvFeedInLimit(e){this._pvFeedInLimit=e}get pvMinCurrent(){return this._pvMinCurrent}set pvMinCurrent(e){this._pvMinCurrent=e,X("cpPvMinCurrent",e,this.id)}updatePvMinCurrent(e){this._pvMinCurrent=e}get pvMaxSoc(){return this._pvMaxSoc}set pvMaxSoc(e){this._pvMaxSoc=e,X("cpPvMaxSoc",e,this.id)}updatePvMaxSoc(e){this._pvMaxSoc=e}get pvMinSoc(){return this._pvMinSoc}set pvMinSoc(e){this._pvMinSoc=e,X("cpPvMinSoc",e,this.id)}updatePvMinSoc(e){this._pvMinSoc=e}get pvMinSocCurrent(){return this._pvMinSocCurrent}set pvMinSocCurrent(e){this._pvMinSocCurrent=e,X("cpPvMinSocCurrent",e,this.id)}updatePvMinSocCurrent(e){this._pvMinSocCurrent=e}get realCurrent(){switch(this.phasesInUse){case 0:return 0;case 1:return this.currents[0];case 2:return(this.currents[0]+this.currents[1])/2;case 3:return(this.currents[0]+this.currents[1]+this.currents[2])/3;default:return 0}}get etActive(){return A[this.connectedVehicle]?A[this.connectedVehicle].etActive:!1}set etActive(e){A[this.connectedVehicle]&&(A[this.connectedVehicle].etActive=e)}get etMaxPrice(){return A[this.connectedVehicle].etMaxPrice??0}set etMaxPrice(e){console.log("Setting et max price needs to be implemented"),X("cpEtMaxPrice",Math.round(e*10)/1e6,this.id)}toPowerItem(){return{name:this.name,power:this.power,energy:this.dailyYield,energyPv:this.energyPv,energyBat:this.energyBat,pvPercentage:this.pvPercentage,color:this.color,icon:this.icon}}}class Oa{constructor(e){s(this,"id");s(this,"name","");s(this,"_chargeTemplateId",0);s(this,"_evTemplateId",0);s(this,"tags",[]);s(this,"config",{});s(this,"soc",0);s(this,"range",0);s(this,"_etActive",!1);s(this,"_etMaxPrice",20);this.id=e}get chargeTemplateId(){return this._chargeTemplateId}set chargeTemplateId(e){this._chargeTemplateId=e,X("vhChargeTemplateId",e,this.id)}updateChargeTemplateId(e){this._chargeTemplateId=e}get evTemplateId(){return this._evTemplateId}set evTemplateId(e){this._evTemplateId=e,X("vhEvTemplateId",e,this.id)}updateEvTemplateId(e){this._evTemplateId=e}get etActive(){return re[this.chargeTemplateId]?re[this.chargeTemplateId].et.active:!1}set etActive(e){re[this.chargeTemplateId]&&X("priceCharging",e,this.chargeTemplateId)}get etMaxPrice(){if(re[this.chargeTemplateId]&&re[this.chargeTemplateId].et.active)return re[this.chargeTemplateId].et.max_price*1e5}get chargepoint(){for(const e of Object.values(w))if(e.connectedVehicle==this.id)return e}}var ge=(t=>(t.instant_charging="instant_charging",t.pv_charging="pv_charging",t.scheduled_charging="scheduled_charging",t.standby="standby",t.stop="stop",t))(ge||{});const w=J({}),A=J({}),re=J({}),it=J({}),ct=J({}),Ba=J({});function Ta(t){t in w||(w[t]=new Ia(t),w[t].color="var(--color-cp"+(Object.values(w).length-1)+")")}function La(){Object.keys(w).forEach(t=>{delete w[parseInt(t)]})}const Va={cpLock:"openWB/set/chargepoint/%/set/manual_lock",chargeMode:"openWB/set/vehicle/template/charge_template/%/chargemode/selected",cpPriority:"openWB/set/vehicle/template/charge_template/%/prio",cpTimedCharging:"openWB/set/vehicle/template/charge_template/%/time_charging/active",pvBatteryPriority:"openWB/set/general/chargemode_config/pv_charging/bat_mode",cpVehicle:"openWB/set/chargepoint/%/config/ev",cpInstantChargeLimitMode:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/selected",cpInstantTargetCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/current",cpInstantTargetSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/soc",cpInstantMaxEnergy:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/amount",cpPvFeedInLimit:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/feed_in_limit",cpPvMinCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_current",cpPvMaxSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/max_soc",cpPvMinSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_soc",cpPvMinSocCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_soc_current",cpEtMaxPrice:"openWB/set/vehicle/template/charge_template/%/et/max_price",vhChargeTemplateId:"openWB/set/vehicle/%/charge_template",vhEvTemplateId:"openWB/set/vehicle/%/ev_template",shSetManual:"openWB/set/LegacySmartHome/config/set/Devices/%/mode",shSwitchOn:"openWB/set/LegacySmartHome/config/set/Devices/%/device_manual_control",socUpdate:"openWB/set/vehicle/%/get/force_soc_update",setSoc:"openWB/set/vehicle/%/soc_module/calculated_soc_state/manual_soc",priceCharging:"openWB/set/vehicle/template/charge_template/%/et/active"};function X(t,e,a=0){if(isNaN(a)){console.warn("Invalid index");return}let n=Va[t];if(!n){console.warn("No topic for update type "+t);return}switch(t){case"chargeMode":case"cpPriority":case"cpScheduledCharging":case"cpInstantTargetCurrent":case"cpInstantChargeLimitMode":case"cpInstantTargetSoc":case"cpInstantMaxEnergy":case"cpPvFeedInLimit":case"cpPvMinCurrent":case"cpPvMaxSoc":case"cpPvMinSoc":case"cpEtMaxPrice":case"cpPvMinSocCurrent":n=n.replace("%",w[a].chargeTemplate.toString());break;default:n=n.replace("%",String(a))}switch(typeof e){case"number":mt(n,JSON.stringify(+e));break;default:mt(n,JSON.stringify(e))}}function wt(t){mt("openWB/set/command/"+bt()+"/todo",JSON.stringify(t))}class Aa{constructor(){s(this,"batterySoc",0);s(this,"isBatteryConfigured",!0);s(this,"chargeMode","0");s(this,"_pvBatteryPriority","ev_mode");s(this,"displayLiveGraph",!0);s(this,"isEtEnabled",!0);s(this,"etMaxPrice",0);s(this,"etCurrentPrice",0);s(this,"cpDailyExported",0);s(this,"evuId",0);s(this,"etProvider","");s(this,"ipAddress","");s(this,"systemTime",0);s(this,"version","");s(this,"versionDetails","");s(this,"devBranch","")}get pvBatteryPriority(){return this._pvBatteryPriority}set pvBatteryPriority(e){this._pvBatteryPriority=e,X("pvBatteryPriority",e)}updatePvBatteryPriority(e){this._pvBatteryPriority=e}}const Da=[["EV","ev_mode"],["Speicher","bat_mode"],["MinSoc","min_soc_bat_mode"]],ae=J({evuIn:{name:"Netz",color:"var(--color-evu)",icon:""},pv:{name:"PV",color:"var(--color-pv",icon:""},batOut:{name:"Bat >",color:"var(--color-battery)",icon:""},evuOut:{name:"Export",color:"var(--color-export)",icon:""},charging:{name:"Laden",color:"var(--color-charging)",icon:""},devices:{name:"Geräte",color:"var(--color-devices)",icon:""},batIn:{name:"> Bat",color:"var(--color-battery)",icon:""},house:{name:"Haus",color:"var(--color-house)",icon:""},cp1:{name:"Ladepunkt",color:"var(--color-cp1)",icon:"Ladepunkt"},cp2:{name:"Ladepunkt",color:"var(--color-cp2)",icon:"Ladepunkt"},cp3:{name:"Ladepunkt",color:"var(--color-cp3)",icon:"Ladepunkt"},cp4:{name:"Ladepunkt",color:"var(--color-cp4)",icon:"Ladepunkt"},cp5:{name:"Ladepunkt",color:"var(--color-cp5)",icon:"Ladepunkt"},cp6:{name:"Ladepunkt",color:"var(--color-cp6)",icon:"Ladepunkt"},cp7:{name:"Ladepunkt",color:"var(--color-cp7)",icon:"Ladepunkt"},cp8:{name:"Ladepunkt",color:"var(--color-cp8)",icon:"Ladepunkt"},sh1:{name:"Gerät",color:"var(--color-sh1)",icon:"Gerät"},sh2:{name:"Gerät",color:"var(--color-sh2)",icon:"Gerät"},sh3:{name:"Gerät",color:"var(--color-sh3)",icon:"Gerät"},sh4:{name:"Gerät",color:"var(--color-sh4)",icon:"Gerät"},sh5:{name:"Gerät",color:"var(--color-sh5)",icon:"Gerät"},sh6:{name:"Gerät",color:"var(--color-sh6)",icon:"Gerät"},sh7:{name:"Gerät",color:"var(--color-sh7)",icon:"Gerät"},sh8:{name:"Gerät",color:"var(--color-sh8)",icon:"Gerät"},sh9:{name:"Gerät",color:"var(--color-sh9)",icon:"Gerät"}});class Rt{constructor(){s(this,"_items",{});this.addItem("evuIn"),this.addItem("pv"),this.addItem("batOut"),this.addItem("evuOut"),this.addItem("charging"),this.addItem("devices"),this.addItem("batIn"),this.addItem("house")}get items(){return this._items}keys(){return Object.keys(this._items)}values(){return Object.values(this._items)}addItem(e){this._items[e]=ke(e)}setEnergy(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energy=a}setEnergyPv(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energyPv=a}setEnergyBat(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energyBat=a}setPvPercentage(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].pvPercentage=a}calculateHouseEnergy(){this._items.house.energy=this._items.evuIn.energy+this._items.pv.energy+this._items.batOut.energy-this._items.evuOut.energy-this._items.batIn.energy-this._items.charging.energy-this._items.devices.energy}}let P=new Rt;function St(){P=new Rt}const E=J({evuIn:ke("evuIn"),pv:ke("pv"),batOut:ke("batOut")}),$=J({evuOut:ke("evuOut"),charging:ke("charging"),devices:ke("devices"),batIn:ke("batIn"),house:ke("house")}),F=J(new Aa);de("");const tt=de(!1);function ke(t){return{name:ae[t]?ae[t].name:"item",power:0,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:ae[t]?ae[t].color:"var(--color-charging)",icon:ae[t]?ae[t].icon:""}}const ne=J({active:!1,locked:!0,usePin:!1,code:"",timeout:60,localCpOnly:!1});function vt(){ne.usePin&&ne.locked?new Gt("#numberpad").toggle():(ne.locked=!1,setTimeout(()=>{ne.locked=!0},ne.timeout*1e3))}function Ga(t){return t==ne.code}function Ea(){$.house.power=$.house.power-$.devices.power}const Ot=de(new Date),Wa={class:"scaled"},za=T({__name:"DisplayButton",props:{icon:{},bgcolor:{},color:{}},emits:["click"],setup(t,{emit:e}){const a=t,n=e;function o(){n("click",!0)}return(i,h)=>(p(),y("div",{style:oe({"background-color":a.bgcolor?a.bgcolor:"var(--color-bg)",color:a.color?a.color:"var(--color-title)"}),class:"displaybutton rounded-pill",type:"button",onClick:o},[a.icon?(p(),y("span",{key:0,class:K(["fas me-2 scaled",a.icon])},null,2)):M("",!0),c("span",Wa,[pe(i.$slots,"default",{},void 0,!0)])],4))}}),Q=(t,e)=>{const a=t.__vccOpts||t;for(const[n,o]of e)a[n]=o;return a},Ce=Q(za,[["__scopeId","data-v-d2ce91a5"]]);class ja{constructor(e){s(this,"id");s(this,"name","Gerät");s(this,"power",0);s(this,"status","off");s(this,"energy",0);s(this,"runningTime",0);s(this,"configured",!1);s(this,"_showInGraph",!0);s(this,"color","white");s(this,"canSwitch",!1);s(this,"countAsHouse",!1);s(this,"energyPv",0);s(this,"energyBat",0);s(this,"pvPercentage",0);s(this,"tempConfigured",0);s(this,"temp",[300,300,300]);s(this,"on",!1);s(this,"isAutomatic",!0);s(this,"icon","");this.id=e}get showInGraph(){return this._showInGraph}set showInGraph(e){this._showInGraph=e,H()}setShowInGraph(e){this._showInGraph=e}}const V=J({});function Ht(t){t in V?console.info("Duplicate sh device message: "+t):(V[t]=new ja(t),V[t].color="var(--color-sh"+Object.values(V).length+")")}class Na{constructor(){s(this,"graphToShow","powermeter");s(this,"cpToShow",0);s(this,"displayLocked",!0);s(this,"_showRelativeArcs",!1);s(this,"showTodayGraph",!0);s(this,"_graphPreference","live");s(this,"_usageStackOrder",0);s(this,"_displayMode","dark");s(this,"_showGrid",!1);s(this,"_smartHomeColors","normal");s(this,"_decimalPlaces",1);s(this,"_showQuickAccess",!0);s(this,"_simpleCpList",!1);s(this,"_shortCpList","no");s(this,"_showAnimations",!0);s(this,"_preferWideBoxes",!1);s(this,"_maxPower",4e3);s(this,"_fluidDisplay",!1);s(this,"_showClock","no");s(this,"_showButtonBar",!0);s(this,"_showCounters",!1);s(this,"_showVehicles",!1);s(this,"_showPrices",!1);s(this,"_debug",!1);s(this,"isEtEnabled",!1);s(this,"etPrice",20.5);s(this,"showRightButton",!0);s(this,"showLeftButton",!0);s(this,"animationDuration",300);s(this,"animationDelay",100);s(this,"zoomGraph",!1)}get showRelativeArcs(){return this._showRelativeArcs}set showRelativeArcs(e){this._showRelativeArcs=e,H()}setShowRelativeArcs(e){this._showRelativeArcs=e}get graphPreference(){return this._graphPreference}set graphPreference(e){this._graphPreference=e,H()}setGraphPreference(e){this._graphPreference=e}get usageStackOrder(){return this._usageStackOrder}set usageStackOrder(e){this._usageStackOrder=e,H()}setUsageStackOrder(e){this._usageStackOrder=e}get displayMode(){return this._displayMode}set displayMode(e){this._displayMode=e,Ja(e)}setDisplayMode(e){this._displayMode=e}get showGrid(){return this._showGrid}set showGrid(e){this._showGrid=e,H()}setShowGrid(e){this._showGrid=e}get decimalPlaces(){return this._decimalPlaces}set decimalPlaces(e){this._decimalPlaces=e,H()}setDecimalPlaces(e){this._decimalPlaces=e}get smartHomeColors(){return this._smartHomeColors}set smartHomeColors(e){this._smartHomeColors=e,Bt(e),H()}setSmartHomeColors(e){this._smartHomeColors=e,Bt(e)}get showQuickAccess(){return this._showQuickAccess}set showQuickAccess(e){this._showQuickAccess=e,H()}setShowQuickAccess(e){this._showQuickAccess=e}get simpleCpList(){return this._simpleCpList}set simpleCpList(e){this._simpleCpList=e,H()}setSimpleCpList(e){this._simpleCpList=e}get shortCpList(){return this._shortCpList}set shortCpList(e){this._shortCpList=e,H()}setShortCpList(e){this._shortCpList=e}get showAnimations(){return this._showAnimations}set showAnimations(e){this._showAnimations=e,H()}setShowAnimations(e){this._showAnimations=e}get preferWideBoxes(){return this._preferWideBoxes}set preferWideBoxes(e){this._preferWideBoxes=e,H()}setPreferWideBoxes(e){this._preferWideBoxes=e}get maxPower(){return this._maxPower}set maxPower(e){this._maxPower=e,H()}setMaxPower(e){this._maxPower=e}get fluidDisplay(){return this._fluidDisplay}set fluidDisplay(e){this._fluidDisplay=e,H()}setFluidDisplay(e){this._fluidDisplay=e}get showClock(){return this._showClock}set showClock(e){this._showClock=e,H()}setShowClock(e){this._showClock=e}get debug(){return this._debug}set debug(e){this._debug=e,H()}setDebug(e){this._debug=e}get showButtonBar(){return this._showButtonBar}set showButtonBar(e){this._showButtonBar=e,H()}setShowButtonBar(e){this._showButtonBar=e}get showCounters(){return this._showCounters}set showCounters(e){this._showCounters=e,H()}setShowCounters(e){this._showCounters=e}get showVehicles(){return this._showVehicles}set showVehicles(e){this._showVehicles=e,H()}setShowVehicles(e){this._showVehicles=e}get showPrices(){return this._showPrices}set showPrices(e){this._showPrices=e,H()}setShowPrices(e){this._showPrices=e}}const v=J(new Na),Ua=992,ft=J({x:document.documentElement.clientWidth,y:document.documentElement.clientHeight});function Fa(){ft.x=document.documentElement.clientWidth,ft.y=document.documentElement.clientHeight}g(()=>ft.x>=Ua);const Ge={stop:{mode:ge.stop,name:"Stop",color:"var(--color-fg)",icon:"fa-power-off"},standby:{mode:ge.standby,name:"Standby",color:"var(--color-axis",icon:"fa-pause"},pv_charging:{mode:ge.pv_charging,name:"PV",color:"var(--color-pv",icon:"fa-solar-panel"},scheduled_charging:{mode:ge.scheduled_charging,name:"Zielladen",color:"var(--color-battery)",icon:"fa-bullseye"},instant_charging:{mode:ge.instant_charging,name:"Sofort",color:"var(--color-charging)",icon:"fa-bolt"}};function H(){Ra()}function Ja(t){const e=ye("html");e.classed("theme-dark",t=="dark"),e.classed("theme-light",t=="light"),e.classed("theme-blue",t=="blue"),H()}function Bt(t){const e=ye("html");e.classed("shcolors-normal",t=="normal"),e.classed("shcolors-standard",t=="standard"),e.classed("shcolors-advanced",t=="advanced")}const lt={chargemode:"Der Lademodus für das Fahrzeug an diesem Ladepunkt",vehicle:"Das Fahrzeug, das an diesem Ladepounkt geladen wird",locked:"Für das Laden sperren",priority:"Fahrzeuge mit Priorität werden bevorzugt mit mehr Leistung geladen, falls verfügbar",timeplan:"Das Laden nach Zeitplan für dieses Fahrzeug aktivieren",minsoc:"Immer mindestens bis zum eingestellten Ladestand laden. Wenn notwendig mit Netzstrom.",minpv:"Durchgehend mit mindestens dem eingestellten Strom laden. Wenn notwendig mit Netzstrom.",pricebased:"Laden bei dynamischem Stromtarif, wenn eingestellter Maximalpreis unterboten wird."};function Ra(){const t={};t.hideSH=Object.values(V).filter(e=>!e.showInGraph).map(e=>e.id),t.showLG=v.graphPreference=="live",t.displayM=v.displayMode,t.stackO=v.usageStackOrder,t.showGr=v.showGrid,t.decimalP=v.decimalPlaces,t.smartHomeC=v.smartHomeColors,t.relPM=v.showRelativeArcs,t.maxPow=v.maxPower,t.showQA=v.showQuickAccess,t.simpleCP=v.simpleCpList,t.shortCP=v.shortCpList,t.animation=v.showAnimations,t.wideB=v.preferWideBoxes,t.fluidD=v.fluidDisplay,t.clock=v.showClock,t.showButtonBar=v.showButtonBar,t.showCounters=v.showCounters,t.showVehicles=v.showVehicles,t.showPrices=v.showPrices,t.debug=v.debug,document.cookie="openWBColorTheme="+JSON.stringify(t)+";max-age=16000000;samesite=strict"}const Fe=t=>(me("data-v-126005ae"),t=t(),ve(),t),Ha={class:"navigation"},Ya={class:"graphbuttons"},Qa={class:"timedisplay"},qa={class:"cpbuttons"},Xa=Fe(()=>c("span",{class:"fas fa-arrow-left px-2"},null,-1)),Za=Fe(()=>c("span",{class:"fas fa-charging-station pe-2"},null,-1)),Ka=Fe(()=>c("span",{class:"fas fa-lock px-4"},null,-1)),en=Fe(()=>c("span",{class:"fas fa-charging-station px-2"},null,-1)),tn=Fe(()=>c("span",{class:"fas fa-arrow-right pe-2"},null,-1)),an=T({__name:"NavigationBar",setup(t){let e;function a(){let d=Object.values(w).length;v.cpToShow=(v.cpToShow+1)%d}function n(){let d=Object.values(w).length;v.cpToShow=((v.cpToShow-1)%d+d)%d}function o(){v.graphToShow="powermeter"}function i(){v.graphToShow="powergraph"}function h(){v.graphToShow="energymeter"}return _t(()=>{e=setInterval(()=>{Ot.value=new Date},1e3)}),ha(()=>{clearInterval(e)}),(d,l)=>(p(),y("div",Ha,[c("span",Ya,[c("span",Qa,I(r(wa)(r(Ot))),1),_(Ce,{icon:"fa-chart-pie",onClick:o},{default:k(()=>[j("Leistung")]),_:1}),_(Ce,{icon:"fa-chart-line",onClick:i},{default:k(()=>[j("Verlauf")]),_:1}),_(Ce,{icon:"fa-chart-column",onClick:h},{default:k(()=>[j("Energie")]),_:1})]),_(Ce,{icon:"fa-rectangle-list","data-bs-toggle":"modal","data-bs-target":"#statuspage"},{default:k(()=>[j("Status")]),_:1}),c("span",qa,[_(Ce,{color:"var(--color-cp0)",onClick:n},{default:k(()=>[Xa,Za]),_:1}),_(Ce,{bgcolor:r(ne).locked?"var(--color-evu)":"var(--color-pv)",onClick:r(vt)},{default:k(()=>[Ka]),_:1},8,["bgcolor","onClick"]),_(Ce,{color:"var(--color-cp0)",onClick:a},{default:k(()=>[en,tn]),_:1})])]))}}),nn=Q(an,[["__scopeId","data-v-126005ae"]]),on=["origin"],rn=T({__name:"PMSourceArc",props:{radius:{},cornerRadius:{},circleGapSize:{},emptyPower:{}},setup(t){const e=t,a=g(()=>{let n={name:"",power:e.emptyPower,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:"var(--color-bg)",icon:""},o=E;o["zz-empty"]=n;const i=Object.values(E).length-1,h=Et().value(m=>m.power).startAngle(-Math.PI/2+e.circleGapSize).endAngle(Math.PI/2-e.circleGapSize).sort(null),d=Wt().innerRadius(e.radius/6*5).outerRadius(e.radius).cornerRadius(e.cornerRadius).padAngle(0),l=ye("g#pmSourceArc");return l.selectAll("*").remove(),l.selectAll("sources").data(h(Object.values(o))).enter().append("path").attr("d",d).attr("fill",m=>m.data.color).attr("stroke",(m,f)=>f==i?m.data.power>0?"var(--color-scale)":"null":m.data.color),"pmSourceArc.vue"});return pa(()=>{let n=E.pv.power+E.evuIn.power+E.batOut.power;n>v.maxPower&&(v.maxPower=n)}),(n,o)=>(p(),y("g",{id:"pmSourceArc",origin:a.value},null,8,on))}}),sn=["origin"],cn=T({__name:"PMUsageArc",props:{radius:{},cornerRadius:{},circleGapSize:{},emptyPower:{}},setup(t){const e=t,a=g(()=>{let n={name:"",power:e.emptyPower,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:"var(--color-bg)",icon:""};const o=[$.evuOut,$.charging].concat(Object.values(V).filter(m=>m.configured&&!m.countAsHouse).sort((m,f)=>f.power-m.power)).concat([$.batIn,$.house]).concat(n),i=o.length-1,h=Et().value(m=>m.power).startAngle(Math.PI*1.5-e.circleGapSize).endAngle(Math.PI/2+e.circleGapSize).sort(null),d=Wt().innerRadius(e.radius/6*5).outerRadius(e.radius).cornerRadius(e.cornerRadius),l=ye("g#pmUsageArc");return l.selectAll("*").remove(),l.selectAll("consumers").data(h(o)).enter().append("path").attr("d",d).attr("fill",m=>m.data.color).attr("stroke",(m,f)=>f==i?m.data.power>0?"var(--color-scale)":"null":m.data.color),"pmUsageArc.vue"});return(n,o)=>(p(),y("g",{id:"pmUsageArc",origin:a.value},null,8,sn))}}),Yt=T({__name:"FormatWatt",props:{watt:{}},setup(t){const e=t,a=g(()=>Qe(e.watt,v.decimalPlaces));return(n,o)=>I(a.value)}}),ln={key:0,id:"pmLabel"},un=["x","y","fill","text-anchor"],dn=22,fe=T({__name:"PMLabel",props:{x:{},y:{},data:{},props:{},anchor:{},labeltext:{},labelicon:{},labelcolor:{}},setup(t){const e=t,a=g(()=>e.labeltext?e.labeltext:e.props?e.props.icon+" ":e.labelicon?e.labelicon+" ":""),n=g(()=>e.labelcolor?e.labelcolor:e.props?e.props.color:""),o=g(()=>!e.data||e.data.power>0),i=g(()=>e.labeltext?"":"fas");return(h,d)=>o.value?(p(),y("g",ln,[c("text",{x:h.x,y:h.y,fill:n.value,"text-anchor":h.anchor,"font-size":dn,class:"pmLabel"},[c("tspan",{class:K(i.value)},I(a.value),3),c("tspan",null,[h.data!==void 0?(p(),B(Yt,{key:0,watt:h.data.power},null,8,["watt"])):M("",!0)])],8,un)])):M("",!0)}}),hn={class:"wb-widget p-0 m-0 shadow"},pn={class:"d-flex justify-content-between"},gn={class:"m-4 me-0 mb-0"},mn=c("div",{class:"p-0"},"(title goes here)",-1),vn={class:"p-4 pb-0 ps-0 m-0",style:{"text-align":"right"}},fn={class:"px-4 pt-4 pb-2 wb-subwidget"},_n={class:"row"},yn={class:"col m-0 p-0"},bn={class:"container-fluid m-0 p-0"},wn={key:0},Sn=c("hr",null,null,-1),kn={class:"px-4 py-2 wb-subwidget"},Mn={class:"row"},xn={class:"col"},Pn={class:"container-fluid m-0 p-0"},ot=T({__name:"WBWidget",props:{variableWidth:{type:Boolean},fullWidth:{type:Boolean}},setup(t){const e=t,a=g(()=>e.fullWidth?"col-12":e.variableWidth&&v.preferWideBoxes?"col-lg-6":"col-lg-4");return(n,o)=>(p(),y("div",{class:K(["p-2 m-0 d-flex",a.value])},[c("div",hn,[c("div",pn,[c("h3",gn,[pe(n.$slots,"title",{},()=>[mn]),pe(n.$slots,"subtitle")]),c("div",vn,[pe(n.$slots,"buttons")])]),c("div",fn,[c("div",_n,[c("div",yn,[c("div",bn,[pe(n.$slots,"default")])])])]),n.$slots.footer!=null?(p(),y("div",wn,[Sn,c("div",kn,[c("div",Mn,[c("div",xn,[c("div",Pn,[pe(n.$slots,"footer")])])])])])):M("",!0)])],2))}});class Cn{constructor(){s(this,"active",!1);s(this,"etPriceList",new Map);s(this,"etProvider","");s(this,"etMaxPrice",0)}get etCurrentPriceString(){const[e]=se.etPriceList.values();return(Math.round(e*10)/10).toFixed(1)+" ct"}}const se=J(new Cn),$n={id:"powermeter",class:"p-0 m-0"},In=["viewBox"],On=["transform"],Bn={transform:"scale(0.9294,1)"},Tn=["x"],be=500,we=20,Tt=1,Ln=T({__name:"PowerMeter",setup(t){const e=be,a=Math.PI/40,n=[[4],[4,6],[1,4,6],[0,2,4,6],[0,2,3,5,6]],o=[{x:-85,y:e/2*1/5},{x:0,y:e/2*1/5},{x:85,y:e/2*1/5},{x:-85,y:e/2*2/5},{x:0,y:e/2*2/5},{x:85,y:e/2*2/5},{x:0,y:e/2*3/5}],i=g(()=>be/2-we),h=g(()=>{let x="",N=Object.values(E).filter(z=>z.power>0);return N.length==1&&N[0].name=="PV"?x="Aktueller Verbrauch: ":x="Bezug/Verbrauch: ",x+Qe($.house.power+$.charging.power+$.devices.power+$.batIn.power,v.decimalPlaces)}),d=g(()=>{let x=E.pv.power+E.evuIn.power+E.batOut.power;return v.maxPower>x?Qe(v.maxPower,v.decimalPlaces):Qe(x,v.decimalPlaces)}),l=g(()=>Object.values(w)),m=g(()=>{let x=0;return v.showRelativeArcs&&(x=v.maxPower-(E.pv.power+E.evuIn.power+E.batOut.power)),x<0?0:x}),f=g(()=>[$.evuOut,$.charging,$.devices,$.batIn,$.house].filter(x=>x.power>0)),W=g(()=>n[f.value.length-1]);function S(x){return o[W.value[x]]}function Y(x){return Math.round(l.value[x].soc)}function q(x){return x.length>12?x.slice(0,11)+".":x}const U=g(()=>{const[x]=se.etPriceList.values();return Math.round(x*10)/10});return(x,N)=>(p(),B(ot,{"full-width":!0},{title:k(()=>[j(" Aktuelle Leistung ")]),default:k(()=>[c("figure",$n,[(p(),y("svg",{viewBox:"0 0 "+be+" "+r(e)},[c("g",{transform:"translate("+be/2+","+r(e)/2+")"},[c("g",Bn,[_(rn,{radius:i.value,"corner-radius":Tt,"circle-gap-size":a,"empty-power":m.value},null,8,["radius","empty-power"]),_(cn,{"sh-device":r(V),radius:i.value,"corner-radius":Tt,"circle-gap-size":a,"empty-power":m.value},null,8,["sh-device","radius","empty-power"]),_(fe,{x:0,y:-r(e)/10*2,data:r(E).pv,props:r(ae).pv,anchor:"middle",config:r(v)},null,8,["y","data","props","config"]),_(fe,{x:0,y:-r(e)/10*3,data:r(E).evuIn,props:r(ae).evuIn,anchor:"middle",config:r(v)},null,8,["y","data","props","config"]),_(fe,{x:0,y:-r(e)/10,data:r(E).batOut,props:r(ae).batOut,anchor:"middle",config:r(v)},null,8,["y","data","props","config"]),r(se).active?(p(),B(fe,{key:0,x:0,y:-r(e)/10,data:r(E).batOut,props:r(ae).batOut,anchor:"middle",config:r(v)},null,8,["y","data","props","config"])):M("",!0),(p(!0),y(Ie,null,Ae(f.value,(z,O)=>(p(),B(fe,{key:O,x:S(O).x,y:S(O).y,data:z,labelicon:z.icon,labelcolor:z.color,anchor:"middle",config:r(v)},null,8,["x","y","data","labelicon","labelcolor","config"]))),128)),l.value.length>0&&r(A)[l.value[0].connectedVehicle]?(p(),B(fe,{key:1,x:-be/2-we/4+10,y:-r(e)/2+we+5,labeltext:q(r(A)[l.value[0].connectedVehicle].name)+": "+Y(0)+"%",labelcolor:l.value[0].color,anchor:"start",config:r(v)},null,8,["x","y","labeltext","labelcolor","config"])):M("",!0),l.value.length>1&&r(A)[l.value[1].connectedVehicle]?(p(),B(fe,{key:2,x:be/2+we/4-10,y:-r(e)/2+we+5,labeltext:q(r(A)[l.value[1].connectedVehicle].name)+": "+Y(1)+"%",labelcolor:l.value[1].color,anchor:"end",config:r(v)},null,8,["x","y","labeltext","labelcolor","config"])):M("",!0),r(F).batterySoc>0?(p(),B(fe,{key:3,x:-be/2-we/4+10,y:r(e)/2-we+15,labeltext:"Speicher: "+r(F).batterySoc+"%",labelcolor:r($).batIn.color,anchor:"start",config:r(v)},null,8,["x","y","labeltext","labelcolor","config"])):M("",!0),r(se).active?(p(),B(fe,{key:4,x:be/2+we/4-10,y:r(e)/2-we+15,value:U.value,labeltext:r(se).etCurrentPriceString,labelcolor:"var(--color-charging)",anchor:"end",config:r(v)},null,8,["x","y","value","labeltext","config"])):M("",!0),_(fe,{x:0,y:0,labeltext:h.value,labelcolor:"var(--color-fg)",anchor:"middle",config:r(v)},null,8,["labeltext","config"]),r(v).showRelativeArcs?(p(),y("text",{key:5,x:be/2-44,y:"2","text-anchor":"middle",fill:"var(--color-axis)","font-size":"12"}," Peak: "+I(d.value),9,Tn)):M("",!0)])],8,On)],8,In))])]),_:1}))}}),Se=500,Pe=500,L={top:10,right:20,bottom:10,left:25},kt=["charging","house","batIn","devices"];class Vn{constructor(){s(this,"data",[]);s(this,"_graphMode","")}get graphMode(){return this._graphMode}set graphMode(e){this._graphMode=e}}const u=J(new Vn);let at=!0,Ne=!0;function Lt(){at=!1}function Vt(){Ne=!1}function An(t){Ne=t}function Je(t){u.data=t}const Z=J({refreshTopicPrefix:"openWB/graph/alllivevaluesJson",updateTopic:"openWB/graph/lastlivevaluesJson",configTopic:"openWB/graph/config/#",initialized:!1,initCounter:0,graphRefreshCounter:0,rawDataPacks:[],duration:0,activate(){u.data=[],this.unsubscribeUpdates(),this.subscribeRefresh(),Be(this.configTopic),this.initialized=!1,this.initCounter=0,this.graphRefreshCounter=0,this.rawDataPacks=[],zn(),tt.value=!0},deactivate(){this.unsubscribeRefresh(),this.unsubscribeUpdates(),Ve(this.configTopic)},subscribeRefresh(){for(let t=1;t<17;t++)Be(this.refreshTopicPrefix+t)},unsubscribeRefresh(){for(let t=1;t<17;t++)Ve(this.refreshTopicPrefix+t)},subscribeUpdates(){Be(this.updateTopic)},unsubscribeUpdates(){Ve(this.updateTopic)}}),R=J({topic:"openWB/log/daily/#",date:new Date,activate(){if(u.graphMode=="day"||u.graphMode=="today"){u.graphMode=="today"&&(this.date=new Date);const t=this.date.getFullYear().toString()+(this.date.getMonth()+1).toString().padStart(2,"0")+this.date.getDate().toString().padStart(2,"0");Be(this.topic),wt({command:"getDailyLog",data:{day:t}})}},deactivate(){Ve(this.topic)},back(){this.date=new Date(this.date.setTime(this.date.getTime()-864e5))},forward(){this.date=new Date(this.date.setTime(this.date.getTime()+864e5))},setDate(t){this.date=t},getDate(){return this.date}}),Me=J({topic:"openWB/log/monthly/#",month:new Date().getMonth()+1,year:new Date().getFullYear(),activate(){const t=this.year.toString()+this.month.toString().padStart(2,"0");u.data=[],Be(this.topic),wt({command:"getMonthlyLog",data:{month:t}})},deactivate(){Ve(this.topic)},back(){this.month-=1,this.month<1&&(this.month=12,this.year-=1),this.activate()},forward(){const t=new Date;t.getFullYear()==this.year?this.month-112&&(this.month=1,this.year+=1)),this.activate()},getDate(){return new Date(this.year,this.month)}}),$e=J({topic:"openWB/log/yearly/#",month:new Date().getMonth()+1,year:new Date().getFullYear(),activate(){const t=this.year.toString();u.data=[],Be(this.topic),wt({command:"getYearlyLog",data:{year:t}})},deactivate(){Ve(this.topic)},back(){this.year-=1,this.activate()},forward(){this.year0&&(P.items[t].energyPv+=1e3/12*(e[t]*(e.pv-e.evuOut))/(e.pv-e.evuOut+e.evuIn+e.batOut),P.items[t].energyBat+=1e3/12*(e[t]*e.batOut)/(e.pv-e.evuOut+e.evuIn+e.batOut))}function En(t,e){e[t]>0&&(P.items[t].energyPv+=1e3*(e[t]*(e.pv-e.evuOut))/(e.pv-e.evuOut+e.evuIn+e.batOut),P.items[t].energyBat+=1e3*(e[t]*e.batOut)/(e.pv-e.evuOut+e.evuIn+e.batOut))}const Wn=["evuIn","pv","batIn","evuOut"],ze=de(!1);function Mt(t,e){Object.entries(t).length>0?(ze.value=!1,Object.entries(t.counter).forEach(([a,n])=>{(e.length==0||e.includes(a))&&(P.items.evuIn.energy+=n.energy_imported,P.items.evuOut.energy+=n.energy_exported)}),P.items.pv.energy=t.pv.all.energy_exported,t.bat.all&&(P.items.batIn.energy=t.bat.all.energy_imported,P.items.batOut.energy=t.bat.all.energy_exported),Object.entries(t.cp).forEach(([a,n])=>{a=="all"?P.setEnergy("charging",n.energy_imported):P.setEnergy(a,n.energy_imported)}),P.setEnergy("devices",0),Object.entries(t.sh).forEach(([a,n])=>{P.setEnergy(a,n.energy_imported);const o=a.substring(2);V[+o].countAsHouse||(P.items.devices.energy+=n.energy_imported)}),t.hc&&t.hc.all?P.setEnergy("house",t.hc.all.energy_imported):P.calculateHouseEnergy(),P.keys().map(a=>{Wn.includes(a)||(P.setPvPercentage(a,Math.round((P.items[a].energyPv+P.items[a].energyBat)/P.items[a].energy*100)),kt.includes(a)&&($[a].energy=P.items[a].energy,$[a].energyPv=P.items[a].energyPv,$[a].energyBat=P.items[a].energyBat,$[a].pvPercentage=P.items[a].pvPercentage))}),u.graphMode=="today"&&(Object.values(w).map(a=>{const n=P.items["cp"+a.id];n&&(a.energyPv=n.energyPv,a.energyBat=n.energyBat,a.pvPercentage=n.pvPercentage)}),Object.values(V).map(a=>{const n=P.items["sh"+a.id];n&&(a.energy=n.energy,a.energyPv=n.energyPv,a.energyBat=n.energyBat,a.pvPercentage=n.pvPercentage)}))):ze.value=!0,tt.value=!0}function zn(){P.keys().map(t=>{kt.includes(t)&&($[t].energy=P.items[t].energy,$[t].energyPv=0,$[t].energyBat=0,$[t].pvPercentage=0)}),Object.values(w).map(t=>{t.energyPv=0,t.energyBat=0,t.pvPercentage=0}),Object.values(V).map(t=>{t.energyPv=0,t.energyBat=0,t.pvPercentage=0})}const _e=g(()=>{const t=Ue(u.data,e=>e.date);return t[1]?gt().domain(Array.from({length:t[1]},(e,a)=>a+1)).paddingInner(.4).range([0,Se-L.left-2]):gt().range([0,0])});function xt(){switch(u.graphMode){case"live":u.graphMode="today",v.showRightButton=!0,ee();break;case"today":u.graphMode="day",R.date=new Date,R.back(),ee();break;case"day":R.back(),ee();break;case"month":Me.back();break;case"year":$e.back();break}}function Qt(){const t=new Date;switch(u.graphMode){case"live":break;case"today":u.graphMode="live",v.showRightButton=!1,ee();break;case"day":R.forward(),R.date.getDate()==t.getDate()&&R.date.getMonth()==t.getMonth()&&R.date.getFullYear()==t.getFullYear()&&(u.graphMode="today"),ee();break;case"month":Me.forward();break;case"year":$e.forward();break}}function qt(){switch(u.graphMode){case"live":xt();break;case"day":case"today":u.graphMode="month",ee();break;case"month":u.graphMode="year",ee();break}}function Xt(){switch(u.graphMode){case"year":u.graphMode="month",ee();break;case"month":u.graphMode="today",ee();break;case"today":case"day":u.graphMode="live",ee();break}}function jn(t){if(u.graphMode=="day"||u.graphMode=="today"){R.setDate(t);const e=new Date;R.date.getDate()==e.getDate()&&R.date.getMonth()==e.getMonth()&&R.date.getFullYear()==e.getFullYear()?u.graphMode="today":u.graphMode="day",ee()}}const Nn=["origin","transform"],Un=T({__name:"PGSourceGraph",props:{width:{},height:{},margin:{}},setup(t){const e=t,a={house:"var(--color-house)",batIn:"var(--color-battery)",inverter:"var(--color-pv)",batOut:"var(--color-battery)",selfUsage:"var(--color-pv)",evuOut:"var(--color-export)",evuIn:"var(--color-evu)"};var n,o;const i=v.showAnimations?v.animationDuration:0,h=v.showAnimations?v.animationDelay:0,d=g(()=>{const b=ye("g#pgSourceGraph");u.graphMode=="month"||u.graphMode=="year"?O(b):z(b),b.selectAll(".axis").remove();const C=b.append("g").attr("class","axis");return C.call(U.value),C.selectAll(".tick").attr("font-size",12),C.selectAll(".tick line").attr("stroke",N.value).attr("stroke-width",x.value),C.select(".domain").attr("stroke","var(--color-bg)"),"pgSourceGraph.vue"}),l=g(()=>u.graphMode=="month"||u.graphMode=="year"?["evuIn","batOut","selfUsage","evuOut"]:["selfUsage","evuOut","batOut","evuIn"]),m=g(()=>Te().domain([0,u.data.length-1]).range([0,e.width])),f=g(()=>zt().keys(l.value)),W=g(()=>f.value(u.data)),S=g(()=>Te().range([e.height-10,0]).domain(u.graphMode=="year"?[0,Math.ceil(Y.value[1]*10)/10]:[0,Math.ceil(Y.value[1])])),Y=g(()=>{let b=Ue(u.data,C=>Math.max(C.pv+C.evuIn+C.batOut,C.selfUsage+C.evuOut));return b[0]!=null&&b[1]!=null?(u.graphMode=="year"&&(b[0]=b[0]/1e3,b[1]=b[1]/1e3),b):[0,0]}),q=g(()=>u.graphMode=="month"||u.graphMode=="year"?-e.width-e.margin.right-22:-e.width),U=g(()=>yt(S.value).tickSizeInner(q.value).ticks(4).tickFormat(b=>(b==0?"":Math.round(b*10)/10).toLocaleString(void 0))),x=g(()=>v.showGrid?"0.5":"1"),N=g(()=>v.showGrid?"var(--color-grid)":"var(--color-bg)");function z(b){const C=Xe().x((G,he)=>m.value(he)).y(S.value(0)),D=Xe().x((G,he)=>m.value(he)).y0(G=>S.value(u.graphMode=="year"?G[0]/1e3:G[0])).y1(G=>S.value(u.graphMode=="year"?G[1]/1e3:G[1]));at?(b.selectAll("*").remove(),n=b.selectAll(".sourceareas").data(W.value).enter().append("path").attr("fill",(G,he)=>a[l.value[he]]).attr("d",G=>C(G)),n.transition().duration(i).delay(h).ease(Ee).attr("d",G=>D(G)),Lt()):n.data(W.value).transition().duration(0).ease(Ee).attr("d",G=>D(G))}function O(b){at?(b.selectAll("*").remove(),o=b.selectAll(".sourcebar").data(W.value).enter().append("g").attr("fill",(C,D)=>a[l.value[D]]).selectAll("rect").data(C=>C).enter().append("rect").attr("x",(C,D)=>_e.value(u.data[D].date)??0).attr("y",()=>S.value(0)).attr("height",0).attr("width",_e.value.bandwidth()),o.transition().duration(i).delay(h).ease(Ee).attr("height",C=>u.graphMode=="year"?S.value(C[0]/1e3)-S.value(C[1]/1e3):S.value(C[0])-S.value(C[1])).attr("y",C=>u.graphMode=="year"?S.value(C[1]/1e3):S.value(C[1])),Lt()):(b.selectAll("*").remove(),o=b.selectAll(".sourcebar").data(W.value).enter().append("g").attr("fill",(C,D)=>a[l.value[D]]).selectAll("rect").data(C=>C).enter().append("rect").attr("x",(C,D)=>_e.value(u.data[D].date)??0).attr("y",C=>u.graphMode=="year"?S.value(C[1]/1e3):S.value(C[1])).attr("width",_e.value.bandwidth()).attr("height",C=>u.graphMode=="year"?S.value(C[0]/1e3)-S.value(C[1]/1e3):S.value(C[0])-S.value(C[1])))}return(b,C)=>(p(),y("g",{id:"pgSourceGraph",origin:d.value,transform:"translate("+b.margin.left+","+b.margin.top+")"},null,8,Nn))}}),Fn=["origin","transform"],Jn=T({__name:"PGUsageGraph",props:{width:{},height:{},margin:{},stackOrder:{}},setup(t){const e=t,a=[["house","charging","devices","batIn"],["charging","devices","house","batIn"],["devices","charging","house","batIn"]],n={house:"var(--color-house)",charging:"var(--color-charging)",batIn:"var(--color-battery)",batOut:"var(--color-battery)",selfUsage:"var(--color-pv)",evuOut:"var(--color-export)",evuIn:"var(--color-evu)",cp0:"var(--color-cp0)",cp1:"var(--color-cp1)",cp2:"var(--color-cp2)",cp3:"var(--color-cp3)",sh1:"var(--color-sh1)",sh2:"var(--color-sh2)",sh3:"var(--color-sh3)",sh4:"var(--color-sh4)",devices:"var(--color-devices)"};var o,i;const h=v.showAnimations?v.animationDuration:0,d=v.showAnimations?v.animationDelay:0,l=g(()=>{const O=ye("g#pgUsageGraph");u.graphMode=="month"||u.graphMode=="year"?z(O):N(O),O.selectAll(".axis").remove();const b=O.append("g").attr("class","axis");return b.call(x.value),b.selectAll(".tick").attr("font-size",12).attr("color","var(--color-axis)"),v.showGrid?b.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):b.selectAll(".tick line").attr("stroke","var(--color-bg)"),b.select(".domain").attr("stroke","var(--color-bg)"),"pgUsageGraph.vue"}),m=g(()=>zt().keys(Y.value)),f=g(()=>m.value(u.data)),W=g(()=>Te().domain([0,u.data.length-1]).range([0,e.width])),S=g(()=>Te().range([e.height+10,2*e.height]).domain(u.graphMode=="year"?[0,Math.ceil(q.value[1]*10)/10]:[0,Math.ceil(q.value[1])])),Y=g(()=>{if(u.graphMode!="today"&&u.graphMode!="day")return a[e.stackOrder];{const O=a[e.stackOrder].slice(),b=O.indexOf("charging");O.splice(b,1);const C=/cp\d+/;let D=[];return u.data.length>0&&(D=Object.keys(u.data[0]).reduce((G,he)=>(he.match(C)&&G.push(he),G),[])),D.map((G,he)=>{O.splice(b+he,0,G),n[G]="var(--color-cp"+he+")"}),O}}),q=g(()=>{let O=Ue(u.data,b=>b.house+b.charging+b.batIn+b.devices);return O[0]!=null&&O[1]!=null?(u.graphMode=="year"&&(O[0]=O[0]/1e3,O[1]=O[1]/1e3),O):[0,0]}),U=g(()=>u.graphMode=="month"||u.graphMode=="year"?-e.width-e.margin.right-22:-e.width),x=g(()=>yt(S.value).tickSizeInner(U.value).ticks(4).tickFormat(O=>(O==0?"":Math.round(O*10)/10).toLocaleString(void 0)));function N(O){const b=Xe().x((D,G)=>W.value(G)).y(S.value(0)),C=Xe().x((D,G)=>W.value(G)).y0(D=>S.value(D[0])).y1(D=>S.value(D[1]));v.showAnimations?Ne?(O.selectAll("*").remove(),o=O.selectAll(".usageareas").data(f.value).enter().append("path").attr("d",D=>b(D)).attr("fill",(D,G)=>n[Y.value[G]]),o.transition().duration(300).delay(100).ease(Ee).attr("d",D=>C(D)),Vt()):(O.selectAll("*").remove(),O.selectAll(".usageareas").data(f.value).enter().append("path").attr("d",D=>C(D)).attr("fill",(D,G)=>n[Y.value[G]])):(O.selectAll("*").remove(),O.selectAll(".usageareas").data(f.value).enter().append("path").attr("d",D=>C(D)).attr("fill",(D,G)=>n[Y.value[G]]))}function z(O){Ne?(O.selectAll("*").remove(),i=O.selectAll(".usagebar").data(f.value).enter().append("g").attr("fill",(b,C)=>n[a[e.stackOrder][C]]).selectAll("rect").data(b=>b).enter().append("rect").attr("x",(b,C)=>_e.value(u.data[C].date)??0).attr("y",()=>S.value(0)).attr("height",0).attr("width",_e.value.bandwidth()),i.transition().duration(h).delay(d).ease(Ee).attr("y",b=>u.graphMode=="year"?S.value(b[0]/1e3):S.value(b[0])).attr("height",b=>u.graphMode=="year"?S.value(b[1]/1e3)-S.value(b[0]/1e3):S.value(b[1])-S.value(b[0])),Vt()):(O.selectAll("*").remove(),i=O.selectAll(".usagebar").data(f.value).enter().append("g").attr("fill",(b,C)=>n[a[e.stackOrder][C]]).selectAll("rect").data(b=>b).enter().append("rect").attr("x",(b,C)=>_e.value(u.data[C].date)??0).attr("y",b=>u.graphMode=="year"?S.value(b[0]/1e3):S.value(b[0])).attr("height",b=>u.graphMode=="year"?S.value(b[1]/1e3)-S.value(b[0]/1e3):S.value(b[1])-S.value(b[0])).attr("width",_e.value.bandwidth()))}return(O,b)=>(p(),y("g",{id:"pgUsageGraph",origin:l.value,transform:"translate("+O.margin.left+","+O.margin.top+")"},null,8,Fn))}}),Rn=["transform"],Hn=["origin","transform"],Yn=["origin","transform"],Qn={key:0},qn=["width","height"],Xn={key:1},Zn=["y","width","height"],ut=12,Kn=T({__name:"PGXAxis",props:{width:{},height:{},margin:{}},setup(t){const e=t,a=g(()=>rt(d.value).ticks(4).tickSizeInner(h.value).tickFormat($t("%H:%M"))),n=g(()=>ga(d.value).ticks(4).tickSizeInner(h.value+3).tickFormat($t(""))),o=g(()=>rt(_e.value).ticks(4).tickSizeInner(h.value).tickFormat(f=>f.toString())),i=g(()=>rt(_e.value).ticks(4).tickSizeInner(h.value).tickFormat(()=>"")),h=g(()=>u.graphMode!=="month"&&u.graphMode!=="year"?v.showGrid?-(e.height/2-7):-10:0),d=g(()=>{let f=Ue(u.data,W=>W.date);return f[0]&&f[1]?Ze().domain(f).range([0,e.width]):Ze().range([0,0])}),l=g(()=>{let f=ye("g#PGXAxis");return f.selectAll("*").remove(),u.graphMode=="month"||u.graphMode=="year"?f.call(o.value):f.call(a.value),f.selectAll(".tick > text").attr("fill",(W,S)=>S>0||u.graphMode=="month"||u.graphMode=="year"?"var(--color-axis)":"var(--color-bg)").attr("font-size",ut),v.showGrid?f.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):f.selectAll(".tick line").attr("stroke","var(--color-bg)"),f.select(".domain").attr("stroke","var(--color-bg)"),f.append("text").attr("x",-e.margin.left).attr("y",12).attr("fill","var(--color-axis)").attr("font-size",ut).text(u.graphMode=="year"?"MW":"kW").attr("text-anchor","start"),"PGXAxis.vue"}),m=g(()=>{let f=ye("g#PGXAxis2");return f.selectAll("*").remove(),u.graphMode=="month"||u.graphMode=="year"?f.call(i.value):f.call(n.value),f.selectAll(".tick > text").attr("fill",(W,S)=>S>0||u.graphMode=="month"||u.graphMode=="year"?"var(--color-axis)":"var(--color-bg)").attr("font-size",ut),v.showGrid?(f.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"),f.select(".domain").attr("stroke","var(--color-bg)")):f.selectAll(".tick line").attr("stroke","var(--color-bg)"),f.select(".domain").attr("stroke","var(--color-bg)"),"PGXAxis2.vue"});return(f,W)=>(p(),y("g",{transform:"translate("+f.margin.left+","+f.margin.top+")"},[c("g",{id:"PGXAxis",class:"axis",origin:l.value,transform:"translate(0,"+(f.height/2-6)+")"},null,8,Hn),c("g",{id:"PGXAxis2",class:"axis",origin:m.value,transform:"translate(0,"+(f.height/2+10)+")"},null,8,Yn),r(v).showGrid?(p(),y("g",Qn,[c("rect",{x:"0",y:"0",width:f.width,height:f.height/2-10,fill:"none",stroke:"var(--color-grid)","stroke-width":"0.5"},null,8,qn)])):M("",!0),r(v).showGrid?(p(),y("g",Xn,[c("rect",{x:"0",y:f.height/2+10,width:f.width,height:f.height/2-10,fill:"none",stroke:"var(--color-grid)","stroke-width":"0.5"},null,8,Zn)])):M("",!0)],8,Rn))}}),eo=["d"],to=["d","stroke"],ao=["x","y","text-anchor"],dt=T({__name:"PgSoc",props:{width:{},height:{},margin:{},order:{}},setup(t){const e=t,a=g(()=>{let S=Ue(u.data,Y=>Y.date);return S[0]&&S[1]?Ze().domain(S).range([0,e.width]):Ze().range([0,0])}),n=g(()=>Te().range([e.height-10,0]).domain([0,100])),o=g(()=>ma().x(q=>a.value(q.date)).y(q=>n.value(e.order==2?q.batSoc:q["soc"+m.value.connectedVehicle])??n.value(0))(u.data)??""),i=g(()=>e.order==2?"Speicher":m.value.connectedVehicle),h=g(()=>e.order==2?"Speicher":m.value.vehicleName),d=g(()=>{switch(e.order){case 0:return"var(--color-cp1)";case 1:return"var(--color-cp2)";case 2:return"var(--color-battery)";default:return"red"}}),l=g(()=>{switch(e.order){case 0:return e.width-3;case 1:return 3;case 2:return e.width/2;default:return 0}}),m=g(()=>{const S=e.order==2?0:e.order;return Object.values(w)[S]}),f=g(()=>{if(u.data.length>0){let S;switch(e.order){case 0:return S=u.data.length-1,n.value(u.data[S]["soc"+i.value]+2);case 1:return S=0,n.value(u.data[S]["soc"+i.value]+2);case 2:return S=Math.round(u.data.length/2),n.value(u.data[S].batSoc+2);default:return 0}}else return 0}),W=g(()=>{switch(e.order){case 0:return"end";case 1:return"start";case 2:return"middle";default:return"middle"}});return(S,Y)=>(p(),y(Ie,null,[c("path",{class:"soc-baseline",d:o.value,stroke:"var(--color-bg)","stroke-width":"1",fill:"none"},null,8,eo),c("path",{class:"soc-dashes",d:o.value,stroke:d.value,"stroke-width":"1",style:{strokeDasharray:"3,3"},fill:"none"},null,8,to),c("text",{class:"cpname",x:l.value,y:f.value,style:oe({fill:d.value,fontSize:10}),"text-anchor":W.value},I(h.value),13,ao)],64))}}),no=["transform"],oo=T({__name:"PgSocAxis",props:{width:{},height:{},margin:{}},setup(t){const e=t,a=g(()=>Te().range([e.height-10,0]).domain([0,100])),n=g(()=>va(a.value).ticks(5).tickFormat(i=>i.toString()+"%"));function o(){let i=ye("g#PGSocAxis");i.call(n.value),i.selectAll(".tick").attr("font-size",12),i.selectAll(".tick line").attr("stroke","var(--color-bg)"),i.select(".domain").attr("stroke","var(--color-bg)")}return _t(()=>{o()}),(i,h)=>(p(),y("g",{id:"PGSocAxis",class:"axis",transform:"translate("+(i.width-20)+",0)"},null,8,no))}}),ro={class:"btn-group m-0",role:"group","aria-label":"radiobar"},so=["id","value"],io=T({__name:"RadioBarInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,n=e,o=g({get(){return a.modelValue},set(d){n("update:modelValue",d)}});function i(d){let l=a.options[d].color?a.options[d].color:"var(--color-fg)";return a.options[d].active?{color:"var(--color-bg)",background:l}:{color:l}}function h(d){let l=d.target;for(;l&&!l.value&&l.parentElement;)l=l.parentElement;l.value&&(o.value=l.value)}return(d,l)=>(p(),y("div",null,[c("div",ro,[(p(!0),y(Ie,null,Ae(d.options,(m,f)=>(p(),y("button",{id:"radio-"+m.value,key:f,class:K(["btn btn-outline-secondary btn-sm radiobutton mx-0 mb-0 px-2",m.value==o.value?"active":""]),value:m.value,style:oe(i(f)),onClick:h},[c("span",{style:oe(i(f)),class:"scaled"},[m.icon?(p(),y("i",{key:0,class:K(["fa-solid",m.icon])},null,2)):M("",!0),j(" "+I(m.text),1)],4)],14,so))),128))])]))}}),Zt=Q(io,[["__scopeId","data-v-60f5d4c2"]]),Pt=t=>(me("data-v-7fd067cd"),t=t(),ve(),t),co=Pt(()=>c("i",{class:"fa-solid fa-xl fa-chevron-circle-up"},null,-1)),lo=[co],uo=Pt(()=>c("span",{class:"fa-solid fa-xl fa-chevron-circle-left arrowButton"},null,-1)),ho=[uo],po=Pt(()=>c("span",{class:"fa-solid fa-xl fa-circle-check"},null,-1)),go=[po],mo=T({__name:"PgSelector",props:{widgetid:{},showLeftButton:{type:Boolean},showRightButton:{type:Boolean},ignoreLive:{type:Boolean}},emits:["shiftLeft","shiftRight","shiftUp","shiftDown"],setup(t){const e=t,a=de(0),n=g(()=>{switch(u.graphMode){case"live":return e.ignoreLive?"heute":`${Z.duration} min`;case"today":return"heute";case"day":return R.date.getDate()+"."+(R.date.getMonth()+1)+".";case"month":return Sa(Me.month-1,Me.year);case"year":return $e.year.toString();default:return"???"}}),o=["live","today","day","month","year"],i=["Live","Heute","Tag","Monat","Jahr"],h=g({get(){return u.graphMode},set(x){switch(x){case"day":m();break;case"today":f();break;case"live":l();break;case"month":W();break;case"year":S()}}});function d(){a.value+=1,a.value>1&&(a.value=0)}function l(){u.graphMode!="live"&&(u.graphMode="live",ee())}function m(){u.graphMode!="day"&&u.graphMode!="today"&&(u.graphMode="day",ee())}function f(){u.graphMode!="today"&&(u.graphMode="today",jn(new Date),ee())}function W(){u.graphMode!="month"&&(u.graphMode="month",ee())}function S(){u.graphMode!="year"&&(u.graphMode="year",ee())}const Y=g(()=>a.value>0?{border:"1px solid var(--color-frame)"}:""),q=g(()=>a.value==1?"justify-content-between":"justify-content-end"),U=g(()=>a.value==1?"justify-content-between":"justify-content-center");return(x,N)=>(p(),y("div",{class:"d-flex flex-column justify-content-center pgselector rounded",style:oe(Y.value)},[a.value==2?(p(),B(Zt,{key:0,id:"pgm2",modelValue:h.value,"onUpdate:modelValue":N[0]||(N[0]=z=>h.value=z),class:"m-2",options:o.map((z,O)=>({text:i[O],value:z,color:"var(--color-menu)",active:z==r(u).graphMode}))},null,8,["modelValue","options"])):M("",!0),a.value==1?(p(),y("span",{key:1,type:"button",class:K(["arrowButton d-flex align-self-center mb-3 mt-3",{disabled:!e.showLeftButton}]),onClick:N[1]||(N[1]=z=>x.$emit("shiftUp"))},lo,2)):M("",!0),c("div",{class:K(["d-flex align-items-center",U.value])},[a.value==1?(p(),y("span",{key:0,type:"button",class:K(["p-1",{disabled:!e.showLeftButton}]),onClick:N[2]||(N[2]=z=>x.$emit("shiftLeft"))},ho,2)):M("",!0),a.value<2?(p(),y("span",{key:1,type:"button",class:"btn-outline-secondary p-2 px-3 badge rounded-pill datebadge",onClick:d},I(n.value),1)):M("",!0),a.value==1?(p(),y("span",{key:2,id:"graphRightButton",type:"button",class:K(["arrowButton fa-solid fa-xl fa-chevron-circle-right p-1",{disabled:!e.showRightButton}]),onClick:N[3]||(N[3]=z=>x.$emit("shiftRight"))},null,2)):M("",!0)],2),c("div",{class:K(["d-flex align-items-center",q.value])},[a.value==1?(p(),y("span",{key:0,class:"fa-solid fa-xl fa-chevron-circle-down p-1",style:oe({color:"var(--color-bg)"})},null,4)):M("",!0),a.value==1?(p(),y("span",{key:1,id:"graphLeftButton",type:"button",class:K(["arrowButton fa-solid fa-xl fa-chevron-circle-down p-1",{disabled:!e.showLeftButton}]),onClick:N[4]||(N[4]=z=>x.$emit("shiftDown"))},null,2)):M("",!0),a.value>0?(p(),y("span",{key:2,type:"button",class:"p-1",onClick:N[5]||(N[5]=z=>a.value=0)},go)):M("",!0)],2)],4))}}),Kt=Q(mo,[["__scopeId","data-v-7fd067cd"]]),vo={class:"d-flex justify-content-end"},fo=["viewBox"],_o=["transform"],yo=2,bo="Leistung / Ladestand ",wo=T({__name:"PowerGraph",setup(t){function e(){let a=v.usageStackOrder+1;a>yo&&(a=0),v.usageStackOrder=a,An(!0)}return(a,n)=>(p(),B(ot,{"full-width":!0},{title:k(()=>[j(I(bo))]),buttons:k(()=>[c("div",vo,[_(Kt,{widgetid:"graphsettings","show-left-button":!0,"show-right-button":!0,"ignore-live":!1,onShiftLeft:r(xt),onShiftRight:r(Qt),onShiftUp:r(qt),onShiftDown:r(Xt)},null,8,["onShiftLeft","onShiftRight","onShiftUp","onShiftDown"])])]),default:k(()=>[c("figure",{id:"powergraph",class:"p-0 m-0",onClick:e},[(p(),y("svg",{viewBox:"0 0 "+r(Se)+" "+r(Pe)},[_(Un,{width:r(Se)-r(L).left-2*r(L).right,height:(r(Pe)-r(L).top-r(L).bottom)/2,margin:r(L)},null,8,["width","height","margin"]),_(Jn,{width:r(Se)-r(L).left-2*r(L).right,height:(r(Pe)-r(L).top-r(L).bottom)/2,margin:r(L),"stack-order":r(v).usageStackOrder},null,8,["width","height","margin","stack-order"]),_(Kn,{width:r(Se)-r(L).left-2*r(L).right,height:r(Pe)-r(L).top-r(L).bottom,margin:r(L),"graph-data":r(u)},null,8,["width","height","margin","graph-data"]),c("g",{transform:"translate("+r(L).left+","+r(L).top+")"},[(r(u).graphMode=="day"||r(u).graphMode=="today"||r(u).graphMode=="live")&&Object.values(r(w)).length>0?(p(),B(dt,{key:0,width:r(Se)-r(L).left-2*r(L).right,height:(r(Pe)-r(L).top-r(L).bottom)/2,margin:r(L),order:0},null,8,["width","height","margin"])):M("",!0),(r(u).graphMode=="day"||r(u).graphMode=="today"||r(u).graphMode=="live")&&Object.values(r(w)).length>1?(p(),B(dt,{key:1,width:r(Se)-r(L).left-2*r(L).right,height:(r(Pe)-r(L).top-r(L).bottom)/2,margin:r(L),order:1},null,8,["width","height","margin"])):M("",!0),["day","today","live"].includes(r(u).graphMode)&&r(F).isBatteryConfigured?(p(),B(dt,{key:2,width:r(Se)-r(L).left-2*r(L).right,height:(r(Pe)-r(L).top-r(L).bottom)/2,margin:r(L),order:2},null,8,["width","height","margin"])):M("",!0),["day","today","live"].includes(r(u).graphMode)?(p(),B(oo,{key:3,width:r(Se)-r(L).left-r(L).right,height:(r(Pe)-r(L).top-r(L).bottom)/2,margin:r(L)},null,8,["width","height","margin"])):M("",!0)],8,_o)],8,fo))])]),_:1}))}}),So=Q(wo,[["__scopeId","data-v-c850f90a"]]),ko=["id"],Mo=["x","width","height","fill"],xo=["x","width","height"],Po=["x","y","width","height"],Co=T({__name:"EmBar",props:{item:{},xScale:{},yScale:{},margin:{},height:{},barcount:{},autarchy:{},autText:{}},setup(t){const e=t,a=g(()=>e.height-e.yScale(e.item.energy)-e.margin.top-e.margin.bottom),n=g(()=>e.item.energyPv>0?e.height-e.yScale(e.item.energyPv)-e.margin.top-e.margin.bottom:0),o=g(()=>e.item.energyPv>0?e.height-e.yScale(e.item.energyBat)-e.margin.top-e.margin.bottom:0);return(i,h)=>(p(),y("g",{id:"bar-"+e.item.name,transform:"scale(1,-1) translate (0,-445)"},[c("rect",{class:"bar",x:e.xScale(i.item.name),y:"0",width:e.xScale.bandwidth(),height:a.value,fill:i.item.color},null,8,Mo),c("rect",{class:"bar",x:e.xScale(i.item.name)+e.xScale.bandwidth()/6,y:"0",width:e.xScale.bandwidth()*2/3,height:n.value,fill:"var(--color-pv)","fill-opacity":"66%"},null,8,xo),c("rect",{class:"bar",x:e.xScale(i.item.name)+e.xScale.bandwidth()/6,y:n.value,width:e.xScale.bandwidth()*2/3,height:o.value,fill:"var(--color-battery)","fill-opacity":"66%"},null,8,Po)],8,ko))}}),$o={id:"emBargraph"},Io=c("animateTransform",{"attribute-name":"transform",type:"scale",from:"1 0",to:"1 1",begin:"0s",dur:"2s"},null,-1),Oo=T({__name:"EMBarGraph",props:{plotdata:{},xScale:{},yScale:{},margin:{},height:{}},setup(t){const e=t;function a(o){if(o.name=="PV"){const i=u.graphMode=="live"||u.graphMode=="day"?E:P.items,d=(u.graphMode=="live"||u.graphMode=="day"?$:P.items).evuOut.energy,l=i.pv.energy;return Math.round((l-d)/l*100)}else if(o.name=="Netz"){const i=u.graphMode=="live"||u.graphMode=="day"?E:P.items,h=u.graphMode=="live"||u.graphMode=="day"?$:P.items,d=h.evuOut.energy,l=i.evuIn.energy,m=i.pv.energy,f=i.batOut.energy,W=h.batIn.energy;return Math.round((m+f-d-W)/(m+f+l-d-W)*100)}else return o.pvPercentage}function n(o){return o.name=="PV"?"Eigen":"Aut"}return(o,i)=>(p(),y("g",$o,[(p(!0),y(Ie,null,Ae(e.plotdata,(h,d)=>(p(),y("g",{key:d},[_(Co,{item:h,"x-scale":e.xScale,"y-scale":e.yScale,margin:e.margin,height:e.height,barcount:e.plotdata.length,"aut-text":n(h),autarchy:a(h)},null,8,["item","x-scale","y-scale","margin","height","barcount","aut-text","autarchy"])]))),128)),Io]))}}),Bo=["origin"],To=T({__name:"EMYAxis",props:{yScale:{type:[Function,Object]},width:{},fontsize:{}},setup(t){const e=t,a=g(()=>yt(e.yScale).tickFormat(o=>o>0?(o/1e3).toString():"").ticks(6).tickSizeInner(-e.width)),n=g(()=>{const o=ye("g#emYAxis");return o.attr("class","axis").call(a.value),o.append("text").attr("y",6).attr("dy","0.71em").attr("text-anchor","end").text("energy"),o.selectAll(".tick").attr("font-size",e.fontsize),v.showGrid?o.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):o.selectAll(".tick line").attr("stroke","var(--color-bg)"),o.select(".domain").attr("stroke","var(--color-bg)"),"emYAxis.vue"});return(o,i)=>(p(),y("g",{id:"emYAxis",class:"axis",origin:n.value},null,8,Bo))}}),Lo=["id"],Vo=["x","y","font-size"],Ao=["x","y","font-size","fill"],Do=["x","y","font-size","fill"],Go=T({__name:"EmLabel",props:{item:{},xScale:{},yScale:{},margin:{},height:{},barcount:{},autarchy:{},autText:{}},setup(t){const e=t,a=g(()=>e.autarchy?e.yScale(e.item.energy)-25:e.yScale(e.item.energy)-10),n=g(()=>{let l=16,m=e.barcount;return m<=5?l=16:m==6?l=14:m>6&&m<=8?l=13:m==9?l=11:m==10?l=10:l=9,l}),o=g(()=>{let l=12,m=e.barcount;return m<=5?l=12:m==6?l=11:m>6&&m<=8||m==9?l=8:m==10?l=7:l=6,l});function i(l,m){return m.length>o.value?m.substring(0,o.value)+".":m}function h(){return e.autarchy?e.autText+": "+e.autarchy.toLocaleString(void 0)+" %":""}function d(){return"var(--color-pv)"}return(l,m)=>(p(),y("g",{id:"barlabel-"+e.item.name},[c("text",{x:e.xScale(l.item.name)+e.xScale.bandwidth()/2,y:a.value,"font-size":n.value,"text-anchor":"middle",fill:"var(--color-menu)"},I(r(jt)(l.item.energy,r(v).decimalPlaces,!1)),9,Vo),c("text",{x:e.xScale(l.item.name)+e.xScale.bandwidth()/2,y:e.yScale(l.item.energy)-10,"font-size":n.value-2,"text-anchor":"middle",fill:d()},I(h()),9,Ao),c("text",{x:e.xScale(l.item.name)+e.xScale.bandwidth()/2,y:e.height-e.margin.bottom-5,"font-size":n.value,"text-anchor":"middle",fill:l.item.color,class:K(l.item.icon.length<=2?"fas":"")},I(i(l.item.name,l.item.icon)),11,Do)],8,Lo))}}),Eo={id:"emBarLabels"},Wo=T({__name:"EMLabels",props:{plotdata:{},xScale:{},yScale:{},height:{},margin:{}},setup(t){const e=t;function a(o){if(o.name=="PV"){const i=u.graphMode=="live"||u.graphMode=="day"?E:P.items,d=(u.graphMode=="live"||u.graphMode=="day"?$:P.items).evuOut.energy,l=i.pv.energy;return Math.round((l-d)/l*100)}else if(o.name=="Netz"){const i=u.graphMode=="live"||u.graphMode=="day"?E:P.items,h=u.graphMode=="live"||u.graphMode=="day"?$:P.items,d=h.evuOut.energy,l=i.evuIn.energy,m=i.pv.energy,f=i.batOut.energy,W=h.batIn.energy;return m+f-d-W>0?Math.round((m+f-d-W)/(m+f+l-d-W)*100):0}else return o.pvPercentage}function n(o){return o.name=="PV"?"Eigen":"Aut"}return(o,i)=>(p(),y("g",Eo,[(p(!0),y(Ie,null,Ae(e.plotdata,(h,d)=>(p(),y("g",{key:d},[_(Go,{item:h,"x-scale":e.xScale,"y-scale":e.yScale,margin:e.margin,height:e.height,barcount:e.plotdata.length,"aut-text":n(h),autarchy:a(h)},null,8,["item","x-scale","y-scale","margin","height","barcount","aut-text","autarchy"])]))),128))]))}}),zo={id:"energymeter",class:"p-0 m-0"},jo={viewBox:"0 0 500 500"},No=["transform"],Uo=["x"],Fo={key:0},At=500,ht=500,Dt=12,Jo="Energie",Ro=T({__name:"EnergyMeter",setup(t){const e={top:25,bottom:30,left:25,right:0},a=g(()=>{let h=Object.values(E),d=i.value,l=P.values(),m=[];switch(v.debug&&(console.debug("----------------------- source summary -----------------"),console.debug(E),console.debug("----------------------- usage details ------------------"),console.debug(i.value),console.debug("----------------------- historic summary ---------------"),console.debug(P),console.debug("--------------------------------------------------------")),tt.value==!0&&(tt.value=!1),u.graphMode){default:case"live":case"today":m=h.concat(d).filter(f=>f.energy>0);break;case"day":case"month":case"year":l.length==0?ze.value=!0:(ze.value=!1,m=l.filter(f=>f.energy>0))}return m}),n=g(()=>gt().range([0,At-e.left-e.right]).domain(a.value.map(h=>h.name)).padding(.4)),o=g(()=>Te().range([ht-e.bottom-e.top,15]).domain([0,fa(a.value,h=>h.energy)])),i=g(()=>{const h=Object.values(w).length,d=Object.values(V).filter(l=>l.configured).length;return[$.evuOut,$.devices,$.charging].concat(h>1?Object.values(w).map(l=>l.toPowerItem()):[]).concat(d>1?Object.values(V).filter(l=>l.configured&&l.showInGraph):[]).concat([$.batIn,$.house])});return(h,d)=>(p(),B(ot,{"full-width":!0},{title:k(()=>[j(I(Jo))]),buttons:k(()=>[_(Kt,{widgetid:"graphsettings","show-left-button":!0,"show-right-button":!0,"ignore-live":!0,onShiftLeft:r(xt),onShiftRight:r(Qt),onShiftUp:r(qt),onShiftDown:r(Xt)},null,8,["onShiftLeft","onShiftRight","onShiftUp","onShiftDown"])]),default:k(()=>[c("figure",zo,[(p(),y("svg",jo,[c("g",{transform:"translate("+e.left+","+e.top+")"},[_(Oo,{plotdata:a.value,"x-scale":n.value,"y-scale":o.value,height:ht,margin:e},null,8,["plotdata","x-scale","y-scale"]),_(To,{"y-scale":o.value,width:At,fontsize:Dt,config:r(v)},null,8,["y-scale","config"]),c("text",{x:-e.left,y:"-15",fill:"var(--color-axis)","font-size":Dt},I(r(u).graphMode=="year"?"MWh":"kWh"),9,Uo),_(Wo,{plotdata:a.value,"x-scale":n.value,"y-scale":o.value,height:ht,margin:e,config:r(v)},null,8,["plotdata","x-scale","y-scale","config"])],8,No)]))]),r(ze)?(p(),y("p",Fo,"No data")):M("",!0)]),_:1}))}}),ea=t=>(me("data-v-dff8d7c2"),t=t(),ve(),t),Ho=["id"],Yo={class:"modal-dialog modal-lg modal-fullscreen-lg-down"},Qo={class:"modal-content"},qo={class:"modal-header"},Xo={class:"modal-title scaled"},Zo=ea(()=>c("button",{type:"button",class:"btn-close buttonTextSize d-flex justify-content-center pt-3 pb-0","data-bs-dismiss":"modal"},[c("i",{class:"fa-solid fa-lg fa-circle-check m-0 p-0"})],-1)),Ko={class:"modal-body"},er=ea(()=>c("div",{class:"modal-footer"},null,-1)),tr=T({__name:"ModalComponent",props:{modalId:{}},setup(t){const e=t;return(a,n)=>(p(),y("div",{id:e.modalId,class:"modal fade"},[c("div",Yo,[c("div",Qo,[c("div",qo,[c("h3",Xo,[pe(a.$slots,"title",{},void 0,!0)]),Zo]),c("div",Ko,[pe(a.$slots,"default",{},void 0,!0)]),er])])],8,Ho))}}),pt=Q(tr,[["__scopeId","data-v-dff8d7c2"]]),ar={class:"digit scaled",type:"button"},nr=T({__name:"PadButton",props:{modelValue:{},color:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,n=de(!1);function o(){n.value=!0,h("update:modelValue",a.modelValue),setTimeout(()=>{n.value=!1},300)}const i=g(()=>n.value?{"background-color":"white",color:"black"}:{"background-color":a.color??"var(--color-axis)"}),h=e;return(d,l)=>(p(),y("div",{class:"padbutton",style:oe(i.value),onClick:o},[c("span",ar,[pe(d.$slots,"default",{},void 0,!0)])],4))}}),He=Q(nr,[["__scopeId","data-v-cc256a6f"]]),ta=t=>(me("data-v-63c8fa5c"),t=t(),ve(),t),or={class:"numberpad"},rr={class:"codedisplay scaled"},sr={class:"numberentry"},ir=ta(()=>c("span",{class:"fas fa-delete-left"},null,-1)),cr=ta(()=>c("span",{class:"fas fa-circle-check"},null,-1)),lr=T({__name:"NumberPad",props:{modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=de(t.modelValue),o=e,i=g(()=>n.value.length==0?"Bitte geben Sie die PIN ein":"*".repeat(n.value.length));function h(d){d==-1?n.value=n.value.slice(0,-1):d==-2?(o("update:modelValue",n.value),n.value=""):n.value=n.value+d.toString()}return(d,l)=>(p(),y("div",or,[c("p",rr,I(i.value),1),c("div",sr,[(p(),y(Ie,null,Ae(9,m=>_(He,{key:m,"model-value":m,"onUpdate:modelValue":h},{default:k(()=>[j(I(m),1)]),_:2},1032,["model-value"])),64)),_(He,{"model-value":0,"onUpdate:modelValue":h},{default:k(()=>[j("0")]),_:1}),_(He,{"model-value":-1,color:"var(--color-devices)","onUpdate:modelValue":h},{default:k(()=>[ir]),_:1}),_(He,{"model-value":-2,color:"var(--color-devices)","data-bs-dismiss":"modal","onUpdate:modelValue":h},{default:k(()=>[cr]),_:1})])]))}}),ur=Q(lr,[["__scopeId","data-v-63c8fa5c"]]),Re=t=>(me("data-v-6a182015"),t=t(),ve(),t),dr={class:"statustable"},hr=Re(()=>c("span",{class:"header"},"IP-Adresse:",-1)),pr=Re(()=>c("span",{class:"header"},"Systemzeit:",-1)),gr=Re(()=>c("span",{class:"header"},"Version:",-1)),mr=Re(()=>c("span",{class:"header"},"Version (Details):",-1)),vr=Re(()=>c("span",{class:"header"},"Entwicklungszweig:",-1)),fr=T({__name:"StatusPage",setup(t){return(e,a)=>(p(),y("div",dr,[hr,c("span",null,I(r(F).ipAddress),1),pr,c("span",null,I(new Date(r(F).systemTime*1e3).toLocaleString(void 0)),1),gr,c("span",null,I(r(F).version),1),mr,c("span",null,I(r(F).versionDetails),1),vr,c("span",null,I(r(F).devBranch),1)]))}}),_r=Q(fr,[["__scopeId","data-v-6a182015"]]),yr={class:"configitem subgrid"},br={class:"d-flex align-items-baseline m-0 p-0 grid-col-4 scaled"},wr={class:"ms-1 mb-2 p-0 pt-2 d-flex justify-content-stretch align-items-center grid-col-4"},Sr={class:"justify-content-stretch d-flex"},kr=T({__name:"ConfigItem",props:{title:{},infotext:{},icon:{},iconcolor:{},fullwidth:{type:Boolean}},setup(t){const e=t;return(a,n)=>(p(),y("div",yr,[c("span",br,[e.icon?(p(),y("i",{key:0,class:K(["fa-solid fa-sm m-0 p-0 me-2 item-icon",e.icon]),style:oe({color:e.iconcolor?e.iconcolor:"var(--color-charging)"})},null,6)):M("",!0),j(" "+I(a.title),1)]),c("div",wr,[c("span",Sr,[pe(a.$slots,"default",{},void 0,!0)])])]))}}),te=Q(kr,[["__scopeId","data-v-42847ded"]]),Mr=["id","value"],xr=T({__name:"RadioInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,n=e,o=g({get(){return a.modelValue},set(d){n("update:modelValue",d)}});function i(d){return a.options[d][2]?{color:a.options[d][2]}:{color:"var(--color-fg)"}}function h(d){let l=d.target;for(;l&&!l.value&&l.parentElement;)l=l.parentElement;l.value&&(o.value=l.value)}return(d,l)=>(p(),y("div",null,[(p(!0),y(Ie,null,Ae(d.options,(m,f)=>(p(),y("button",{id:"radio-"+m[1],key:f,class:K(["btn btn-outline-secondary radiobutton me-2 mb-0 px-2",m[1]==o.value?"active":""]),value:m[1],style:oe(i(f)),onClick:h},[c("span",{style:oe(i(f)),class:"scaled"},[m[3]?(p(),y("i",{key:0,class:K(["fa-solid",m[3]])},null,2)):M("",!0),j(" "+I(m[0]),1)],4)],14,Mr))),128))]))}}),qe=Q(xr,[["__scopeId","data-v-005a14a9"]]),Pr={class:"form-check form-switch"},Le=T({__name:"SwitchInput",props:{modelValue:{type:Boolean},onColor:{},offColor:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,n=e,o=g({get(){return a.modelValue},set(h){n("update:modelValue",h)}}),i=g(()=>o.value?{"background-color":"green","font-size":"20px"}:{"background-color":"white","font-size":"20px"});return(h,d)=>(p(),y("div",Pr,[We(c("input",{"onUpdate:modelValue":d[0]||(d[0]=l=>o.value=l),class:"form-check-input",type:"checkbox",role:"switch",style:oe(i.value)},null,4),[[_a,o.value]])]))}}),aa=t=>(me("data-v-17a828b1"),t=t(),ve(),t),Cr={class:"d-flex flex-column"},$r={class:"d-flex flex-fill justify-content-between align-items-center"},Ir=aa(()=>c("i",{class:"fa fa-xl fa-minus-square me-2"},null,-1)),Or=[Ir],Br=["id","min","max","step"],Tr=aa(()=>c("i",{class:"fa fa-xl fa-plus-square ms-2"},null,-1)),Lr=[Tr],Vr={class:"d-flex justify-content-between align-items-center"},Ar={class:"minlabel ps-4"},Dr={class:"valuelabel"},Gr={class:"maxlabel pe-4"},Er=T({__name:"RangeInput",props:{id:{},min:{},max:{},step:{},unit:{},decimals:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,n=a.decimals??0,o=e,i=g({get(){return Math.round(a.modelValue*Math.pow(10,n))/Math.pow(10,n)},set(l){o("update:modelValue",l)}});function h(){i.value>a.min&&(i.value=Math.round((i.value-a.step)*Math.pow(10,n))/Math.pow(10,n))}function d(){i.value(p(),y("span",Cr,[c("span",$r,[c("span",{type:"button",class:"minusButton",onClick:h},Or),We(c("input",{id:l.id,"onUpdate:modelValue":m[0]||(m[0]=f=>i.value=f),type:"range",class:"form-range flex-fill",min:l.min,max:l.max,step:l.step},null,8,Br),[[ya,i.value,void 0,{number:!0}]]),c("span",{type:"button",class:"plusButton",onClick:d},Lr)]),c("span",Vr,[c("span",Ar,I(l.min),1),c("span",Dr,I(i.value)+" "+I(l.unit),1),c("span",Gr,I(l.max),1)])]))}}),Oe=Q(Er,[["__scopeId","data-v-17a828b1"]]),Wr=t=>(me("data-v-d0d53120"),t=t(),ve(),t),zr={class:"mt-2 grid12"},jr=Wr(()=>c("p",{class:"heading ms-1"},"Sofortladen:",-1)),Nr={key:0},Ur=T({__name:"CPConfigInstant",props:{chargepoint:{}},setup(t){const a=de(t.chargepoint),n=[{name:"keine",id:"none"},{name:"EV-SoC",id:"soc"},{name:"Energiemenge",id:"amount"}],o=g({get(){return a.value.instantMaxEnergy/1e3},set(i){a.value.instantMaxEnergy=i*1e3}});return(i,h)=>(p(),y("div",zr,[jr,_(te,{title:"Stromstärke",icon:"fa-bolt",fullwidth:!0},{default:k(()=>[_(Oe,{id:"targetCurrent",modelValue:a.value.instantTargetCurrent,"onUpdate:modelValue":h[0]||(h[0]=d=>a.value.instantTargetCurrent=d),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1}),a.value.instantChargeLimitMode!="none"?(p(),y("hr",Nr)):M("",!0),_(te,{title:"Begrenzung",icon:"fa-hand",fullwidth:!0},{default:k(()=>[_(qe,{modelValue:a.value.instantChargeLimitMode,"onUpdate:modelValue":h[1]||(h[1]=d=>a.value.instantChargeLimitMode=d),options:n.map(d=>[d.name,d.id])},null,8,["modelValue","options"])]),_:1}),a.value.instantChargeLimitMode=="soc"?(p(),B(te,{key:1,title:"Maximaler SoC",icon:"fa-sliders",fullwidth:!0},{default:k(()=>[_(Oe,{id:"maxSoc",modelValue:a.value.instantTargetSoc,"onUpdate:modelValue":h[2]||(h[2]=d=>a.value.instantTargetSoc=d),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):M("",!0),a.value.instantChargeLimitMode=="amount"?(p(),B(te,{key:2,title:"Zu ladende Energie",icon:"fa-sliders",fullwidth:!0},{default:k(()=>[_(Oe,{id:"maxEnergy",modelValue:o.value,"onUpdate:modelValue":h[3]||(h[3]=d=>o.value=d),min:0,max:100,step:1,unit:"kWh"},null,8,["modelValue"])]),_:1})):M("",!0)]))}}),Fr=Q(Ur,[["__scopeId","data-v-d0d53120"]]),Jr=t=>(me("data-v-826c4d0e"),t=t(),ve(),t),Rr={class:"pt-2 grid12"},Hr=Jr(()=>c("p",{class:"heading ms-1"},"PV-Laden:",-1)),Yr=T({__name:"CPConfigPv",props:{chargepoint:{}},setup(t){const a=de(t.chargepoint),n=g({get(){return a.value.pvMinCurrent>5},set(h){h?a.value.pvMinCurrent=6:a.value.pvMinCurrent=0}}),o=g({get(){return a.value.pvMinSoc>0},set(h){h?a.value.pvMinSoc=50:a.value.pvMinSoc=0}}),i=g({get(){return a.value.pvMaxSoc<=100},set(h){h?a.value.pvMaxSoc=100:a.value.pvMaxSoc=101}});return(h,d)=>(p(),y("div",Rr,[Hr,_(te,{title:"Ladestand begrenzen",icon:"fa-battery-three-quarters",fullwidth:!0},{default:k(()=>[_(Le,{id:"limitSoc","v-model":i.value,"model-value":i.value},null,8,["v-model","model-value"])]),_:1}),i.value?(p(),B(te,{key:0,title:"...auf maximal...",icon:"fa-battery-three-quarters",fullwidth:!0},{default:k(()=>[_(Oe,{id:"maxSoc",modelValue:a.value.pvMaxSoc,"onUpdate:modelValue":d[0]||(d[0]=l=>a.value.pvMaxSoc=l),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):M("",!0),_(te,{title:"Einspeisegrenze beachten",icon:"fa-hand",fullwidth:!0},{default:k(()=>[_(Le,{modelValue:a.value.pvFeedInLimit,"onUpdate:modelValue":d[1]||(d[1]=l=>a.value.pvFeedInLimit=l)},null,8,["modelValue"])]),_:1}),_(te,{title:"Mindest-Ladestand",icon:"fa-battery-half",infotext:r(lt).minsoc,fullwidth:!0},{default:k(()=>[_(Le,{modelValue:o.value,"onUpdate:modelValue":d[2]||(d[2]=l=>o.value=l)},null,8,["modelValue"])]),_:1},8,["infotext"]),o.value?(p(),B(te,{key:1,title:"...bis SoC",fullwidth:!0},{info:k(()=>[j(I(r(lt).minsoc),1)]),default:k(()=>[_(Oe,{id:"minSoc",modelValue:a.value.pvMinSoc,"onUpdate:modelValue":d[3]||(d[3]=l=>a.value.pvMinSoc=l),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):M("",!0),o.value?(p(),B(te,{key:2,title:"...mit Ladestrom",fullwidth:!0},{default:k(()=>[_(Oe,{id:"minSocCurrent",modelValue:a.value.pvMinSocCurrent,"onUpdate:modelValue":d[4]||(d[4]=l=>a.value.pvMinSocCurrent=l),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1})):M("",!0),_(te,{title:"Minimaler Ladestrom",icon:"fa-bolt",infotext:r(lt).minpv,fullwidth:!0},{default:k(()=>[_(Le,{modelValue:n.value,"onUpdate:modelValue":d[5]||(d[5]=l=>n.value=l)},null,8,["modelValue"])]),_:1},8,["infotext"]),n.value?(p(),B(te,{key:3,title:"...bei Ladestrom (minimal)",fullwidth:!0},{default:k(()=>[_(Oe,{id:"minCurrent",modelValue:a.value.pvMinCurrent,"onUpdate:modelValue":d[6]||(d[6]=l=>a.value.pvMinCurrent=l),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1})):M("",!0)]))}}),Qr=Q(Yr,[["__scopeId","data-v-826c4d0e"]]),xe=t=>(me("data-v-2b0c724c"),t=t(),ve(),t),qr={class:"m-0 mt-1 p-0 grid-col-12 tabarea"},Xr={class:"nav nav-tabs nav-justified mx-1 mt-1",role:"tablist"},Zr=["data-bs-target"],Kr=xe(()=>c("i",{class:"fa-solid fa-charging-station"},null,-1)),es=[Kr],ts=["data-bs-target"],as=xe(()=>c("i",{class:"fa-solid fa-lg fa-bolt"},null,-1)),ns=["data-bs-target"],os=xe(()=>c("i",{class:"fa-solid fa-solar-panel me-1"},null,-1)),rs=["data-bs-target"],ss=xe(()=>c("i",{class:"fa-solid fa-bullseye me-1"},null,-1)),is=["data-bs-target"],cs=xe(()=>c("i",{class:"fa-solid fa-clock"},null,-1)),ls=["data-bs-target"],us=xe(()=>c("i",{class:"fa-solid fa-rectangle-list"},null,-1)),ds=[us],hs=["data-bs-target"],ps=xe(()=>c("i",{class:"fa-solid fa-chart-line"},null,-1)),gs=[ps],ms={id:"settingsPanes",class:"tab-content mx-1 p-1 pb-3"},vs=["id"],fs={class:"settingslist"},_s=xe(()=>c("hr",{class:"grid-col-12"},null,-1)),ys=xe(()=>c("hr",{class:"grid-col-12"},null,-1)),bs=["id"],ws=["id"],Ss=["id"],ks=["id"],Ms=["id"],xs=["id"],Ps=T({__name:"SettingsPage",props:{chargepoint:{}},setup(t){const e=t,a=de(e.chargepoint),n=g(()=>re[e.chargepoint.chargeTemplate]),o=g(()=>e.chargepoint.id),i=g({get:()=>e.chargepoint.etActive,set:l=>{w[e.chargepoint.id].etActive=l}}),h=g({get:()=>e.chargepoint.timedCharging,set:l=>{w[e.chargepoint.id].timedCharging=l}}),d=g({get:()=>e.chargepoint.connectedVehicle,set:l=>{w[e.chargepoint.id].connectedVehicle=l}});return(l,m)=>{const f=De("CPChargeConfig"),W=De("CPConfigScheduled"),S=De("CPConfigTimed"),Y=De("CPConfigVehicle"),q=De("PriceChart");return p(),y("div",qr,[c("nav",Xr,[c("a",{class:"nav-link active","data-bs-toggle":"tab","data-bs-target":"#chargeSettings"+o.value},es,8,Zr),c("a",{class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#instantSettings"+o.value},[as,j(" Sofort ")],8,ts),c("a",{class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#pvSettings"+o.value},[os,j(" PV ")],8,ns),c("a",{class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#scheduledSettings"+o.value},[ss,j(" Zielladen ")],8,rs),c("a",{class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#timeSettings"+o.value},[cs,j(" Zeitladen ")],8,is),c("a",{class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#carSettings"+o.value},ds,8,ls),r(se).active&&a.value.etActive?(p(),y("a",{key:0,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#priceChart"+o.value},gs,8,hs)):M("",!0)]),c("div",ms,[c("div",{id:"chargeSettings"+o.value,class:"tab-pane active",role:"tabpanel","aria-labelledby":"instant-tab"},[_(f,{chargepoint:l.chargepoint},null,8,["chargepoint"]),c("div",fs,[r(F).isBatteryConfigured?(p(),B(te,{key:0,title:"PV-Priorität (global)",icon:"fa-car-battery",iconcolor:"var(--color-battery)",infotext:"Priority during PV production",fullwidth:!0},{default:k(()=>[_(qe,{modelValue:r(F).pvBatteryPriority,"onUpdate:modelValue":m[0]||(m[0]=U=>r(F).pvBatteryPriority=U),options:r(Da)},null,8,["modelValue","options"])]),_:1})):M("",!0),_s,_(te,{title:"Fahrzeug wechseln",icon:"fa-car",fullwidth:!0},{default:k(()=>[_(qe,{modelValue:d.value,"onUpdate:modelValue":m[1]||(m[1]=U=>d.value=U),modelModifiers:{number:!0},options:Object.values(r(A)).map(U=>[U.name,U.id])},null,8,["modelValue","options"])]),_:1}),ys,_(te,{title:"Strompreisbasiert laden",icon:"fa-coins",iconcolor:"var(--color-battery)",infotext:"Settings"},{default:k(()=>[_(Le,{modelValue:i.value,"onUpdate:modelValue":m[2]||(m[2]=U=>i.value=U)},null,8,["modelValue"])]),_:1}),_(te,{title:"Zeitplan aktivieren",icon:"fa-clock",iconcolor:"var(--color-battery)"},{default:k(()=>[_(Le,{modelValue:h.value,"onUpdate:modelValue":m[3]||(m[3]=U=>h.value=U)},null,8,["modelValue"])]),_:1}),_(te,{title:"Ladeprofil",icon:"fa-sliders",iconcolor:"var(--color-pv)"},{default:k(()=>[r(A)[d.value]?(p(),B(qe,{key:0,modelValue:r(A)[d.value].chargeTemplateId,"onUpdate:modelValue":m[4]||(m[4]=U=>r(A)[d.value].chargeTemplateId=U),modelModifiers:{number:!0},options:Object.keys(r(re)).map(U=>[r(re)[+U].name,U])},null,8,["modelValue","options"])):M("",!0)]),_:1})])],8,vs),c("div",{id:"instantSettings"+o.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"instant-tab"},[_(Fr,{chargepoint:a.value,vehicles:r(A),"charge-templates":r(re)},null,8,["chargepoint","vehicles","charge-templates"])],8,bs),c("div",{id:"pvSettings"+o.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"pv-tab"},[_(Qr,{chargepoint:a.value,vehicles:r(A),"charge-templates":r(re)},null,8,["chargepoint","vehicles","charge-templates"])],8,ws),c("div",{id:"scheduledSettings"+o.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"scheduled-tab"},[n.value!=null?(p(),B(W,{key:0,"charge-template-id":a.value.chargeTemplate},null,8,["charge-template-id"])):M("",!0)],8,Ss),c("div",{id:"timeSettings"+o.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"time-tab"},[n.value!=null?(p(),B(S,{key:0,"charge-template-id":a.value.chargeTemplate},null,8,["charge-template-id"])):M("",!0)],8,ks),c("div",{id:"carSettings"+o.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"car-tab"},[r(A)[a.value.connectedVehicle]!=null?(p(),B(Y,{key:0,"vehicle-id":a.value.connectedVehicle},null,8,["vehicle-id"])):M("",!0)],8,Ms),c("div",{id:"priceChart"+o.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"price-tab"},[r(A)[a.value.connectedVehicle]!=null?(p(),B(q,{key:0,chargepoint:a.value},null,8,["chargepoint"])):M("",!0)],8,xs)])])}}}),Cs=Q(Ps,[["__scopeId","data-v-2b0c724c"]]);function $s(t,e){t=="openWB/graph/boolDisplayLiveGraph"?F.displayLiveGraph=+e==1:t.match(/^openwb\/graph\/alllivevaluesJson[1-9][0-9]*$/i)?Is(t,e):t=="openWB/graph/lastlivevaluesJson"?Os(t,e):t=="openWB/graph/config/duration"&&(Z.duration=JSON.parse(e))}function Is(t,e){if(!Z.initialized){let a=[];const n=e.toString().split(` -`);n.length>1?a=n.map(h=>JSON.parse(h)):a=[];const o=t.match(/(\d+)$/g),i=o?o[0]:"";i!=""&&typeof Z.rawDataPacks[+i-1]>"u"&&(Z.rawDataPacks[+i-1]=a,Z.initCounter++)}if(Z.initCounter==16){const a=[];Z.unsubscribeRefresh(),Z.initialized=!0,Z.rawDataPacks.map(n=>{n.map(o=>{const i=na(o);a.push(i)})}),Je(a),Z.subscribeUpdates()}}function Os(t,e){const a=JSON.parse(e),n=na(a);Z.graphRefreshCounter++,Je(u.data.concat(n)),Z.graphRefreshCounter>60&&Z.activate()}function na(t){const e=Object.values(w).length>0?Object.values(w)[0].connectedVehicle:0,a=Object.values(w).length>1?Object.values(w)[1].connectedVehicle:1,n="ev"+e+"-soc",o="ev"+a+"-soc",i={};i.date=Bs(t.time).valueOf(),+t.grid>0?(i.evuIn=+t.grid,i.evuOut=0):+t.grid<=0?(i.evuIn=0,i.evuOut=-t.grid):(i.evuIn=0,i.evuOut=0),+t["pv-all"]>=0?(i.pv=+t["pv-all"],i.inverter=0):(i.pv=0,i.inverter=-t["pv-all"]),i.house=+t["house-power"],+t["bat-all-power"]>0?(i.batOut=0,i.batIn=+t["bat-all-power"]):+t["bat-all-power"]<0?(i.batOut=-t["bat-all-power"],i.batIn=0):(i.batOut=0,i.batIn=0),t["bat-all-soc"]?i.batSoc=+t["bat-all-soc"]:i.batSoc=0,t[n]&&(i["soc"+e]=+t[n]),t[o]&&(i["soc"+a]=+t[o]),i.charging=+t["charging-all"];for(let h=0;h<10;h++){const d="cp"+h;i[d]=+(t[d+"-power"]??0)}return i.selfUsage=i.pv-i.evuOut,i.selfUsage<0&&(i.selfUsage=0),i.devices=0,i}function Bs(t){const e=new Date(Date.now()),a=864e5;let n=new Date;const o=Ke("%H:%M:%S")(t);return o&&(n=o,n.setDate(e.getDate()),n.setMonth(e.getMonth()),n.setFullYear(e.getFullYear()),n.getHours()>e.getHours()&&(n=new Date(n.getTime()-a))),n}const Ts=["evuIn","pv","batIn","evuOut"];let nt=[];function Ls(t,e){const a=JSON.parse(e).entries,n=JSON.parse(e).totals;St(),nt=[],kt.map(i=>{P.setEnergyPv(i,0),P.setEnergyBat(i,0)});const o=Vs(a);Je(o),Mt(n,nt),v.debug&&(console.debug("---------------------------------------- Graph Data ---------------------------"),console.debug("--- Incoming graph data:"),console.debug(a),console.debug("data to be displayed:"),console.debug(o),console.debug("-------------------------------------------------------------------------------")),u.graphMode=="today"&&setTimeout(()=>R.activate(),3e5)}function Vs(t){const e=[];let a={};return t.map(n=>{a=As(n);const o=a;e.push(o)}),e}function As(t){const e={};if(u.graphMode=="day"||u.graphMode=="today")if(typeof t.date=="number")e.date=new Date(+t.date*1e3).getTime();else{const n=Ke("%H:%M")(t.date);n&&(n.setMonth(R.date.getMonth()),n.setDate(R.date.getDate()),n.setFullYear(R.date.getFullYear()),e.date=n.getTime())}else if(typeof t.date=="string"){const n=Ke("%Y%m%d")(t.date);n&&(e.date=n.getDate())}return e.evuOut=0,e.evuIn=0,Object.entries(t.counter).forEach(([n,o])=>{o.grid&&(e.evuOut+=o.power_exported,e.evuIn+=o.power_imported,nt.includes(n)||nt.push(n))}),e.evuOut==0&&e.evuIn==0&&Object.entries(t.counter).forEach(n=>{e.evuOut+=n[1].power_exported,e.evuIn+=n[1].power_imported}),e.pv=t.pv.all.power_exported,Object.entries(t.bat).length>0?(e.batIn=t.bat.all.power_imported,e.batOut=t.bat.all.power_exported,e.batSoc=t.bat.all.soc??0):(e.batIn=0,e.batOut=0,e.batSoc=0),Object.entries(t.cp).forEach(([n,o])=>{n!="all"?(e[n]=o.power_imported,P.keys().includes(n)||P.addItem(n)):e.charging=o.power_imported}),Object.entries(t.ev).forEach(([n,o])=>{n!="all"&&(e["soc"+n.substring(2)]=o.soc)}),e.devices=0,Object.entries(t.sh).forEach(([n,o])=>{n!="all"&&(e[n]=o.power_imported??0,e.devices+=o.power_imported??0,P.keys().includes(n)||P.addItem(n))}),e.selfUsage=e.pv-e.evuOut,t.hc&&t.hc.all?e.house=t.hc.all.power_imported:e.house=e.evuIn+e.batOut+e.pv-e.evuOut-e.charging-e.devices-e.batOut,e.evuIn+e.batOut+e.pv>0?P.keys().filter(n=>!Ts.includes(n)).map(n=>{Gn(n,e)}):Object.keys(e).map(n=>{e[n+"Pv"]=0,e[n+"Bat"]=0}),e}let Ye={};const Ct=["charging","house","batIn","devices"],Ds=["evuIn","pv","batIn","evuOut"];let je=[];function Gs(t,e){const a=JSON.parse(e).entries,n=JSON.parse(e).totals;St(),je=[],Ct.map(o=>{P.items[o].energyPv=0,P.items[o].energyBat=0}),a.length>0&&Je(oa(a)),Mt(n,[])}function Es(t,e){const a=JSON.parse(e).entries,n=JSON.parse(e).totals;St(),je=[],Ct.forEach(o=>{P.items[o].energyPv=0,P.items[o].energyBat=0}),Je(oa(a)),Mt(n,[])}function oa(t){const e=[];let a={};return Ye={},t.map(n=>{a=Ws(n),e.push(a),Object.keys(a).forEach(o=>{o!="date"&&(a[o]<0&&(console.warn(`Negative energy value for ${o} in row ${a.date}. Ignoring the value.`),a[o]=0),Ye[o]?Ye[o]+=a[o]:Ye[o]=a[o])})}),e}function Ws(t){const e={},a=Ke("%Y%m%d")(t.date);a&&(e.date=u.graphMode=="month"?a.getDate():a.getMonth()+1),e.evuOut=0,e.evuIn=0;let n=0,o=0;return Object.entries(t.counter).forEach(([h,d])=>{n+=d.energy_exported,o+=d.energy_imported,d.grid&&(e.evuOut+=d.energy_exported,e.evuIn+=d.energy_imported,je.includes(h)||je.push(h))}),je.length==0&&(e.evuOut=n,e.evuIn=o),e.pv=t.pv.all.energy_exported,Object.entries(t.bat).length>0?(t.bat.all.energy_imported>=0?e.batIn=t.bat.all.energy_imported:(console.warn("ignoring negative value for batIn on day "+e.date),e.batIn=0),t.bat.all.energy_exported>=0?e.batOut=t.bat.all.energy_exported:(console.warn("ignoring negative value for batOut on day "+e.date),e.batOut=0)):(e.batIn=0,e.batOut=0),Object.entries(t.cp).forEach(([h,d])=>{h!="all"?(P.keys().includes(h)||P.addItem(h),e[h]=d.energy_imported):e.charging=d.energy_imported}),Object.entries(t.ev).forEach(([h,d])=>{h!="all"&&(e["soc-"+h]=d.soc)}),e.devices=Object.entries(t.sh).reduce((h,d)=>(P.keys().includes(d[0])||P.addItem(d[0]),d[1].energy_imported>=0?h+=d[1].energy_imported:console.warn(`Negative energy value for device ${d[0]} in row ${e.date}. Ignoring this value`),h),0),e.house=e.pv+e.evuIn+e.batOut-e.evuOut-e.batIn-e.charging,e.selfUsage=e.pv-e.evuOut,e.evuIn+e.batOut+e.pv>0?P.keys().filter(h=>!Ds.includes(h)).map(h=>{En(h,e)}):Ct.map(h=>{e[h+"Pv"]=0,e[h+"Bat"]=0}),e}class zs{constructor(e){s(this,"id");s(this,"dailyYieldExport",0);s(this,"dailyYieldImport",0);s(this,"exported",0);s(this,"faultState",0);s(this,"faultStr","");s(this,"imported",0);s(this,"power",0);s(this,"soc",0);this.id=e}}class js{constructor(){s(this,"dailyExport",0);s(this,"dailyImport",0);s(this,"exported",0);s(this,"imported",0);s(this,"power",0);s(this,"soc",0)}}const ce=J({});J(new js);function Ns(t){t in ce?console.info("Duplicate battery message: "+t):ce[t]=new zs(t)}function Us(){Object.keys(ce).forEach(t=>{delete ce[parseInt(t)]})}function Fs(t,e){const a=Js(t);if(a&&!(a in ce)){console.warn("Invalid battery index received: "+a);return}t=="openWB/bat/config/configured"?F.isBatteryConfigured=e=="true":t=="openWB/bat/get/power"?+e>0?($.batIn.power=+e,E.batOut.power=0):($.batIn.power=0,E.batOut.power=-e):t=="openWB/bat/get/soc"?F.batterySoc=+e:t=="openWB/bat/get/daily_exported"?E.batOut.energy=+e:t=="openWB/bat/get/daily_imported"?$.batIn.energy=+e:a&&(t.match(/^openwb\/bat\/[0-9]+\/get\/daily_yield_export$/i)?ce[a].dailyYieldExport=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/daily_yield_import$/i)?ce[a].dailyYieldImport=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/exported$/i)?ce[a].exported=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/fault_state$/i)?ce[a].faultState=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/fault_str$/i)?ce[a].faultStr=e:t.match(/^openwb\/bat\/[0-9]+\/get\/imported$/i)?ce[a].imported=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/power$/i)?ce[a].power=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/soc$/i)&&(ce[a].soc=+e))}function Js(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}function Rs(t,e){if(t=="openWB/optional/et/provider")JSON.parse(e).type==null?se.active=!1:(se.active=!0,se.etProvider=JSON.parse(e).name);else if(t=="openWB/optional/et/get/prices"){const a=JSON.parse(e);se.etPriceList=new Map,Object.keys(a).map(n=>{se.etPriceList.set(new Date(+n*1e3),a[n]*1e5)})}}function Hs(t,e){const a=ra(t);if(a&&!(a in w)){console.warn("Invalid chargepoint id received: "+a);return}if(t=="openWB/chargepoint/get/power"?$.charging.power=+e:t=="openWB/chargepoint/get/daily_imported"&&($.charging.energy=+e),t=="openWB/chargepoint/get/daily_exported")F.cpDailyExported=+e;else if(a){if(t.match(/^openwb\/chargepoint\/[0-9]+\/config$/i))if(w[a]){const n=JSON.parse(e);w[a].name=n.name,w[a].icon=n.name,ae["cp"+a]?(ae["cp"+a].name=n.name,ae["cp"+a].icon=n.name):ae["cp"+a]={name:n.name,icon:n.name,color:"var(--color-charging)"}}else console.warn("invalid chargepoint index: "+a);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/state_str$/i))w[a].stateStr=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/fault_str$/i))w[a].faultStr=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/fault_state$/i))w[a].faultState=+e;else if(t.match(/^openWB\/chargepoint\/[0-9]+\/get\/power$/i))w[a].power=+e;else if(t.match(/^openWB\/chargepoint\/[0-9]+\/get\/daily_imported$/i))w[a].dailyYield=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/plug_state$/i))w[a].isPluggedIn=e=="true";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/charge_state$/i))w[a].isCharging=e=="true";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/manual_lock$/i))w[a].updateIsLocked(e=="true");else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/enabled$/i))w[a].isEnabled=e=="1";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/phases_in_use/i))w[a].phasesInUse=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/current/i))w[a].current=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/currents/i))w[a].currents=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/log/i)){const n=JSON.parse(e);w[a].chargedSincePlugged=n.imported_since_plugged}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/soc$/i)){const n=JSON.parse(e);w[a].soc=n.soc,w[a].waitingForSoc=!1,w[a].rangeCharged=n.range_charged,w[a].rangeUnit=n.range_unit}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/info$/i)){const n=JSON.parse(e);w[a].vehicleName=String(n.name),w[a].updateConnectedVehicle(+n.id)}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/config$/i)){const n=JSON.parse(e);switch(n.chargemode){case"instant_charging":w[a].updateChargeMode(ge.instant_charging);break;case"pv_charging":w[a].updateChargeMode(ge.pv_charging);break;case"scheduled_charging":w[a].updateChargeMode(ge.scheduled_charging);break;case"standby":w[a].updateChargeMode(ge.standby);break;case"stop":w[a].updateChargeMode(ge.stop);break}w[a].chargeTemplate=n.charge_template,w[a].averageConsumption=n.average_consumption}}}function Ys(t,e){const a=ra(t);if(a!=null){if(!(a in A)){const n=new Oa(a);A[a]=n}if(t.match(/^openwb\/vehicle\/[0-9]+\/name$/i))Object.values(w).forEach(n=>{n.connectedVehicle==a&&(n.vehicleName=JSON.parse(e))}),A[a].name=JSON.parse(e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/get\/soc$/i))A[a].soc=JSON.parse(e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/get\/range$/i))isNaN(+e)?A[a].range=0:A[a].range=+e;else if(t.match(/^openwb\/vehicle\/[0-9]+\/charge_template$/i))A[a].updateChargeTemplateId(+e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/ev_template$/i))A[a].updateEvTemplateId(+e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/soc_module\/config$/i)){const n=JSON.parse(e);Object.values(w).forEach(o=>{o.connectedVehicle==a&&(o.isSocConfigured=n.type!==null,o.isSocManual=n.type=="manual")})}}}function Qs(t,e){if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+$/i)){const a=t.match(/[0-9]+$/i);if(a){const n=+a[0],o=JSON.parse(e);re[n]=o,qs(n,o)}}else if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+\/time_charging\/plans\/[0-9]+$/i)){const a=t.match(/(?:\/)([0-9]+)(?:\/)/g),n=t.match(/[0-9]+$/i);if(a&&n){const o=+a[0].replace(/[^0-9]+/g,""),i=+n[0],h=JSON.parse(e);o in ct||(ct[o]=[]),ct[o][i]=h}}else if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+\/chargemode\/scheduled_charging\/plans\/[0-9]+$/i)){const a=t.match(/(?:\/)([0-9]+)(?:\/)/g),n=t.match(/[0-9]+$/i);if(a&&n){const o=+a[0].replace(/[^0-9]+/g,""),i=+n[0],h=JSON.parse(e);o in it||(it[o]=[]),it[o][i]=h}}else if(t.match(/^openwb\/vehicle\/template\/ev_template\/[0-9]+$/i)){const a=t.match(/[0-9]+$/i);if(a){const n=+a[0],o=JSON.parse(e);Ba[n]=o}}}function qs(t,e){Object.values(w).forEach(a=>{a.chargeTemplate==t&&(a.updateCpPriority(e.prio),a.updateInstantChargeLimitMode(e.chargemode.instant_charging.limit.selected),a.updateInstantTargetCurrent(e.chargemode.instant_charging.current),a.updateInstantTargetSoc(e.chargemode.instant_charging.limit.soc),a.updateInstantMaxEnergy(e.chargemode.instant_charging.limit.amount),a.updatePvFeedInLimit(e.chargemode.pv_charging.feed_in_limit),a.updatePvMinCurrent(e.chargemode.pv_charging.min_current),a.updatePvMaxSoc(e.chargemode.pv_charging.max_soc),a.updatePvMinSoc(e.chargemode.pv_charging.min_soc),a.updatePvMinSocCurrent(e.chargemode.pv_charging.min_soc_current))})}function ra(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}function Xs(t,e){t.match(/^openWB\/LegacySmarthome\/config\//i)?Zs(t,e):t.match(/^openWB\/LegacySmarthome\/Devices\//i)&&Ks(t,e)}function Zs(t,e){const a=sa(t);a!=null&&(a in V||Ht(a),t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_configured$/i)?V[a].configured=e!="0":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_name$/i)?(V[a].name=e.toString(),V[a].icon=e.toString(),ae["sh"+a].name=e.toString(),ae["sh"+a].icon=e.toString()):t.match(/^openWB\/LegacySmarthome\/config\/set\/Devices\/[0-9]+\/mode$/i)?V[a].isAutomatic=e=="0":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_canSwitch$/i)?V[a].canSwitch=e=="1":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_homeConsumtion$/i)?V[a].countAsHouse=e=="1":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_temperatur_configured$/i)&&(V[a].tempConfigured=+e))}function Ks(t,e){const a=sa(t);if(a==null){console.warn("Smarthome: Missing index in "+t);return}if(a in V||Ht(a),t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/Watt$/i))V[a].power=+e,ei("power");else if(!t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/Wh$/i)){if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/RunningTimeToday$/i))V[a].runningTime=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor0$/i))V[a].temp[0]=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor1$/i))V[a].temp[1]=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor2$/i))V[a].temp[2]=+e;else if(t.match(/^openWB\/LegacySmartHome\/Devices\/[0-9]+\/Status$/i))switch(+e){case 10:V[a].status="off";break;case 11:V[a].status="on";break;case 20:V[a].status="detection";break;case 30:V[a].status="timeout";break;default:V[a].status="off"}}}function ei(t){switch(t){case"power":$.devices.power=Object.values(V).filter(e=>e.configured&&!e.countAsHouse).reduce((e,a)=>e+a.power,0);break;case"energy":$.devices.energy=Object.values(V).filter(e=>e.configured&&!e.countAsHouse).reduce((e,a)=>e+a.energy,0);break;default:console.error("Unknown category")}}function sa(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}class ti{constructor(e){s(this,"id");s(this,"name","Zähler");s(this,"power",0);s(this,"energy_imported",0);s(this,"energy_exported",0);s(this,"grid",!1);s(this,"type","counter");s(this,"color","var(--color-evu)");s(this,"energyPv",0);s(this,"energyBat",0);s(this,"pvPercentage",0);s(this,"icon","");this.id=e}}const ue=J({});function ai(t,e){if(t in ue)console.info("Duplicate counter message: "+t);else switch(ue[t]=new ti(t),ue[t].type=e,e){case"counter":ue[t].color="var(--color-evu)";break;case"inverter":ue[t].color="var(--color-pv)";break;case"cp":ue[t].color="var(--color-charging)";break;case"bat":ue[t].color="var(--color-bat)";break}}const ni=["openWB/counter/#","openWB/bat/#","openWB/pv/get/#","openWB/chargepoint/#","openWB/vehicle/#","openWB/general/chargemode_config/pv_charging/#","openWB/optional/et/#","openWB/system/#","openWB/LegacySmartHome/#","openWB/command/"+bt()+"/#","openWB/optional/int_display/#"];function oi(){$a(ri),ni.forEach(t=>{Be(t)}),ee()}function ri(t,e){const a=e.toString();t.match(/^openwb\/counter\/[0-9]+\//i)?si(t,a):t.match(/^openwb\/counter\//i)?ii(t,a):t.match(/^openwb\/bat\//i)?Fs(t,a):t.match(/^openwb\/pv\//i)?ci(t,a):t.match(/^openwb\/chargepoint\//i)?Hs(t,a):t.match(/^openwb\/vehicle\/template\//i)?Qs(t,a):t.match(/^openwb\/vehicle\//i)?Ys(t,a):t.match(/^openwb\/general\/chargemode_config\/pv_charging\//i)?li(t,a):t.match(/^openwb\/graph\//i)?$s(t,a):t.match(/^openwb\/log\/daily\//i)?Ls(t,a):t.match(/^openwb\/log\/monthly\//i)?Gs(t,a):t.match(/^openwb\/log\/yearly\//i)?Es(t,a):t.match(/^openwb\/optional\/et\//i)?Rs(t,a):t.match(/^openwb\/system\//i)?di(t,a):t.match(/^openwb\/LegacySmartHome\//i)?Xs(t,a):t.match(/^openwb\/command\//i)?hi(t,a):t.match(/^openwb\/optional\//i)&&pi(t,a)}function si(t,e){const a=t.split("/"),n=+a[2];if(n==F.evuId?ui(t,e):a[3]=="config",a[3]=="get"&&n in ue)switch(a[4]){case"power":ue[n].power=+e;break;case"config":break;case"fault_str":break;case"fault_state":break;case"power_factors":break;case"imported":break;case"exported":break;case"frequency":break;case"daily_imported":ue[n].energy_imported=+e;break;case"daily_exported":ue[n].energy_exported=+e;break}}function ii(t,e){if(t.match(/^openwb\/counter\/get\/hierarchy$/i)){const a=JSON.parse(e);if(a.length){La(),Us();for(const n of a)n.type=="counter"&&(F.evuId=n.id);ia(a[0])}}else t.match(/^openwb\/counter\/set\/home_consumption$/i)?($.house.power=+e,Ea()):t.match(/^openwb\/counter\/set\/daily_yield_home_consumption$/i)&&($.house.energy=+e)}function ia(t){switch(t.type){case"counter":ai(t.id,t.type);break;case"cp":Ta(t.id);break;case"bat":Ns(t.id);break}t.children.forEach(e=>ia(e))}function ci(t,e){switch(t){case"openWB/pv/get/power":E.pv.power=-e;break;case"openWB/pv/get/daily_exported":E.pv.energy=+e;break}}function li(t,e){const a=t.split("/");if(a.length>0)switch(a[4]){case"bat_mode":F.updatePvBatteryPriority(JSON.parse(e));break}}function ui(t,e){switch(t.split("/")[4]){case"power":+e>0?(E.evuIn.power=+e,$.evuOut.power=0):(E.evuIn.power=0,$.evuOut.power=-e);break;case"daily_imported":E.evuIn.energy=+e;break;case"daily_exported":$.evuOut.energy=+e;break}}function di(t,e){if(t.match(/^openWB\/system\/device\/[0-9]+\/component\/[0-9]+\/config$/i)){const a=JSON.parse(e);a.type=="counter"&&(ue[a.id].name=a.name)}else t.match(/^openWB\/system\/ip_address$/i)?F.ipAddress=JSON.parse(e):t.match(/^openWB\/system\/time$/i)?F.systemTime=JSON.parse(e):t.match(/^openWB\/system\/version$/i)?F.version=JSON.parse(e):t.match(/^openWB\/system\/current_commit$/i)?F.versionDetails=JSON.parse(e):t.match(/^openWB\/system\/current_branch$/i)&&(F.devBranch=JSON.parse(e))}function hi(t,e){const a=t.split("/");if(t.match(/^openWB\/command\/[a-z]+\/error$/i)&&a[2]==bt()){const n=JSON.parse(e);console.error(`Error message from openWB: -Command: ${n.command} -Data: JSON.stringify(err.data) -Error: - ${n.error}`)}}function pi(t,e){if(t.match(/^openwb\/optional\/int_display\/active$/i))ne.active=JSON.parse(e);else if(t.match(/^openwb\/optional\/int_display\/only_local_charge_points$/i))ne.localCpOnly=JSON.parse(e);else if(t.match(/^openwb\/optional\/int_display\/theme$/i)){const a=JSON.parse(e);ne.usePin=a.configuration.lock_changes,ne.code=a.configuration.lock_changes_code}}const gi={class:"d-flex flex-column align-items-center justify-content-start infoitem"},mi=T({__name:"InfoItem",props:{heading:{},small:{type:Boolean}},setup(t){const e=t,a=g(()=>e.small?{"font-size":"var(--font-small)"}:{"font-size":"var(--font-small)"}),n=g(()=>e.small?{"font-size":"var(--font-small)"}:{"font-size":"var(--font-normal)"}),o=g(()=>e.small?"mt-0":"mt-1");return(i,h)=>(p(),y("span",gi,[c("span",{class:K(["d-flex heading scaled",o.value]),style:oe(a.value)},I(e.heading),7),c("span",{class:"d-flex my-0 me-0 align-items-center content scaled",style:oe(n.value)},[pe(i.$slots,"default",{},void 0,!0)],4)]))}}),ie=Q(mi,[["__scopeId","data-v-9215fd9b"]]),vi=T({__name:"BatterySymbol",props:{soc:{}},setup(t){const e=t,a=g(()=>e.soc<=12?"fa-battery-empty":e.soc<38?"fa-battery-quarter":e.soc<63?"fa-battery-half":e.soc<89?"fa-battery-three-quarters":"fa-battery-full");return(n,o)=>(p(),y("span",null,[c("i",{class:K(["fa batIcon",a.value])},null,2),j(" "+I(Math.round(n.soc)+"%"),1)]))}}),fi=Q(vi,[["__scopeId","data-v-fc156cd3"]]),_i=T({__name:"FormatWattH",props:{wattH:{}},setup(t){const e=t,a=g(()=>jt(e.wattH,v.decimalPlaces));return(n,o)=>(p(),y("span",null,I(a.value),1))}}),ca=t=>(me("data-v-96742d03"),t=t(),ve(),t),yi=ca(()=>c("span",{class:"fa-solid fa-charging-station"}," ",-1)),bi={class:"grid12"},wi={class:"targetCurrent"},Si=ca(()=>c("i",{class:"fa-solid fa-sm fa-car me-3"},null,-1)),ki={key:0,class:"ms-2 me-0 fa-solid fa-xs fa-star ps-1"},Mi={key:1,class:"ms-2 me-0 fa-solid fa-xs fa-coins ps-0"},xi={class:"grid12"},Pi={key:0,class:"me-1 fa-solid fa-xs fa-clock ps-1"},Ci={type:"button"},$i=T({__name:"CPChargePoint",props:{chargepoint:{}},setup(t){const e=t,a=de(e.chargepoint),n=g({get(){return e.chargepoint.chargeMode},set(x){ne.locked?vt():w[e.chargepoint.id].chargeMode=x}}),o=g(()=>(Math.round(e.chargepoint.current*10)/10).toLocaleString(void 0)+" A"),i=g(()=>(Math.round(e.chargepoint.realCurrent*10)/10).toLocaleString(void 0)+" A"),h=g(()=>{const x=e.chargepoint.rangeCharged,N=e.chargepoint.chargedSincePlugged,z=e.chargepoint.dailyYield;return N>0?Math.round(x/N*z).toString()+" "+e.chargepoint.rangeUnit:"0 km"}),d=g(()=>e.chargepoint.isLocked?"Gesperrt":e.chargepoint.isCharging?"Lädt":e.chargepoint.isPluggedIn?"Bereit":"Frei"),l=g(()=>e.chargepoint.isLocked?"var(--color-evu)":e.chargepoint.isCharging?"var(--color-charging)":e.chargepoint.isPluggedIn?"var(--color-battery)":"var(--color-axis)"),m=g(()=>{let x="";return e.chargepoint.isLocked?x="fa-lock":e.chargepoint.isCharging?x=" fa-bolt":e.chargepoint.isPluggedIn&&(x="fa-plug"),"fa "+x}),f=g(()=>e.chargepoint.soc),W=g(()=>({color:e.chargepoint.color})),S=g(()=>e.chargepoint.etMaxPrice>=+q.value?{color:"var(--color-charging)"}:{color:"var(--color-menu)"}),Y=de(!1),q=g(()=>{const[x]=se.etPriceList.values();return(Math.round(x*10)/10).toFixed(1)});function U(){ne.locked?vt():new Gt("#settingspage").toggle()}return(x,N)=>Y.value?M("",!0):(p(),B(ot,{key:0,"variable-width":!0},{title:k(()=>[c("span",{style:oe(W.value)},[yi,j(" "+I(e.chargepoint.name),1)],4)]),buttons:k(()=>[_(Ce,{color:"var(--color-cp0)",icon:"fa-edit",onClick:U},{default:k(()=>[j(" Einstellungen")]),_:1})]),footer:k(()=>[c("h3",{class:"d-flex justify-content-left align-items-center",onClick:U},[Si,j(" "+I(x.chargepoint.vehicleName)+" ",1),x.chargepoint.hasPriority?(p(),y("span",ki)):M("",!0),x.chargepoint.etActive?(p(),y("span",Mi)):M("",!0)]),c("div",xi,[x.chargepoint.isSocConfigured?(p(),B(ie,{key:0,heading:"Ladestand:",class:"grid-col-4 grid-left"},{default:k(()=>[_(fi,{soc:f.value,class:"me-2"},null,8,["soc"])]),_:1})):M("",!0),x.chargepoint.isSocConfigured?(p(),B(ie,{key:1,heading:"Reichweite:",class:"grid-col-4"},{default:k(()=>[j(I(r(A)[e.chargepoint.connectedVehicle]?Math.round(r(A)[e.chargepoint.connectedVehicle].range):0)+" km ",1)]),_:1})):M("",!0),_(ie,{heading:"Zeitplan:",class:"grid-col-4 grid-right"},{default:k(()=>[x.chargepoint.timedCharging?(p(),y("span",Pi)):M("",!0),j(" "+I(e.chargepoint.timedCharging?"Ja":"Nein"),1)]),_:1}),r(se).active?(p(),B(ie,{key:2,heading:"Preisladen:",class:"grid-col-4 grid-left"},{default:k(()=>[j(I(a.value.etActive?"Ja":"Nein"),1)]),_:1})):M("",!0),r(se).active?(p(),B(ie,{key:3,heading:"max. Preis:",class:"grid-col-4"},{default:k(()=>[c("span",Ci,I(e.chargepoint.etActive?(Math.round(e.chargepoint.etMaxPrice*10)/10).toFixed(1)+" ct":"-"),1)]),_:1})):M("",!0),r(se).active?(p(),B(ie,{key:4,heading:"akt. Preis:",class:"grid-col-4 grid-right"},{default:k(()=>[c("span",{style:oe(S.value)},I(q.value)+" ct ",5)]),_:1})):M("",!0),_(Zt,{id:"chargemode-"+x.chargepoint.name,modelValue:n.value,"onUpdate:modelValue":N[0]||(N[0]=z=>n.value=z),class:"chargemodes mt-3 mb-3",options:Object.keys(r(Ge)).map(z=>({text:r(Ge)[z].name,value:z,color:r(Ge)[z].color,icon:r(Ge)[z].icon,active:r(Ge)[z].mode==x.chargepoint.chargeMode}))},null,8,["id","modelValue","options"])])]),default:k(()=>[c("div",bi,[_(ie,{heading:"Status:",class:"grid-col-4 grid-left"},{default:k(()=>[c("span",{style:oe({color:l.value})},[c("i",{class:K(m.value)},null,2),j(" "+I(d.value),1)],4)]),_:1}),_(ie,{heading:"Geladen:",class:"grid-col-4"},{default:k(()=>[_(_i,{"watt-h":x.chargepoint.dailyYield},null,8,["watt-h"])]),_:1}),_(ie,{heading:"gel. Reichw.:",class:"grid-col-4 grid-right"},{default:k(()=>[j(I(h.value),1)]),_:1}),e.chargepoint.power>0?(p(),B(ie,{key:0,heading:"Leistung:",class:"grid-col-3 grid-left"},{default:k(()=>[_(Yt,{watt:e.chargepoint.power},null,8,["watt"])]),_:1})):M("",!0),e.chargepoint.power>0?(p(),B(ie,{key:1,heading:"Strom:",class:"grid-col-3"},{default:k(()=>[j(I(i.value),1)]),_:1})):M("",!0),e.chargepoint.power>0?(p(),B(ie,{key:2,heading:"Phasen:",class:"grid-col-3"},{default:k(()=>[j(I(e.chargepoint.phasesInUse),1)]),_:1})):M("",!0),e.chargepoint.power>0?(p(),B(ie,{key:3,heading:"Sollstrom:",class:"grid-col-3 grid-right"},{default:k(()=>[c("span",wi,I(o.value),1)]),_:1})):M("",!0)])]),_:1}))}}),Ii=Q($i,[["__scopeId","data-v-96742d03"]]),Oi=t=>(me("data-v-0fe8554c"),t=t(),ve(),t),Bi={class:"content"},Ti={class:"leftside"},Li={class:"rightside"},Vi=Oi(()=>c("span",{class:"statustitle"},"Systemstatus",-1)),Ai={class:"settingstitle"},Di=T({__name:"DisplayTheme",setup(t){function e(n){Ga(n)&&(ne.locked=!1,setTimeout(()=>{ne.locked=!0},ne.timeout*1e3))}_t(()=>{window.addEventListener("resize",Fa),window.addEventListener("focus",a),oi()});function a(){document.hasFocus()&&ee()}return(n,o)=>(p(),y(Ie,null,[c("div",Bi,[c("div",Ti,[We(c("div",null,[_(Ln)],512),[[st,r(v).graphToShow=="powermeter"]]),We(c("div",null,[_(So)],512),[[st,r(v).graphToShow=="powergraph"]]),We(c("div",null,[_(Ro)],512),[[st,r(v).graphToShow=="energymeter"]])]),c("div",Li,[Object.values(r(w)).length>r(v).cpToShow?(p(),B(Ii,{key:0,chargepoint:Object.values(r(w))[r(v).cpToShow],"full-width":!0},null,8,["chargepoint"])):M("",!0)])]),_(pt,{"modal-id":"numberpad"},{title:k(()=>[j("Code")]),default:k(()=>[_(ur,{"model-value":"","onUpdate:modelValue":e})]),_:1}),_(pt,{"modal-id":"statuspage"},{title:k(()=>[Vi]),default:k(()=>[_(_r)]),_:1}),Object.values(r(w)).length>r(v).cpToShow?(p(),B(pt,{key:0,"modal-id":"settingspage"},{title:k(()=>[c("span",Ai,"Einstellungen für "+I(Object.values(r(w))[r(v).cpToShow].name)+" ("+I(Object.values(r(w))[r(v).cpToShow].vehicleName)+") ",1)]),default:k(()=>[_(Cs,{chargepoint:Object.values(r(w))[r(v).cpToShow]},null,8,["chargepoint"])]),_:1})):M("",!0)],64))}}),Gi=Q(Di,[["__scopeId","data-v-0fe8554c"]]),Ei={class:"fixeddisplay"},Wi=T({__name:"App",setup(t){return(e,a)=>(p(),y("div",Ei,[_(Gi),_(nn)]))}}),zi=Q(Wi,[["__scopeId","data-v-75d14554"]]),ji=ba(zi);ji.mount("#app"); diff --git a/packages/modules/display_themes/colors/web/assets/index-Cber0GeC.css b/packages/modules/display_themes/colors/web/assets/index-Cber0GeC.css new file mode 100644 index 0000000000..edd1cd4bed --- /dev/null +++ b/packages/modules/display_themes/colors/web/assets/index-Cber0GeC.css @@ -0,0 +1,9 @@ +@charset "UTF-8";.displaybutton[data-v-0f8aebee]{border:.1px solid var(--color-frame);padding:6px 8px;align-self:top;box-shadow:1px 3px #000;font-weight:700;font-size:var(--font-small)}.navigation[data-v-97154896]{display:flex;justify-content:space-between;padding:2px 10px;align-items:center;border-top:0px solid var(--color-menu);border-bottom:0px solid var(--color-menu)}.timedisplay[data-v-97154896]{font-size:var(--font-medium);font-weight:700;color:var(--color-input)}.navbar[data-v-97154896]{background-color:var(--color-bg);color:var(--color-fg);font-size:var(--font-normal)}.graphbuttons[data-v-97154896],.cpbuttons[data-v-97154896]{display:flex;justify-content:left;align-items:center;gap:5px}.dropdown-menu[data-v-97154896]{background-color:var(--color-bg);color:var(--color-fg)}.dropdown-item[data-v-97154896]{background-color:var(--color-bg);color:var(--color-fg);font-size:var(--font-normal)}.btn[data-v-97154896]{font-size:var(--font-medium);background-color:var(--color-bg);color:var(--color-fg)}.navbar-brand[data-v-97154896]{font-weight:700;color:var(--color-fg);font-size:var(--font-normal)}.nav-link[data-v-97154896]{color:var(--color-fg);border-color:red;font-size:var(--font-normal)}.navbar-toggler[data-v-97154896]{color:var(--color-fg);border-color:var(--color-bg)}.navbar-time[data-v-97154896]{font-weight:700;color:var(--color-menu);font-size:var(--font-normal)}.brand[data-v-97154896]{font-size:var(--font-medium);font-weight:700;color:var(--color-input)}.wb-widget[data-v-b83b615b]{background-color:var(--color-bg);border:.1px solid var(--color-frame);align-self:stretch;width:100%;border-radius:30px;display:grid;grid-template-columns:repeat(12,auto);gap:.2em;justify-content:stretch}.wb-subwidget[data-v-b83b615b]{border:0px solid var(--color-subframe);padding:var(--padding-widget);grid-column:span 12}.header[data-v-b83b615b]{grid-column:span 12;display:flex;justify-content:space-between;align-items:center}.titles[data-v-b83b615b]{display:flex;flex-direction:column}.title[data-v-b83b615b]{font-size:var(--font-extralarge);color:var(--color-title);font-weight:700;transform:scaleX(.9294)}.subtitle[data-v-b83b615b]{font-size:var(--font-medium)}.buttons[data-v-b83b615b]{grid-column:span 6}.powermeter{width:100%}.radiobutton[data-v-60f5d4c2]{border:0px solid var(--color-menu);opacity:1;font-size:var(--font-chargebutton)}.btn-outline-secondary.active[data-v-60f5d4c2]{background-color:var(--color-bg);border:0px solid var(--color-fg);opacity:.8}.btn-group[data-v-60f5d4c2]{border:.1px solid var(--color-menu);box-shadow:1px 3px #000}.rounded-pill[data-v-7fd067cd]{background-color:var(--color-menu)}.arrowButton[data-v-7fd067cd]{border:0}.datebadge[data-v-7fd067cd]{background-color:var(--color-bg);color:var(--color-menu);border:1px solid var(--color-menu);font-size:var(--font-small);font-weight:400}.arrowButton[data-v-7fd067cd],.fa-magnifying-glass[data-v-ba892fa4]{color:var(--color-menu)}.datebadge[data-v-ba892fa4]{background-color:var(--color-menu);color:var(--color-bg);font-size:var(--font-medium);font-weight:400}.energymeter[data-v-69785337]{width:100%}.modal-content[data-v-dff8d7c2]{background-color:var(--color-bg);border-color:var(--color-menu);box-shadow:3px 5px #000}.modal-footer[data-v-dff8d7c2],.modal-header[data-v-dff8d7c2],.modal-body[data-v-dff8d7c2]{background-color:var(--color-bg);color:var(--color-fg)}.modal-body[data-v-dff8d7c2]{border-color:var(--color-fg)}.modal-footer[data-v-dff8d7c2]{text-align:right}.modal-header .btn-close[data-v-dff8d7c2]{color:var(--color-fg);background-color:var(--color-bg);border:0px}.modal-title[data-v-dff8d7c2]{color:var(--color-fg)}.closebutton[data-v-dff8d7c2]{background:var(--color-fg)}.modal.fade .modal-dialog[data-v-dff8d7c2]{transition:transform 1s ease-out;transform:none;scale:.6}.modal.show .modal-dialog[data-v-dff8d7c2]{transition:transform .3s ease-in;transform:none;scale:1}.fa-circle-check[data-v-dff8d7c2]{color:var(--color-fg)}.padbutton[data-v-cc256a6f]{display:flex;align-items:center;justify-content:center;border-radius:50%;border:.1px dotted var(--color-menu);box-shadow:1px 3px #000}.digit[data-v-cc256a6f]{font-size:24px;font-weight:700;text-align:center;align-self:center;justify-self:center;display:flex}.numberpad[data-v-63c8fa5c]{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:var(--color-bg)}.codedisplay[data-v-63c8fa5c]{display:flex;align-items:center;justify-content:center;font-size:24px;border:10px;color:var(--color-fg)}.numberentry[data-v-63c8fa5c]{display:grid;grid-template-columns:60px 60px 60px;grid-template-rows:65px 65px 65px 65px;grid-gap:5px}.statustable[data-v-6a182015]{display:grid;grid-template-columns:35% 65%;font-size:16px;color:#fff}.header[data-v-6a182015]{color:var(--color-fg)}.infotext[data-v-40d270c0]{font-size:var(--font-settings);color:var(--color-battery)}.item-icon[data-v-40d270c0]{color:var(--color-charging);font-size:var(--font-settings)}.titlecolumn[data-v-40d270c0]{color:var(--color-bg);font-size:var(--font-settings)}.selectors[data-v-40d270c0]{font-size:var(--font-settings)}.configitem[data-v-40d270c0]{font-size:var(--font-settings);align-items:baseline;justify-content:space-between}.rangewidget[data-v-0e483fe0],.rangeslider[data-v-0e483fe0]{width:100%}.minlabel[data-v-0e483fe0],.maxlabel[data-v-0e483fe0]{color:var(--color-menu);font-size:var(--font-settings)}.valuelabel[data-v-0e483fe0]{color:var(--color-fg);font-size:var(--font-settings)}.minusButton[data-v-0e483fe0],.plusButton[data-v-0e483fe0]{color:var(--color-menu);font-size:var(--font-extralarge)}.radiobutton[data-v-005a14a9]{border:.5px solid var(--color-fg);opacity:.5;font-size:14px}.btn-outline-secondary[data-v-005a14a9]{background-color:var(--color-bg)}.btn-outline-secondary.active[data-v-005a14a9]{background-color:var(--color-bg);border:1px solid var(--color-fg);box-shadow:0 .5rem 1rem #fff;font-weight:700;opacity:1}.instantsettings[data-v-02d97261]{justify-content:center;grid-gap:20px}.chargeConfigSelect[data-v-02d97261]{background:var(--color-bg);color:var(--color-fg)}.heading[data-v-02d97261]{color:var(--color-fg);font-size:var(--font-settings);font-weight:700}.form-switch .form-check-input[data-v-547e6de4]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='var(--color-fg)'/%3e%3c/svg%3e");background-color:var(--color-evu)}.form-switch .form-check-input[data-v-547e6de4]:checked{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");background-color:var(--color-pv)}.form-switch .form-check-input[data-v-547e6de4]{border:.1px dotted var(--color-fg);font-size:20px;box-shadow:2px 3px #000}.pvsettings[data-v-455524b6]{justify-content:center;grid-gap:20px}.chargeConfigSelect[data-v-455524b6]{background:var(--color-bg);color:var(--color-fg)}.heading[data-v-455524b6]{color:var(--color-pv)}.schedulestable[data-v-ff0b6341]{justify-content:center;gap:20px}.tableline[data-v-ff0b6341]{color:var(--color-fg);background-color:var(--color-bg);text-align:center;font-size:var(--font-settings);margin-top:0;align-items:center}.tableheader[data-v-ff0b6341]{color:var(--color-menu);background-color:var(--color-bg);text-align:center;font-style:normal;font-size:var(--font-settings);font-weight:700}.subtitle[data-v-ff0b6341]{font-size:var(--font-large);font-weight:700}.warning[data-v-ff0b6341]{font-size:var(--font-large);font-weight:700;color:var(--color-evu)}.timeplantable[data-v-ace151e1]{justify-content:center;gap:20px}.subtitle[data-v-ace151e1]{font-size:var(--font-large);font-weight:700}.tableheader[data-v-ace151e1]{color:var(--color-menu);background-color:var(--color-bg);text-align:center;font-style:normal;font-size:var(--font-settings);font-weight:700}.tableline[data-v-ace151e1]{color:var(--color-fg);background-color:var(--color-bg);text-align:center;font-size:var(--font-settings);margin-top:0;align-items:center}.warning[data-v-ace151e1]{font-size:var(--font-large);font-weight:700;color:var(--color-evu)}.settingslist[data-v-ed7593cf]{display:grid;grid-template-columns:repeat(12,1fr);justify-content:center;font-size:16px;color:var(--color-fg);background-color:var(--color-bg)}.status-string[data-v-ed7593cf]{font-size:var(--font-normal);font-style:italic;color:var(--color-battery)}.chargeConfigSelect[data-v-ed7593cf]{background:var(--color-bg);color:var(--color-fg)}.chargeModeOption[data-v-ed7593cf]{background:green;color:#00f}.nav-tabs .nav-link[data-v-ed7593cf]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-ed7593cf]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-ed7593cf]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:1px solid var(--color-menu);border-bottom:1px solid var(--color-menu)}.settingsheader[data-v-ed7593cf]{color:var(--color-charging);font-size:16px;font-weight:700}hr[data-v-ed7593cf]{color:var(--color-menu)}.grapharea[data-v-5cb6cbcf]{width:100%;grid-column:span 9}.controlarea[data-v-5cb6cbcf]{width:100%;grid-column:span 3}.subtitle[data-v-5cb6cbcf]{font-size:var(--font-settings);font-weight:regular}.priceinput[data-v-5cb6cbcf]{width:100%}.color-charging[data-v-5cb6cbcf]{color:var(--color-charging)}.fa-circle-check[data-v-5cb6cbcf]{color:var(--color-menu)}.settingsheader[data-v-5cb6cbcf]{color:var(--color-charging);font-size:16px;font-weight:700}.providername[data-v-5cb6cbcf]{color:var(--color-axis);font-size:16px}.settingslist[data-v-06d2c4a9]{display:grid;grid-template-columns:repeat(12,1fr);font-size:16px;color:var(--color-fg);background-color:var(--color-bg)}.nav-link[data-v-06d2c4a9]{font-size:14px;color:var(--color-fg)}.nav-tabs .nav-link.active[data-v-06d2c4a9]{background-color:var(--color-fg)}.fa-bolt[data-v-06d2c4a9],.fa-charging-station[data-v-06d2c4a9]{color:var(--color-charging)}.fa-bullseye[data-v-06d2c4a9]{color:var(--color-battery)}.fa-solar-panel[data-v-06d2c4a9]{color:var(--color-pv)}.fa-lock[data-v-06d2c4a9]{color:var(--color-evu)}.fa-coins[data-v-06d2c4a9]{color:var(--color-charging)}.heading[data-v-9215fd9b]{color:var(--color-menu);font-weight:400;text-align:center}.content[data-v-9215fd9b]{color:var(--color-fg);font-weight:700}.batIcon[data-v-fc156cd3]{color:var(--color-menu)}.titleline[data-v-17a63962]{justify-content:left}.chargemodes[data-v-17a63962]{grid-column:1 / 13;justify-self:center}.carname[data-v-17a63962]{color:var(--color-fg);font-size:var(--font-medium)}.maxprice[data-v-17a63962]{font-size:var(--font-medium);color:var(--color-fg)}.fa-star[data-v-17a63962]{color:var(--color-evu)}.fa-clock[data-v-795d5c8f]{color:var(--color-battery)}.fa-car[data-v-795d5c8f],.fa-ellipsis-vertical[data-v-795d5c8f],.fa-circle-check[data-v-795d5c8f]{color:var(--color-menu)}.fa-coins[data-v-795d5c8f]{color:var(--color-battery)}.fa-edit[data-v-795d5c8f],.targetCurrent[data-v-795d5c8f]{color:var(--color-menu)}.content[data-v-9f6c66b0]{display:grid;grid-template-columns:380px 420px;grid-template-rows:430px;overflow:hidden;min-width:0px}.leftside[data-v-9f6c66b0],.rightside[data-v-9f6c66b0]{min-width:0px;overflow:hidden}.settingstitle[data-v-9f6c66b0],.statustitle[data-v-9f6c66b0]{color:var(--color-fg)}.fa{font-family:var(--fa-style-family, "Font Awesome 6 Free");font-weight:var(--fa-style, 900)}.fa,.fa-brands,.fa-duotone,.fa-light,.fa-regular,.fa-solid,.fa-thin,.fab,.fad,.fal,.far,.fas,.fat{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display, inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin, 2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width, 2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius, .1em);border:var(--fa-border-width, .08em) var(--fa-border-style, solid) var(--fa-border-color, #eee);padding:var(--fa-border-padding, .2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin, .3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin, .3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.28, .84, .42, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.28, .84, .42, 1) )}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) )}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) )}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration, 2s);animation-duration:var(--fa-animation-duration, 2s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-spin-reverse{--fa-animation-direction: reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, steps(8));animation-timing-function:var(--fa-animation-timing, steps(8))}@media (prefers-reduced-motion: reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;transition-delay:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, .4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, .4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, .4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, .4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle, none));transform:rotate(var(--fa-rotate-angle, none))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%;z-index:var(--fa-stack-z-index, auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse, #fff)}.fa-0:before{content:"0"}.fa-1:before{content:"1"}.fa-2:before{content:"2"}.fa-3:before{content:"3"}.fa-4:before{content:"4"}.fa-5:before{content:"5"}.fa-6:before{content:"6"}.fa-7:before{content:"7"}.fa-8:before{content:"8"}.fa-9:before{content:"9"}.fa-a:before{content:"A"}.fa-address-book:before,.fa-contact-book:before{content:""}.fa-address-card:before,.fa-contact-card:before,.fa-vcard:before{content:""}.fa-align-center:before{content:""}.fa-align-justify:before{content:""}.fa-align-left:before{content:""}.fa-align-right:before{content:""}.fa-anchor:before{content:""}.fa-angle-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-double-down:before,.fa-angles-down:before{content:""}.fa-angle-double-left:before,.fa-angles-left:before{content:""}.fa-angle-double-right:before,.fa-angles-right:before{content:""}.fa-angle-double-up:before,.fa-angles-up:before{content:""}.fa-ankh:before{content:""}.fa-apple-alt:before,.fa-apple-whole:before{content:""}.fa-archway:before{content:""}.fa-arrow-down:before{content:""}.fa-arrow-down-1-9:before,.fa-sort-numeric-asc:before,.fa-sort-numeric-down:before{content:""}.fa-arrow-down-9-1:before,.fa-sort-numeric-desc:before,.fa-sort-numeric-down-alt:before{content:""}.fa-arrow-down-a-z:before,.fa-sort-alpha-asc:before,.fa-sort-alpha-down:before{content:""}.fa-arrow-down-long:before,.fa-long-arrow-down:before{content:""}.fa-arrow-down-short-wide:before,.fa-sort-amount-desc:before,.fa-sort-amount-down-alt:before{content:""}.fa-arrow-down-wide-short:before,.fa-sort-amount-asc:before,.fa-sort-amount-down:before{content:""}.fa-arrow-down-z-a:before,.fa-sort-alpha-desc:before,.fa-sort-alpha-down-alt:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-left-long:before,.fa-long-arrow-left:before{content:""}.fa-arrow-pointer:before,.fa-mouse-pointer:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-right-arrow-left:before,.fa-exchange:before{content:""}.fa-arrow-right-from-bracket:before,.fa-sign-out:before{content:""}.fa-arrow-right-long:before,.fa-long-arrow-right:before{content:""}.fa-arrow-right-to-bracket:before,.fa-sign-in:before{content:""}.fa-arrow-left-rotate:before,.fa-arrow-rotate-back:before,.fa-arrow-rotate-backward:before,.fa-arrow-rotate-left:before,.fa-undo:before{content:""}.fa-arrow-right-rotate:before,.fa-arrow-rotate-forward:before,.fa-arrow-rotate-right:before,.fa-redo:before{content:""}.fa-arrow-trend-down:before{content:""}.fa-arrow-trend-up:before{content:""}.fa-arrow-turn-down:before,.fa-level-down:before{content:""}.fa-arrow-turn-up:before,.fa-level-up:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-up-1-9:before,.fa-sort-numeric-up:before{content:""}.fa-arrow-up-9-1:before,.fa-sort-numeric-up-alt:before{content:""}.fa-arrow-up-a-z:before,.fa-sort-alpha-up:before{content:""}.fa-arrow-up-from-bracket:before{content:""}.fa-arrow-up-long:before,.fa-long-arrow-up:before{content:""}.fa-arrow-up-right-from-square:before,.fa-external-link:before{content:""}.fa-arrow-up-short-wide:before,.fa-sort-amount-up-alt:before{content:""}.fa-arrow-up-wide-short:before,.fa-sort-amount-up:before{content:""}.fa-arrow-up-z-a:before,.fa-sort-alpha-up-alt:before{content:""}.fa-arrows-h:before,.fa-arrows-left-right:before{content:""}.fa-arrows-rotate:before,.fa-refresh:before,.fa-sync:before{content:""}.fa-arrows-up-down:before,.fa-arrows-v:before{content:""}.fa-arrows-up-down-left-right:before,.fa-arrows:before{content:""}.fa-asterisk:before{content:"*"}.fa-at:before{content:"@"}.fa-atom:before{content:""}.fa-audio-description:before{content:""}.fa-austral-sign:before{content:""}.fa-award:before{content:""}.fa-b:before{content:"B"}.fa-baby:before{content:""}.fa-baby-carriage:before,.fa-carriage-baby:before{content:""}.fa-backward:before{content:""}.fa-backward-fast:before,.fa-fast-backward:before{content:""}.fa-backward-step:before,.fa-step-backward:before{content:""}.fa-bacon:before{content:""}.fa-bacteria:before{content:""}.fa-bacterium:before{content:""}.fa-bag-shopping:before,.fa-shopping-bag:before{content:""}.fa-bahai:before{content:""}.fa-baht-sign:before{content:""}.fa-ban:before,.fa-cancel:before{content:""}.fa-ban-smoking:before,.fa-smoking-ban:before{content:""}.fa-band-aid:before,.fa-bandage:before{content:""}.fa-barcode:before{content:""}.fa-bars:before,.fa-navicon:before{content:""}.fa-bars-progress:before,.fa-tasks-alt:before{content:""}.fa-bars-staggered:before,.fa-reorder:before,.fa-stream:before{content:""}.fa-baseball-ball:before,.fa-baseball:before{content:""}.fa-baseball-bat-ball:before{content:""}.fa-basket-shopping:before,.fa-shopping-basket:before{content:""}.fa-basketball-ball:before,.fa-basketball:before{content:""}.fa-bath:before,.fa-bathtub:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-battery-5:before,.fa-battery-full:before,.fa-battery:before{content:""}.fa-battery-3:before,.fa-battery-half:before{content:""}.fa-battery-2:before,.fa-battery-quarter:before{content:""}.fa-battery-4:before,.fa-battery-three-quarters:before{content:""}.fa-bed:before{content:""}.fa-bed-pulse:before,.fa-procedures:before{content:""}.fa-beer-mug-empty:before,.fa-beer:before{content:""}.fa-bell:before{content:""}.fa-bell-concierge:before,.fa-concierge-bell:before{content:""}.fa-bell-slash:before{content:""}.fa-bezier-curve:before{content:""}.fa-bicycle:before{content:""}.fa-binoculars:before{content:""}.fa-biohazard:before{content:""}.fa-bitcoin-sign:before{content:""}.fa-blender:before{content:""}.fa-blender-phone:before{content:""}.fa-blog:before{content:""}.fa-bold:before{content:""}.fa-bolt:before,.fa-zap:before{content:""}.fa-bolt-lightning:before{content:""}.fa-bomb:before{content:""}.fa-bone:before{content:""}.fa-bong:before{content:""}.fa-book:before{content:""}.fa-atlas:before,.fa-book-atlas:before{content:""}.fa-bible:before,.fa-book-bible:before{content:""}.fa-book-journal-whills:before,.fa-journal-whills:before{content:""}.fa-book-medical:before{content:""}.fa-book-open:before{content:""}.fa-book-open-reader:before,.fa-book-reader:before{content:""}.fa-book-quran:before,.fa-quran:before{content:""}.fa-book-dead:before,.fa-book-skull:before{content:""}.fa-bookmark:before{content:""}.fa-border-all:before{content:""}.fa-border-none:before{content:""}.fa-border-style:before,.fa-border-top-left:before{content:""}.fa-bowling-ball:before{content:""}.fa-box:before{content:""}.fa-archive:before,.fa-box-archive:before{content:""}.fa-box-open:before{content:""}.fa-box-tissue:before{content:""}.fa-boxes-alt:before,.fa-boxes-stacked:before,.fa-boxes:before{content:""}.fa-braille:before{content:""}.fa-brain:before{content:""}.fa-brazilian-real-sign:before{content:""}.fa-bread-slice:before{content:""}.fa-briefcase:before{content:""}.fa-briefcase-medical:before{content:""}.fa-broom:before{content:""}.fa-broom-ball:before,.fa-quidditch-broom-ball:before,.fa-quidditch:before{content:""}.fa-brush:before{content:""}.fa-bug:before{content:""}.fa-bug-slash:before{content:""}.fa-building:before{content:""}.fa-bank:before,.fa-building-columns:before,.fa-institution:before,.fa-museum:before,.fa-university:before{content:""}.fa-bullhorn:before{content:""}.fa-bullseye:before{content:""}.fa-burger:before,.fa-hamburger:before{content:""}.fa-bus:before{content:""}.fa-bus-alt:before,.fa-bus-simple:before{content:""}.fa-briefcase-clock:before,.fa-business-time:before{content:""}.fa-c:before{content:"C"}.fa-birthday-cake:before,.fa-cake-candles:before,.fa-cake:before{content:""}.fa-calculator:before{content:""}.fa-calendar:before{content:""}.fa-calendar-check:before{content:""}.fa-calendar-day:before{content:""}.fa-calendar-alt:before,.fa-calendar-days:before{content:""}.fa-calendar-minus:before{content:""}.fa-calendar-plus:before{content:""}.fa-calendar-week:before{content:""}.fa-calendar-times:before,.fa-calendar-xmark:before{content:""}.fa-camera-alt:before,.fa-camera:before{content:""}.fa-camera-retro:before{content:""}.fa-camera-rotate:before{content:""}.fa-campground:before{content:""}.fa-candy-cane:before{content:""}.fa-cannabis:before{content:""}.fa-capsules:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-battery-car:before,.fa-car-battery:before{content:""}.fa-car-crash:before{content:""}.fa-car-alt:before,.fa-car-rear:before{content:""}.fa-car-side:before{content:""}.fa-caravan:before{content:""}.fa-caret-down:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-caret-up:before{content:""}.fa-carrot:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-cart-flatbed:before,.fa-dolly-flatbed:before{content:""}.fa-cart-flatbed-suitcase:before,.fa-luggage-cart:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-shopping:before,.fa-shopping-cart:before{content:""}.fa-cash-register:before{content:""}.fa-cat:before{content:""}.fa-cedi-sign:before{content:""}.fa-cent-sign:before{content:""}.fa-certificate:before{content:""}.fa-chair:before{content:""}.fa-blackboard:before,.fa-chalkboard:before{content:""}.fa-chalkboard-teacher:before,.fa-chalkboard-user:before{content:""}.fa-champagne-glasses:before,.fa-glass-cheers:before{content:""}.fa-charging-station:before{content:""}.fa-area-chart:before,.fa-chart-area:before{content:""}.fa-bar-chart:before,.fa-chart-bar:before{content:""}.fa-chart-column:before{content:""}.fa-chart-gantt:before{content:""}.fa-chart-line:before,.fa-line-chart:before{content:""}.fa-chart-pie:before,.fa-pie-chart:before{content:""}.fa-check:before{content:""}.fa-check-double:before{content:""}.fa-check-to-slot:before,.fa-vote-yea:before{content:""}.fa-cheese:before{content:""}.fa-chess:before{content:""}.fa-chess-bishop:before{content:""}.fa-chess-board:before{content:""}.fa-chess-king:before{content:""}.fa-chess-knight:before{content:""}.fa-chess-pawn:before{content:""}.fa-chess-queen:before{content:""}.fa-chess-rook:before{content:""}.fa-chevron-down:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-chevron-up:before{content:""}.fa-child:before{content:""}.fa-church:before{content:""}.fa-circle:before{content:""}.fa-arrow-circle-down:before,.fa-circle-arrow-down:before{content:""}.fa-arrow-circle-left:before,.fa-circle-arrow-left:before{content:""}.fa-arrow-circle-right:before,.fa-circle-arrow-right:before{content:""}.fa-arrow-circle-up:before,.fa-circle-arrow-up:before{content:""}.fa-check-circle:before,.fa-circle-check:before{content:""}.fa-chevron-circle-down:before,.fa-circle-chevron-down:before{content:""}.fa-chevron-circle-left:before,.fa-circle-chevron-left:before{content:""}.fa-chevron-circle-right:before,.fa-circle-chevron-right:before{content:""}.fa-chevron-circle-up:before,.fa-circle-chevron-up:before{content:""}.fa-circle-dollar-to-slot:before,.fa-donate:before{content:""}.fa-circle-dot:before,.fa-dot-circle:before{content:""}.fa-arrow-alt-circle-down:before,.fa-circle-down:before{content:""}.fa-circle-exclamation:before,.fa-exclamation-circle:before{content:""}.fa-circle-h:before,.fa-hospital-symbol:before{content:""}.fa-adjust:before,.fa-circle-half-stroke:before{content:""}.fa-circle-info:before,.fa-info-circle:before{content:""}.fa-arrow-alt-circle-left:before,.fa-circle-left:before{content:""}.fa-circle-minus:before,.fa-minus-circle:before{content:""}.fa-circle-notch:before{content:""}.fa-circle-pause:before,.fa-pause-circle:before{content:""}.fa-circle-play:before,.fa-play-circle:before{content:""}.fa-circle-plus:before,.fa-plus-circle:before{content:""}.fa-circle-question:before,.fa-question-circle:before{content:""}.fa-circle-radiation:before,.fa-radiation-alt:before{content:""}.fa-arrow-alt-circle-right:before,.fa-circle-right:before{content:""}.fa-circle-stop:before,.fa-stop-circle:before{content:""}.fa-arrow-alt-circle-up:before,.fa-circle-up:before{content:""}.fa-circle-user:before,.fa-user-circle:before{content:""}.fa-circle-xmark:before,.fa-times-circle:before,.fa-xmark-circle:before{content:""}.fa-city:before{content:""}.fa-clapperboard:before{content:""}.fa-clipboard:before{content:""}.fa-clipboard-check:before{content:""}.fa-clipboard-list:before{content:""}.fa-clock-four:before,.fa-clock:before{content:""}.fa-clock-rotate-left:before,.fa-history:before{content:""}.fa-clone:before{content:""}.fa-closed-captioning:before{content:""}.fa-cloud:before{content:""}.fa-cloud-arrow-down:before,.fa-cloud-download-alt:before,.fa-cloud-download:before{content:""}.fa-cloud-arrow-up:before,.fa-cloud-upload-alt:before,.fa-cloud-upload:before{content:""}.fa-cloud-meatball:before{content:""}.fa-cloud-moon:before{content:""}.fa-cloud-moon-rain:before{content:""}.fa-cloud-rain:before{content:""}.fa-cloud-showers-heavy:before{content:""}.fa-cloud-sun:before{content:""}.fa-cloud-sun-rain:before{content:""}.fa-clover:before{content:""}.fa-code:before{content:""}.fa-code-branch:before{content:""}.fa-code-commit:before{content:""}.fa-code-compare:before{content:""}.fa-code-fork:before{content:""}.fa-code-merge:before{content:""}.fa-code-pull-request:before{content:""}.fa-coins:before{content:""}.fa-colon-sign:before{content:""}.fa-comment:before{content:""}.fa-comment-dollar:before{content:""}.fa-comment-dots:before,.fa-commenting:before{content:""}.fa-comment-medical:before{content:""}.fa-comment-slash:before{content:""}.fa-comment-sms:before,.fa-sms:before{content:""}.fa-comments:before{content:""}.fa-comments-dollar:before{content:""}.fa-compact-disc:before{content:""}.fa-compass:before{content:""}.fa-compass-drafting:before,.fa-drafting-compass:before{content:""}.fa-compress:before{content:""}.fa-computer-mouse:before,.fa-mouse:before{content:""}.fa-cookie:before{content:""}.fa-cookie-bite:before{content:""}.fa-copy:before{content:""}.fa-copyright:before{content:""}.fa-couch:before{content:""}.fa-credit-card-alt:before,.fa-credit-card:before{content:""}.fa-crop:before{content:""}.fa-crop-alt:before,.fa-crop-simple:before{content:""}.fa-cross:before{content:""}.fa-crosshairs:before{content:""}.fa-crow:before{content:""}.fa-crown:before{content:""}.fa-crutch:before{content:""}.fa-cruzeiro-sign:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-d:before{content:"D"}.fa-database:before{content:""}.fa-backspace:before,.fa-delete-left:before{content:""}.fa-democrat:before{content:""}.fa-desktop-alt:before,.fa-desktop:before{content:""}.fa-dharmachakra:before{content:""}.fa-diagram-next:before{content:""}.fa-diagram-predecessor:before{content:""}.fa-diagram-project:before,.fa-project-diagram:before{content:""}.fa-diagram-successor:before{content:""}.fa-diamond:before{content:""}.fa-diamond-turn-right:before,.fa-directions:before{content:""}.fa-dice:before{content:""}.fa-dice-d20:before{content:""}.fa-dice-d6:before{content:""}.fa-dice-five:before{content:""}.fa-dice-four:before{content:""}.fa-dice-one:before{content:""}.fa-dice-six:before{content:""}.fa-dice-three:before{content:""}.fa-dice-two:before{content:""}.fa-disease:before{content:""}.fa-divide:before{content:""}.fa-dna:before{content:""}.fa-dog:before{content:""}.fa-dollar-sign:before,.fa-dollar:before,.fa-usd:before{content:"$"}.fa-dolly-box:before,.fa-dolly:before{content:""}.fa-dong-sign:before{content:""}.fa-door-closed:before{content:""}.fa-door-open:before{content:""}.fa-dove:before{content:""}.fa-compress-alt:before,.fa-down-left-and-up-right-to-center:before{content:""}.fa-down-long:before,.fa-long-arrow-alt-down:before{content:""}.fa-download:before{content:""}.fa-dragon:before{content:""}.fa-draw-polygon:before{content:""}.fa-droplet:before,.fa-tint:before{content:""}.fa-droplet-slash:before,.fa-tint-slash:before{content:""}.fa-drum:before{content:""}.fa-drum-steelpan:before{content:""}.fa-drumstick-bite:before{content:""}.fa-dumbbell:before{content:""}.fa-dumpster:before{content:""}.fa-dumpster-fire:before{content:""}.fa-dungeon:before{content:""}.fa-e:before{content:"E"}.fa-deaf:before,.fa-deafness:before,.fa-ear-deaf:before,.fa-hard-of-hearing:before{content:""}.fa-assistive-listening-systems:before,.fa-ear-listen:before{content:""}.fa-earth-africa:before,.fa-globe-africa:before{content:""}.fa-earth-america:before,.fa-earth-americas:before,.fa-earth:before,.fa-globe-americas:before{content:""}.fa-earth-asia:before,.fa-globe-asia:before{content:""}.fa-earth-europe:before,.fa-globe-europe:before{content:""}.fa-earth-oceania:before,.fa-globe-oceania:before{content:""}.fa-egg:before{content:""}.fa-eject:before{content:""}.fa-elevator:before{content:""}.fa-ellipsis-h:before,.fa-ellipsis:before{content:""}.fa-ellipsis-v:before,.fa-ellipsis-vertical:before{content:""}.fa-envelope:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-text:before{content:""}.fa-envelopes-bulk:before,.fa-mail-bulk:before{content:""}.fa-equals:before{content:"="}.fa-eraser:before{content:""}.fa-ethernet:before{content:""}.fa-eur:before,.fa-euro-sign:before,.fa-euro:before{content:""}.fa-exclamation:before{content:"!"}.fa-expand:before{content:""}.fa-eye:before{content:""}.fa-eye-dropper-empty:before,.fa-eye-dropper:before,.fa-eyedropper:before{content:""}.fa-eye-low-vision:before,.fa-low-vision:before{content:""}.fa-eye-slash:before{content:""}.fa-f:before{content:"F"}.fa-angry:before,.fa-face-angry:before{content:""}.fa-dizzy:before,.fa-face-dizzy:before{content:""}.fa-face-flushed:before,.fa-flushed:before{content:""}.fa-face-frown:before,.fa-frown:before{content:""}.fa-face-frown-open:before,.fa-frown-open:before{content:""}.fa-face-grimace:before,.fa-grimace:before{content:""}.fa-face-grin:before,.fa-grin:before{content:""}.fa-face-grin-beam:before,.fa-grin-beam:before{content:""}.fa-face-grin-beam-sweat:before,.fa-grin-beam-sweat:before{content:""}.fa-face-grin-hearts:before,.fa-grin-hearts:before{content:""}.fa-face-grin-squint:before,.fa-grin-squint:before{content:""}.fa-face-grin-squint-tears:before,.fa-grin-squint-tears:before{content:""}.fa-face-grin-stars:before,.fa-grin-stars:before{content:""}.fa-face-grin-tears:before,.fa-grin-tears:before{content:""}.fa-face-grin-tongue:before,.fa-grin-tongue:before{content:""}.fa-face-grin-tongue-squint:before,.fa-grin-tongue-squint:before{content:""}.fa-face-grin-tongue-wink:before,.fa-grin-tongue-wink:before{content:""}.fa-face-grin-wide:before,.fa-grin-alt:before{content:""}.fa-face-grin-wink:before,.fa-grin-wink:before{content:""}.fa-face-kiss:before,.fa-kiss:before{content:""}.fa-face-kiss-beam:before,.fa-kiss-beam:before{content:""}.fa-face-kiss-wink-heart:before,.fa-kiss-wink-heart:before{content:""}.fa-face-laugh:before,.fa-laugh:before{content:""}.fa-face-laugh-beam:before,.fa-laugh-beam:before{content:""}.fa-face-laugh-squint:before,.fa-laugh-squint:before{content:""}.fa-face-laugh-wink:before,.fa-laugh-wink:before{content:""}.fa-face-meh:before,.fa-meh:before{content:""}.fa-face-meh-blank:before,.fa-meh-blank:before{content:""}.fa-face-rolling-eyes:before,.fa-meh-rolling-eyes:before{content:""}.fa-face-sad-cry:before,.fa-sad-cry:before{content:""}.fa-face-sad-tear:before,.fa-sad-tear:before{content:""}.fa-face-smile:before,.fa-smile:before{content:""}.fa-face-smile-beam:before,.fa-smile-beam:before{content:""}.fa-face-smile-wink:before,.fa-smile-wink:before{content:""}.fa-face-surprise:before,.fa-surprise:before{content:""}.fa-face-tired:before,.fa-tired:before{content:""}.fa-fan:before{content:""}.fa-faucet:before{content:""}.fa-fax:before{content:""}.fa-feather:before{content:""}.fa-feather-alt:before,.fa-feather-pointed:before{content:""}.fa-file:before{content:""}.fa-file-arrow-down:before,.fa-file-download:before{content:""}.fa-file-arrow-up:before,.fa-file-upload:before{content:""}.fa-file-audio:before{content:""}.fa-file-code:before{content:""}.fa-file-contract:before{content:""}.fa-file-csv:before{content:""}.fa-file-excel:before{content:""}.fa-arrow-right-from-file:before,.fa-file-export:before{content:""}.fa-file-image:before{content:""}.fa-arrow-right-to-file:before,.fa-file-import:before{content:""}.fa-file-invoice:before{content:""}.fa-file-invoice-dollar:before{content:""}.fa-file-alt:before,.fa-file-lines:before,.fa-file-text:before{content:""}.fa-file-medical:before{content:""}.fa-file-pdf:before{content:""}.fa-file-powerpoint:before{content:""}.fa-file-prescription:before{content:""}.fa-file-signature:before{content:""}.fa-file-video:before{content:""}.fa-file-medical-alt:before,.fa-file-waveform:before{content:""}.fa-file-word:before{content:""}.fa-file-archive:before,.fa-file-zipper:before{content:""}.fa-fill:before{content:""}.fa-fill-drip:before{content:""}.fa-film:before{content:""}.fa-filter:before{content:""}.fa-filter-circle-dollar:before,.fa-funnel-dollar:before{content:""}.fa-filter-circle-xmark:before{content:""}.fa-fingerprint:before{content:""}.fa-fire:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-fire-alt:before,.fa-fire-flame-curved:before{content:""}.fa-burn:before,.fa-fire-flame-simple:before{content:""}.fa-fish:before{content:""}.fa-flag:before{content:""}.fa-flag-checkered:before{content:""}.fa-flag-usa:before{content:""}.fa-flask:before{content:""}.fa-floppy-disk:before,.fa-save:before{content:""}.fa-florin-sign:before{content:""}.fa-folder:before{content:""}.fa-folder-minus:before{content:""}.fa-folder-open:before{content:""}.fa-folder-plus:before{content:""}.fa-folder-tree:before{content:""}.fa-font:before{content:""}.fa-football-ball:before,.fa-football:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before,.fa-forward-fast:before{content:""}.fa-forward-step:before,.fa-step-forward:before{content:""}.fa-franc-sign:before{content:""}.fa-frog:before{content:""}.fa-futbol-ball:before,.fa-futbol:before,.fa-soccer-ball:before{content:""}.fa-g:before{content:"G"}.fa-gamepad:before{content:""}.fa-gas-pump:before{content:""}.fa-dashboard:before,.fa-gauge-med:before,.fa-gauge:before,.fa-tachometer-alt-average:before{content:""}.fa-gauge-high:before,.fa-tachometer-alt-fast:before,.fa-tachometer-alt:before{content:""}.fa-gauge-simple-med:before,.fa-gauge-simple:before,.fa-tachometer-average:before{content:""}.fa-gauge-simple-high:before,.fa-tachometer-fast:before,.fa-tachometer:before{content:""}.fa-gavel:before,.fa-legal:before{content:""}.fa-cog:before,.fa-gear:before{content:""}.fa-cogs:before,.fa-gears:before{content:""}.fa-gem:before{content:""}.fa-genderless:before{content:""}.fa-ghost:before{content:""}.fa-gift:before{content:""}.fa-gifts:before{content:""}.fa-glasses:before{content:""}.fa-globe:before{content:""}.fa-golf-ball-tee:before,.fa-golf-ball:before{content:""}.fa-gopuram:before{content:""}.fa-graduation-cap:before,.fa-mortar-board:before{content:""}.fa-greater-than:before{content:">"}.fa-greater-than-equal:before{content:""}.fa-grip-horizontal:before,.fa-grip:before{content:""}.fa-grip-lines:before{content:""}.fa-grip-lines-vertical:before{content:""}.fa-grip-vertical:before{content:""}.fa-guarani-sign:before{content:""}.fa-guitar:before{content:""}.fa-gun:before{content:""}.fa-h:before{content:"H"}.fa-hammer:before{content:""}.fa-hamsa:before{content:""}.fa-hand-paper:before,.fa-hand:before{content:""}.fa-hand-back-fist:before,.fa-hand-rock:before{content:""}.fa-allergies:before,.fa-hand-dots:before{content:""}.fa-fist-raised:before,.fa-hand-fist:before{content:""}.fa-hand-holding:before{content:""}.fa-hand-holding-dollar:before,.fa-hand-holding-usd:before{content:""}.fa-hand-holding-droplet:before,.fa-hand-holding-water:before{content:""}.fa-hand-holding-heart:before{content:""}.fa-hand-holding-medical:before{content:""}.fa-hand-lizard:before{content:""}.fa-hand-middle-finger:before{content:""}.fa-hand-peace:before{content:""}.fa-hand-point-down:before{content:""}.fa-hand-point-left:before{content:""}.fa-hand-point-right:before{content:""}.fa-hand-point-up:before{content:""}.fa-hand-pointer:before{content:""}.fa-hand-scissors:before{content:""}.fa-hand-sparkles:before{content:""}.fa-hand-spock:before{content:""}.fa-hands:before,.fa-sign-language:before,.fa-signing:before{content:""}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before,.fa-hands-american-sign-language-interpreting:before,.fa-hands-asl-interpreting:before{content:""}.fa-hands-bubbles:before,.fa-hands-wash:before{content:""}.fa-hands-clapping:before{content:""}.fa-hands-holding:before{content:""}.fa-hands-praying:before,.fa-praying-hands:before{content:""}.fa-handshake:before{content:""}.fa-hands-helping:before,.fa-handshake-angle:before{content:""}.fa-handshake-alt-slash:before,.fa-handshake-simple-slash:before{content:""}.fa-handshake-slash:before{content:""}.fa-hanukiah:before{content:""}.fa-hard-drive:before,.fa-hdd:before{content:""}.fa-hashtag:before{content:"#"}.fa-hat-cowboy:before{content:""}.fa-hat-cowboy-side:before{content:""}.fa-hat-wizard:before{content:""}.fa-head-side-cough:before{content:""}.fa-head-side-cough-slash:before{content:""}.fa-head-side-mask:before{content:""}.fa-head-side-virus:before{content:""}.fa-header:before,.fa-heading:before{content:""}.fa-headphones:before{content:""}.fa-headphones-alt:before,.fa-headphones-simple:before{content:""}.fa-headset:before{content:""}.fa-heart:before{content:""}.fa-heart-broken:before,.fa-heart-crack:before{content:""}.fa-heart-pulse:before,.fa-heartbeat:before{content:""}.fa-helicopter:before{content:""}.fa-hard-hat:before,.fa-hat-hard:before,.fa-helmet-safety:before{content:""}.fa-highlighter:before{content:""}.fa-hippo:before{content:""}.fa-hockey-puck:before{content:""}.fa-holly-berry:before{content:""}.fa-horse:before{content:""}.fa-horse-head:before{content:""}.fa-hospital-alt:before,.fa-hospital-wide:before,.fa-hospital:before{content:""}.fa-hospital-user:before{content:""}.fa-hot-tub-person:before,.fa-hot-tub:before{content:""}.fa-hotdog:before{content:""}.fa-hotel:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before,.fa-hourglass:before{content:""}.fa-hourglass-empty:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-home-alt:before,.fa-home-lg-alt:before,.fa-home:before,.fa-house:before{content:""}.fa-home-lg:before,.fa-house-chimney:before{content:""}.fa-house-chimney-crack:before,.fa-house-damage:before{content:""}.fa-clinic-medical:before,.fa-house-chimney-medical:before{content:""}.fa-house-chimney-user:before{content:""}.fa-house-chimney-window:before{content:""}.fa-house-crack:before{content:""}.fa-house-laptop:before,.fa-laptop-house:before{content:""}.fa-house-medical:before{content:""}.fa-home-user:before,.fa-house-user:before{content:""}.fa-hryvnia-sign:before,.fa-hryvnia:before{content:""}.fa-i:before{content:"I"}.fa-i-cursor:before{content:""}.fa-ice-cream:before{content:""}.fa-icicles:before{content:""}.fa-heart-music-camera-bolt:before,.fa-icons:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-id-card-alt:before,.fa-id-card-clip:before{content:""}.fa-igloo:before{content:""}.fa-image:before{content:""}.fa-image-portrait:before,.fa-portrait:before{content:""}.fa-images:before{content:""}.fa-inbox:before{content:""}.fa-indent:before{content:""}.fa-indian-rupee-sign:before,.fa-indian-rupee:before,.fa-inr:before{content:""}.fa-industry:before{content:""}.fa-infinity:before{content:""}.fa-info:before{content:""}.fa-italic:before{content:""}.fa-j:before{content:"J"}.fa-jedi:before{content:""}.fa-fighter-jet:before,.fa-jet-fighter:before{content:""}.fa-joint:before{content:""}.fa-k:before{content:"K"}.fa-kaaba:before{content:""}.fa-key:before{content:""}.fa-keyboard:before{content:""}.fa-khanda:before{content:""}.fa-kip-sign:before{content:""}.fa-first-aid:before,.fa-kit-medical:before{content:""}.fa-kiwi-bird:before{content:""}.fa-l:before{content:"L"}.fa-landmark:before{content:""}.fa-language:before{content:""}.fa-laptop:before{content:""}.fa-laptop-code:before{content:""}.fa-laptop-medical:before{content:""}.fa-lari-sign:before{content:""}.fa-layer-group:before{content:""}.fa-leaf:before{content:""}.fa-left-long:before,.fa-long-arrow-alt-left:before{content:""}.fa-arrows-alt-h:before,.fa-left-right:before{content:""}.fa-lemon:before{content:""}.fa-less-than:before{content:"<"}.fa-less-than-equal:before{content:""}.fa-life-ring:before{content:""}.fa-lightbulb:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-chain-broken:before,.fa-chain-slash:before,.fa-link-slash:before,.fa-unlink:before{content:""}.fa-lira-sign:before{content:""}.fa-list-squares:before,.fa-list:before{content:""}.fa-list-check:before,.fa-tasks:before{content:""}.fa-list-1-2:before,.fa-list-numeric:before,.fa-list-ol:before{content:""}.fa-list-dots:before,.fa-list-ul:before{content:""}.fa-litecoin-sign:before{content:""}.fa-location-arrow:before{content:""}.fa-location-crosshairs:before,.fa-location:before{content:""}.fa-location-dot:before,.fa-map-marker-alt:before{content:""}.fa-location-pin:before,.fa-map-marker:before{content:""}.fa-lock:before{content:""}.fa-lock-open:before{content:""}.fa-lungs:before{content:""}.fa-lungs-virus:before{content:""}.fa-m:before{content:"M"}.fa-magnet:before{content:""}.fa-magnifying-glass:before,.fa-search:before{content:""}.fa-magnifying-glass-dollar:before,.fa-search-dollar:before{content:""}.fa-magnifying-glass-location:before,.fa-search-location:before{content:""}.fa-magnifying-glass-minus:before,.fa-search-minus:before{content:""}.fa-magnifying-glass-plus:before,.fa-search-plus:before{content:""}.fa-manat-sign:before{content:""}.fa-map:before{content:""}.fa-map-location:before,.fa-map-marked:before{content:""}.fa-map-location-dot:before,.fa-map-marked-alt:before{content:""}.fa-map-pin:before{content:""}.fa-marker:before{content:""}.fa-mars:before{content:""}.fa-mars-and-venus:before{content:""}.fa-mars-double:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-h:before,.fa-mars-stroke-right:before{content:""}.fa-mars-stroke-up:before,.fa-mars-stroke-v:before{content:""}.fa-glass-martini-alt:before,.fa-martini-glass:before{content:""}.fa-cocktail:before,.fa-martini-glass-citrus:before{content:""}.fa-glass-martini:before,.fa-martini-glass-empty:before{content:""}.fa-mask:before{content:""}.fa-mask-face:before{content:""}.fa-masks-theater:before,.fa-theater-masks:before{content:""}.fa-expand-arrows-alt:before,.fa-maximize:before{content:""}.fa-medal:before{content:""}.fa-memory:before{content:""}.fa-menorah:before{content:""}.fa-mercury:before{content:""}.fa-comment-alt:before,.fa-message:before{content:""}.fa-meteor:before{content:""}.fa-microchip:before{content:""}.fa-microphone:before{content:""}.fa-microphone-alt:before,.fa-microphone-lines:before{content:""}.fa-microphone-alt-slash:before,.fa-microphone-lines-slash:before{content:""}.fa-microphone-slash:before{content:""}.fa-microscope:before{content:""}.fa-mill-sign:before{content:""}.fa-compress-arrows-alt:before,.fa-minimize:before{content:""}.fa-minus:before,.fa-subtract:before{content:""}.fa-mitten:before{content:""}.fa-mobile-android:before,.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-mobile-button:before{content:""}.fa-mobile-alt:before,.fa-mobile-screen-button:before{content:""}.fa-money-bill:before{content:""}.fa-money-bill-1:before,.fa-money-bill-alt:before{content:""}.fa-money-bill-1-wave:before,.fa-money-bill-wave-alt:before{content:""}.fa-money-bill-wave:before{content:""}.fa-money-check:before{content:""}.fa-money-check-alt:before,.fa-money-check-dollar:before{content:""}.fa-monument:before{content:""}.fa-moon:before{content:""}.fa-mortar-pestle:before{content:""}.fa-mosque:before{content:""}.fa-motorcycle:before{content:""}.fa-mountain:before{content:""}.fa-mug-hot:before{content:""}.fa-coffee:before,.fa-mug-saucer:before{content:""}.fa-music:before{content:""}.fa-n:before{content:"N"}.fa-naira-sign:before{content:""}.fa-network-wired:before{content:""}.fa-neuter:before{content:""}.fa-newspaper:before{content:""}.fa-not-equal:before{content:""}.fa-note-sticky:before,.fa-sticky-note:before{content:""}.fa-notes-medical:before{content:""}.fa-o:before{content:"O"}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-oil-can:before{content:""}.fa-om:before{content:""}.fa-otter:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-p:before{content:"P"}.fa-pager:before{content:""}.fa-paint-roller:before{content:""}.fa-paint-brush:before,.fa-paintbrush:before{content:""}.fa-palette:before{content:""}.fa-pallet:before{content:""}.fa-panorama:before{content:""}.fa-paper-plane:before{content:""}.fa-paperclip:before{content:""}.fa-parachute-box:before{content:""}.fa-paragraph:before{content:""}.fa-passport:before{content:""}.fa-file-clipboard:before,.fa-paste:before{content:""}.fa-pause:before{content:""}.fa-paw:before{content:""}.fa-peace:before{content:""}.fa-pen:before{content:""}.fa-pen-alt:before,.fa-pen-clip:before{content:""}.fa-pen-fancy:before{content:""}.fa-pen-nib:before{content:""}.fa-pen-ruler:before,.fa-pencil-ruler:before{content:""}.fa-edit:before,.fa-pen-to-square:before{content:""}.fa-pencil-alt:before,.fa-pencil:before{content:""}.fa-people-arrows-left-right:before,.fa-people-arrows:before{content:""}.fa-people-carry-box:before,.fa-people-carry:before{content:""}.fa-pepper-hot:before{content:""}.fa-percent:before,.fa-percentage:before{content:"%"}.fa-male:before,.fa-person:before{content:""}.fa-biking:before,.fa-person-biking:before{content:""}.fa-person-booth:before{content:""}.fa-diagnoses:before,.fa-person-dots-from-line:before{content:""}.fa-female:before,.fa-person-dress:before{content:""}.fa-hiking:before,.fa-person-hiking:before{content:""}.fa-person-praying:before,.fa-pray:before{content:""}.fa-person-running:before,.fa-running:before{content:""}.fa-person-skating:before,.fa-skating:before{content:""}.fa-person-skiing:before,.fa-skiing:before{content:""}.fa-person-skiing-nordic:before,.fa-skiing-nordic:before{content:""}.fa-person-snowboarding:before,.fa-snowboarding:before{content:""}.fa-person-swimming:before,.fa-swimmer:before{content:""}.fa-person-walking:before,.fa-walking:before{content:""}.fa-blind:before,.fa-person-walking-with-cane:before{content:""}.fa-peseta-sign:before{content:""}.fa-peso-sign:before{content:""}.fa-phone:before{content:""}.fa-phone-alt:before,.fa-phone-flip:before{content:""}.fa-phone-slash:before{content:""}.fa-phone-volume:before,.fa-volume-control-phone:before{content:""}.fa-photo-film:before,.fa-photo-video:before{content:""}.fa-piggy-bank:before{content:""}.fa-pills:before{content:""}.fa-pizza-slice:before{content:""}.fa-place-of-worship:before{content:""}.fa-plane:before{content:""}.fa-plane-arrival:before{content:""}.fa-plane-departure:before{content:""}.fa-plane-slash:before{content:""}.fa-play:before{content:""}.fa-plug:before{content:""}.fa-add:before,.fa-plus:before{content:"+"}.fa-plus-minus:before{content:""}.fa-podcast:before{content:""}.fa-poo:before{content:""}.fa-poo-bolt:before,.fa-poo-storm:before{content:""}.fa-poop:before{content:""}.fa-power-off:before{content:""}.fa-prescription:before{content:""}.fa-prescription-bottle:before{content:""}.fa-prescription-bottle-alt:before,.fa-prescription-bottle-medical:before{content:""}.fa-print:before{content:""}.fa-pump-medical:before{content:""}.fa-pump-soap:before{content:""}.fa-puzzle-piece:before{content:""}.fa-q:before{content:"Q"}.fa-qrcode:before{content:""}.fa-question:before{content:"?"}.fa-quote-left-alt:before,.fa-quote-left:before{content:""}.fa-quote-right-alt:before,.fa-quote-right:before{content:""}.fa-r:before{content:"R"}.fa-radiation:before{content:""}.fa-rainbow:before{content:""}.fa-receipt:before{content:""}.fa-record-vinyl:before{content:""}.fa-ad:before,.fa-rectangle-ad:before{content:""}.fa-list-alt:before,.fa-rectangle-list:before{content:""}.fa-rectangle-times:before,.fa-rectangle-xmark:before,.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-recycle:before{content:""}.fa-registered:before{content:""}.fa-repeat:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-republican:before{content:""}.fa-restroom:before{content:""}.fa-retweet:before{content:""}.fa-ribbon:before{content:""}.fa-right-from-bracket:before,.fa-sign-out-alt:before{content:""}.fa-exchange-alt:before,.fa-right-left:before{content:""}.fa-long-arrow-alt-right:before,.fa-right-long:before{content:""}.fa-right-to-bracket:before,.fa-sign-in-alt:before{content:""}.fa-ring:before{content:""}.fa-road:before{content:""}.fa-robot:before{content:""}.fa-rocket:before{content:""}.fa-rotate:before,.fa-sync-alt:before{content:""}.fa-rotate-back:before,.fa-rotate-backward:before,.fa-rotate-left:before,.fa-undo-alt:before{content:""}.fa-redo-alt:before,.fa-rotate-forward:before,.fa-rotate-right:before{content:""}.fa-route:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-rouble:before,.fa-rub:before,.fa-ruble-sign:before,.fa-ruble:before{content:""}.fa-ruler:before{content:""}.fa-ruler-combined:before{content:""}.fa-ruler-horizontal:before{content:""}.fa-ruler-vertical:before{content:""}.fa-rupee-sign:before,.fa-rupee:before{content:""}.fa-rupiah-sign:before{content:""}.fa-s:before{content:"S"}.fa-sailboat:before{content:""}.fa-satellite:before{content:""}.fa-satellite-dish:before{content:""}.fa-balance-scale:before,.fa-scale-balanced:before{content:""}.fa-balance-scale-left:before,.fa-scale-unbalanced:before{content:""}.fa-balance-scale-right:before,.fa-scale-unbalanced-flip:before{content:""}.fa-school:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-screwdriver:before{content:""}.fa-screwdriver-wrench:before,.fa-tools:before{content:""}.fa-scroll:before{content:""}.fa-scroll-torah:before,.fa-torah:before{content:""}.fa-sd-card:before{content:""}.fa-section:before{content:""}.fa-seedling:before,.fa-sprout:before{content:""}.fa-server:before{content:""}.fa-shapes:before,.fa-triangle-circle-square:before{content:""}.fa-arrow-turn-right:before,.fa-mail-forward:before,.fa-share:before{content:""}.fa-share-from-square:before,.fa-share-square:before{content:""}.fa-share-alt:before,.fa-share-nodes:before{content:""}.fa-ils:before,.fa-shekel-sign:before,.fa-shekel:before,.fa-sheqel-sign:before,.fa-sheqel:before{content:""}.fa-shield:before{content:""}.fa-shield-alt:before,.fa-shield-blank:before{content:""}.fa-shield-virus:before{content:""}.fa-ship:before{content:""}.fa-shirt:before,.fa-t-shirt:before,.fa-tshirt:before{content:""}.fa-shoe-prints:before{content:""}.fa-shop:before,.fa-store-alt:before{content:""}.fa-shop-slash:before,.fa-store-alt-slash:before{content:""}.fa-shower:before{content:""}.fa-shrimp:before{content:""}.fa-random:before,.fa-shuffle:before{content:""}.fa-shuttle-space:before,.fa-space-shuttle:before{content:""}.fa-sign-hanging:before,.fa-sign:before{content:""}.fa-signal-5:before,.fa-signal-perfect:before,.fa-signal:before{content:""}.fa-signature:before{content:""}.fa-map-signs:before,.fa-signs-post:before{content:""}.fa-sim-card:before{content:""}.fa-sink:before{content:""}.fa-sitemap:before{content:""}.fa-skull:before{content:""}.fa-skull-crossbones:before{content:""}.fa-slash:before{content:""}.fa-sleigh:before{content:""}.fa-sliders-h:before,.fa-sliders:before{content:""}.fa-smog:before{content:""}.fa-smoking:before{content:""}.fa-snowflake:before{content:""}.fa-snowman:before{content:""}.fa-snowplow:before{content:""}.fa-soap:before{content:""}.fa-socks:before{content:""}.fa-solar-panel:before{content:""}.fa-sort:before,.fa-unsorted:before{content:""}.fa-sort-desc:before,.fa-sort-down:before{content:""}.fa-sort-asc:before,.fa-sort-up:before{content:""}.fa-spa:before{content:""}.fa-pastafarianism:before,.fa-spaghetti-monster-flying:before{content:""}.fa-spell-check:before{content:""}.fa-spider:before{content:""}.fa-spinner:before{content:""}.fa-splotch:before{content:""}.fa-spoon:before,.fa-utensil-spoon:before{content:""}.fa-spray-can:before{content:""}.fa-air-freshener:before,.fa-spray-can-sparkles:before{content:""}.fa-square:before{content:""}.fa-external-link-square:before,.fa-square-arrow-up-right:before{content:""}.fa-caret-square-down:before,.fa-square-caret-down:before{content:""}.fa-caret-square-left:before,.fa-square-caret-left:before{content:""}.fa-caret-square-right:before,.fa-square-caret-right:before{content:""}.fa-caret-square-up:before,.fa-square-caret-up:before{content:""}.fa-check-square:before,.fa-square-check:before{content:""}.fa-envelope-square:before,.fa-square-envelope:before{content:""}.fa-square-full:before{content:""}.fa-h-square:before,.fa-square-h:before{content:""}.fa-minus-square:before,.fa-square-minus:before{content:""}.fa-parking:before,.fa-square-parking:before{content:""}.fa-pen-square:before,.fa-pencil-square:before,.fa-square-pen:before{content:""}.fa-phone-square:before,.fa-square-phone:before{content:""}.fa-phone-square-alt:before,.fa-square-phone-flip:before{content:""}.fa-plus-square:before,.fa-square-plus:before{content:""}.fa-poll-h:before,.fa-square-poll-horizontal:before{content:""}.fa-poll:before,.fa-square-poll-vertical:before{content:""}.fa-square-root-alt:before,.fa-square-root-variable:before{content:""}.fa-rss-square:before,.fa-square-rss:before{content:""}.fa-share-alt-square:before,.fa-square-share-nodes:before{content:""}.fa-external-link-square-alt:before,.fa-square-up-right:before{content:""}.fa-square-xmark:before,.fa-times-square:before,.fa-xmark-square:before{content:""}.fa-stairs:before{content:""}.fa-stamp:before{content:""}.fa-star:before{content:""}.fa-star-and-crescent:before{content:""}.fa-star-half:before{content:""}.fa-star-half-alt:before,.fa-star-half-stroke:before{content:""}.fa-star-of-david:before{content:""}.fa-star-of-life:before{content:""}.fa-gbp:before,.fa-pound-sign:before,.fa-sterling-sign:before{content:""}.fa-stethoscope:before{content:""}.fa-stop:before{content:""}.fa-stopwatch:before{content:""}.fa-stopwatch-20:before{content:""}.fa-store:before{content:""}.fa-store-slash:before{content:""}.fa-street-view:before{content:""}.fa-strikethrough:before{content:""}.fa-stroopwafel:before{content:""}.fa-subscript:before{content:""}.fa-suitcase:before{content:""}.fa-medkit:before,.fa-suitcase-medical:before{content:""}.fa-suitcase-rolling:before{content:""}.fa-sun:before{content:""}.fa-superscript:before{content:""}.fa-swatchbook:before{content:""}.fa-synagogue:before{content:""}.fa-syringe:before{content:""}.fa-t:before{content:"T"}.fa-table:before{content:""}.fa-table-cells:before,.fa-th:before{content:""}.fa-table-cells-large:before,.fa-th-large:before{content:""}.fa-columns:before,.fa-table-columns:before{content:""}.fa-table-list:before,.fa-th-list:before{content:""}.fa-ping-pong-paddle-ball:before,.fa-table-tennis-paddle-ball:before,.fa-table-tennis:before{content:""}.fa-tablet-android:before,.fa-tablet:before{content:""}.fa-tablet-button:before{content:""}.fa-tablet-alt:before,.fa-tablet-screen-button:before{content:""}.fa-tablets:before{content:""}.fa-digital-tachograph:before,.fa-tachograph-digital:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-tape:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-teeth:before{content:""}.fa-teeth-open:before{content:""}.fa-temperature-0:before,.fa-temperature-empty:before,.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-temperature-4:before,.fa-temperature-full:before,.fa-thermometer-4:before,.fa-thermometer-full:before{content:""}.fa-temperature-2:before,.fa-temperature-half:before,.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-temperature-high:before{content:""}.fa-temperature-low:before{content:""}.fa-temperature-1:before,.fa-temperature-quarter:before,.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-temperature-3:before,.fa-temperature-three-quarters:before,.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-tenge-sign:before,.fa-tenge:before{content:""}.fa-terminal:before{content:""}.fa-text-height:before{content:""}.fa-remove-format:before,.fa-text-slash:before{content:""}.fa-text-width:before{content:""}.fa-thermometer:before{content:""}.fa-thumbs-down:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumb-tack:before,.fa-thumbtack:before{content:""}.fa-ticket:before{content:""}.fa-ticket-alt:before,.fa-ticket-simple:before{content:""}.fa-timeline:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-toilet:before{content:""}.fa-toilet-paper:before{content:""}.fa-toilet-paper-slash:before{content:""}.fa-toolbox:before{content:""}.fa-tooth:before{content:""}.fa-torii-gate:before{content:""}.fa-broadcast-tower:before,.fa-tower-broadcast:before{content:""}.fa-tractor:before{content:""}.fa-trademark:before{content:""}.fa-traffic-light:before{content:""}.fa-trailer:before{content:""}.fa-train:before{content:""}.fa-subway:before,.fa-train-subway:before{content:""}.fa-train-tram:before,.fa-tram:before{content:""}.fa-transgender-alt:before,.fa-transgender:before{content:""}.fa-trash:before{content:""}.fa-trash-arrow-up:before,.fa-trash-restore:before{content:""}.fa-trash-alt:before,.fa-trash-can:before{content:""}.fa-trash-can-arrow-up:before,.fa-trash-restore-alt:before{content:""}.fa-tree:before{content:""}.fa-exclamation-triangle:before,.fa-triangle-exclamation:before,.fa-warning:before{content:""}.fa-trophy:before{content:""}.fa-truck:before{content:""}.fa-shipping-fast:before,.fa-truck-fast:before{content:""}.fa-ambulance:before,.fa-truck-medical:before{content:""}.fa-truck-monster:before{content:""}.fa-truck-moving:before{content:""}.fa-truck-pickup:before{content:""}.fa-truck-loading:before,.fa-truck-ramp-box:before{content:""}.fa-teletype:before,.fa-tty:before{content:""}.fa-try:before,.fa-turkish-lira-sign:before,.fa-turkish-lira:before{content:""}.fa-level-down-alt:before,.fa-turn-down:before{content:""}.fa-level-up-alt:before,.fa-turn-up:before{content:""}.fa-television:before,.fa-tv-alt:before,.fa-tv:before{content:""}.fa-u:before{content:"U"}.fa-umbrella:before{content:""}.fa-umbrella-beach:before{content:""}.fa-underline:before{content:""}.fa-universal-access:before{content:""}.fa-unlock:before{content:""}.fa-unlock-alt:before,.fa-unlock-keyhole:before{content:""}.fa-arrows-alt-v:before,.fa-up-down:before{content:""}.fa-arrows-alt:before,.fa-up-down-left-right:before{content:""}.fa-long-arrow-alt-up:before,.fa-up-long:before{content:""}.fa-expand-alt:before,.fa-up-right-and-down-left-from-center:before{content:""}.fa-external-link-alt:before,.fa-up-right-from-square:before{content:""}.fa-upload:before{content:""}.fa-user:before{content:""}.fa-user-astronaut:before{content:""}.fa-user-check:before{content:""}.fa-user-clock:before{content:""}.fa-user-doctor:before,.fa-user-md:before{content:""}.fa-user-cog:before,.fa-user-gear:before{content:""}.fa-user-graduate:before{content:""}.fa-user-friends:before,.fa-user-group:before{content:""}.fa-user-injured:before{content:""}.fa-user-alt:before,.fa-user-large:before{content:""}.fa-user-alt-slash:before,.fa-user-large-slash:before{content:""}.fa-user-lock:before{content:""}.fa-user-minus:before{content:""}.fa-user-ninja:before{content:""}.fa-user-nurse:before{content:""}.fa-user-edit:before,.fa-user-pen:before{content:""}.fa-user-plus:before{content:""}.fa-user-secret:before{content:""}.fa-user-shield:before{content:""}.fa-user-slash:before{content:""}.fa-user-tag:before{content:""}.fa-user-tie:before{content:""}.fa-user-times:before,.fa-user-xmark:before{content:""}.fa-users:before{content:""}.fa-users-cog:before,.fa-users-gear:before{content:""}.fa-users-slash:before{content:""}.fa-cutlery:before,.fa-utensils:before{content:""}.fa-v:before{content:"V"}.fa-shuttle-van:before,.fa-van-shuttle:before{content:""}.fa-vault:before{content:""}.fa-vector-square:before{content:""}.fa-venus:before{content:""}.fa-venus-double:before{content:""}.fa-venus-mars:before{content:""}.fa-vest:before{content:""}.fa-vest-patches:before{content:""}.fa-vial:before{content:""}.fa-vials:before{content:""}.fa-video-camera:before,.fa-video:before{content:""}.fa-video-slash:before{content:""}.fa-vihara:before{content:""}.fa-virus:before{content:""}.fa-virus-covid:before{content:""}.fa-virus-covid-slash:before{content:""}.fa-virus-slash:before{content:""}.fa-viruses:before{content:""}.fa-voicemail:before{content:""}.fa-volleyball-ball:before,.fa-volleyball:before{content:""}.fa-volume-high:before,.fa-volume-up:before{content:""}.fa-volume-down:before,.fa-volume-low:before{content:""}.fa-volume-off:before{content:""}.fa-volume-mute:before,.fa-volume-times:before,.fa-volume-xmark:before{content:""}.fa-vr-cardboard:before{content:""}.fa-w:before{content:"W"}.fa-wallet:before{content:""}.fa-magic:before,.fa-wand-magic:before{content:""}.fa-magic-wand-sparkles:before,.fa-wand-magic-sparkles:before{content:""}.fa-wand-sparkles:before{content:""}.fa-warehouse:before{content:""}.fa-water:before{content:""}.fa-ladder-water:before,.fa-swimming-pool:before,.fa-water-ladder:before{content:""}.fa-wave-square:before{content:""}.fa-weight-hanging:before{content:""}.fa-weight-scale:before,.fa-weight:before{content:""}.fa-wheelchair:before{content:""}.fa-glass-whiskey:before,.fa-whiskey-glass:before{content:""}.fa-wifi-3:before,.fa-wifi-strong:before,.fa-wifi:before{content:""}.fa-wind:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-wine-bottle:before{content:""}.fa-wine-glass:before{content:""}.fa-wine-glass-alt:before,.fa-wine-glass-empty:before{content:""}.fa-krw:before,.fa-won-sign:before,.fa-won:before{content:""}.fa-wrench:before{content:""}.fa-x:before{content:"X"}.fa-x-ray:before{content:""}.fa-close:before,.fa-multiply:before,.fa-remove:before,.fa-times:before,.fa-xmark:before{content:""}.fa-y:before{content:"Y"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen-sign:before,.fa-yen:before{content:""}.fa-yin-yang:before{content:""}.fa-z:before{content:"Z"}.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}/*! + * Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2022 Fonticons, Inc. + */:host,:root{--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(/openWB/web/display/themes/colors/assets/fa-solid-900-DByUvYfa.woff2) format("woff2"),url(/openWB/web/display/themes/colors/assets/fa-solid-900-CG7ny7S5.ttf) format("truetype")}.fa-solid,.fas{font-family:"Font Awesome 6 Free";font-weight:900}.fixeddisplay[data-v-75d14554]{display:grid;grid-template-rows:440px 40px;grid-template-columns:800px}/*! + * Bootstrap v5.3.3 (https://getbootstrap.com/) + * Copyright 2011-2024 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, .75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, .5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm:0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width:.25rem;--bs-focus-ring-opacity:.25;--bs-focus-ring-color:rgba(13, 110, 253, .25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, .75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, .5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, .15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:.25rem}.g-1,.gy-1{--bs-gutter-y:.25rem}.g-2,.gx-2{--bs-gutter-x:.5rem}.g-2,.gy-2{--bs-gutter-y:.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-active{--bs-table-color-state:var(--bs-table-active-color);--bs-table-bg-state:var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state:var(--bs-table-hover-color);--bs-table-bg-state:var(--bs-table-hover-bg)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#a6b5cc;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#b5b6b7;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#a7b9b1;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#a6c3ca;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#ccc2a4;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#c6acae;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#c6c7c8;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#4d5154;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control-plaintext~label:after,.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:#6c757d}.form-floating>.form-control:disabled~label:after,.form-floating>:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3.75rem + 1.5em)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3.75rem + 1.5em)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:.75rem;--bs-btn-padding-y:.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, .15),0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity:.65;--bs-btn-focus-box-shadow:0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:.25rem;--bs-btn-padding-x:.5rem;--bs-btn-font-size:.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:.5rem;--bs-dropdown-spacer:.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:.5rem;--bs-dropdown-box-shadow:var(--bs-box-shadow);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, .15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:.5rem;--bs-navbar-toggler-padding-y:.25rem;--bs-navbar-toggler-padding-x:.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:.25rem;--bs-navbar-toggler-transition:box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255, 255, 255, .55);--bs-navbar-hover-color:rgba(255, 255, 255, .75);--bs-navbar-disabled-color:rgba(255, 255, 255, .25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform .2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:.75rem;--bs-pagination-padding-y:.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:.5rem;--bs-pagination-padding-y:.25rem;--bs-pagination-font-size:.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:.65em;--bs-badge-padding-y:.35em;--bs-badge-font-size:.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:.5;--bs-btn-close-hover-opacity:.75;--bs-btn-close-focus-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:.75rem;--bs-toast-padding-y:.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:.5rem;--bs-tooltip-padding-y:.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:.9;--bs-tooltip-arrow-width:.8rem;--bs-tooltip-arrow-height:.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:var(--bs-box-shadow);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color:inherit;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-top>.popover-arrow:before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-end>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-start>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translate(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-.125em;--bs-spinner-border-width:.25em;--bs-spinner-animation-speed:.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-.125em;--bs-spinner-animation-speed:.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:var(--bs-box-shadow-sm);--bs-offcanvas-transition:transform .3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,.75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,.75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,.5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:.1}.border-opacity-25{--bs-border-opacity:.25}.border-opacity-50{--bs-border-opacity:.5}.border-opacity-75{--bs-border-opacity:.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:#00000080!important}.text-white-50{--bs-text-opacity:1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:.25}.text-opacity-50{--bs-text-opacity:.5}.text-opacity-75{--bs-text-opacity:.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity:.1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity:.25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity:.5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity:.75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:.1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:.25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:.5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:.75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:.1}.bg-opacity-25{--bs-bg-opacity:.25}.bg-opacity-50{--bs-bg-opacity:.5}.bg-opacity-75{--bs-bg-opacity:.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}html{min-height:100%;min-width:100%}body{color:var(--color-fg);background:var(--color-bg);font-family:San Francisco,Arial,Liberation sans,sans-serif}body>.container{padding:55px 15px 0}html{font-size:12px}html .settingscolumn{grid-column:span 12}.verySmallTextSize{font-size:var(--font-verysmall)}.smallTextSize{font-size:var(--font-small)}.mediumTextSize{font-size:var(--font-medium)}.regularTextSize{font-size:var(--font-normal)}.largeTextSize,.buttonTextSize{font-size:var(--font-large)}h3{font-size:var(--font-extralarge);color:var(--color-title);font-weight:700;transform:scaleX(.9294)}h4{color:var(--color-axis)}body>.container-fluid{padding:55px 15px 0}.tablecell{font-size:var(--font-normal);line-height:1rem;vertical-align:middle;padding:0;background-color:var(--color-bg)}.maxPrice{text-align:center}:root{--fontCol: rgba(160, 160, 160, .82);--gridCol: rgba(160, 160, 160, .82);--xgridCol: rgba(160, 160, 160, .82);--tickCol: rgba(160, 160, 160, .82);--evuCol: rgba(178, 34, 34, 1);--color-switchRed: #d12020;--color-switchGreen: #4db662;--color-switchBlue: steelblue;--color-cp0: #6baed6;--color-cp1: #4292c6;--color-cp2: #2171b5;--color-cp3: #9ecae1;--color-cp4: #c6dbef;--color-cp5: #deebf7;--color-cp6: #08519c;--color-cp7: #6baed6;--color-evu: firebrick;--color-pv: #33a02c;--color-house: #7f7f7f;--color-charging: #1f78b4;--color-export: #b2df8a;--color-battery: goldenrod;--color-input: lightgrey;--font-normal: 1.4rem;--font-large: 1.6rem;--font-medium: 1.2rem;--font-small: 1rem;--font-verysmall: .7rem;--font-extralarge: 1.6rem;--font-settings: 16px;--font-chargebutton: 16px}.theme-light{--color-bg: white;--color-axis: gray;--color-grid: #bbbbbb;--color-menu: gray;--color-frame: white;--color-subframe: lightgrey;--color-fg: black;--color-scale: lightgrey;--color-title: rgba(0, 0, 0, .644);--padding-widget: 5px;--fontCol: rgba(255, 255, 255, .82);--gridCol: rgba(255, 255, 255, .82);--xgridCol: rgba(255, 255, 255, .1);--tickCol: rgba(255, 255, 255, .82);--evuCol: rgba(255, 0, 0, .7)}.theme-blue{--color-bg: midnightblue;--color-axis: steelblue;--color-grid: steelblue;--color-menu: lightskyblue;--color-frame: lightskyblue;--color-subframe: midnightblue;--color-fg: white;--color-scale: steelblue;--color-title: lightgrey;--padding-widget: 0px}.theme-dark{--color-bg: #333333;--color-export: #b2df8a;--color-axis: #666666;--color-grid: black;--color-menu: #999999;--color-frame: #666666;--color-subframe: #333333;--color-fg: white;--color-scale: #999999;--color-title: lightgrey;--padding-widget: 0px}.shcolors-normal{--color-devices: #f16913;--color-sh1: #fd8d3c;--color-sh2: #f16913;--color-sh3: #d94801;--color-sh4: #fdae6b;--color-sh5: #fdd0a2;--color-sh6: #fee6ce;--color-sh7: #a63603;--color-sh8: #fe4b83;--color-sh9: #e4419d}.shcolors-advanced{--color-devices: #ff4d4d;--color-sh1: #ffffff;--color-sh2: #ff4d4d;--color-sh3: #668cff;--color-sh4: #ff6600;--color-sh5: #00ff00;--color-sh6: #ffff00;--color-sh7: #ff00ff;--color-sh8: #993300;--color-sh9: #a366ff}.shcolors-standard{--color-devices: rgba(200, 50, 200, .7);--color-sh1: rgba(200, 150, 200, .7);--color-sh2: rgba(200, 100, 200, .7);--color-sh3: rgba(200, 50, 200, .7);--color-sh4: rgba(200, 0, 200, .7);--color-sh5: rgba(150, 200, 200, .7);--color-sh6: rgba(100, 200, 200, .7);--color-sh7: rgba(50, 200, 200, .7);--color-sh8: rgba(0, 200, 200, .7);--color-sh9: rgba(200, 200, 200, .7)}.openwb-devices{color:#cff;background-color:#009696}.colormenu{background-color:var(--color-frame)}.grid12{display:grid;grid-template-columns:repeat(12,auto);gap:.2em;justify-items:left}.grid-col-2{grid-column:span 2}.grid-col-3{grid-column:span 3}.grid-col-4{grid-column:span 4}.grid-col-6{grid-column:span 6}.grid-col-12{grid-column:span 12}@supports (grid-template-columns: subgrid){.subgrid{display:grid;grid-column:span 12;grid-template-columns:subgrid;justify-content:top}}@supports not (grid-template-columns: subgrid){.subgrid{display:grid;grid-column:span 12;grid-template-columns:auto auto auto auto auto auto auto auto auto auto auto auto;justify-content:top;width:100%}}.grid-left{justify-self:start}.grid-right{justify-self:end}th{color:var(--color-axis)}.table-borderless td{border:0}.popup-header{color:#191970}.axis text{color:var(--color-axis);stroke-width:0}.phasesInUse{font-family:monospace;color:#fff;background:var(--color-menu);font-size:var(--font-verysmall);padding:.2rem .4rem .1rem;margin:0rem .2rem}.swiper-slide-active,.swiper-slide{display:flex}swiper-slide{display:flex}option{color:#00f}.ttarea .ttmessage{visibility:hidden}.ttarea:hover .ttmessage{visibility:visible}.scaled{transform:scaleX(.9294)}.fa-car-battery{color:var(--color-battery)}.fa-car{color:var(--color-charging)}.fa-clock,.fa-coins{color:var(--color-battery)}.fa-sliders{color:var(--color-pv)} diff --git a/packages/modules/display_themes/colors/web/assets/index-V2frQHVM.js b/packages/modules/display_themes/colors/web/assets/index-V2frQHVM.js new file mode 100644 index 0000000000..3a301931c5 --- /dev/null +++ b/packages/modules/display_themes/colors/web/assets/index-V2frQHVM.js @@ -0,0 +1,6 @@ +var ra=Object.defineProperty;var na=(t,e,a)=>e in t?ra(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var c=(t,e,a)=>na(t,typeof e!="symbol"?e+"":e,a);import{m as oa,r as J,a as ge,M as vt,d as T,o as p,c as _,n as ae,b as M,e as u,f as he,g as ne,h as g,s as me,i as rt,j as sa,k as b,w as x,u as i,l as B,t as C,p as j,q as At,v as Vt,x as ia,F as be,y as Oe,z as Te,A as ht,B as $e,C as Lt,D as nt,E as Qe,G as Le,H as He,I as pt,J as la,K as Ne,L as Dt,N as ca,O as ua,P as De,Q as da,R as ha,S as Et,T as pa,U as Ze,V as Gt,W as st,X as ga}from"./vendor-8HaAkxEg.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const d of s.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function a(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=a(o);fetch(o.href,s)}})();function Ye(t,e=1){let a;if(t>=1e3&&e<4){switch(e){case 0:a=Math.round(t/1e3);break;case 1:a=Math.round(t/100)/10;break;case 2:a=Math.round(t/10)/100;break;case 3:a=Math.round(t)/1e3;break;default:a=Math.round(t/100)/10;break}return(a==null?void 0:a.toLocaleString(void 0,{minimumFractionDigits:e}))+" kW"}else return Math.round(t).toLocaleString(void 0)+" W"}function Wt(t,e=1,a=!1){let r;if(t>1e6&&(a=!0,t=t/1e3),t>=1e3&&e<4){switch(e){case 0:r=Math.round(t/1e3);break;case 1:r=(Math.round(t/100)/10).toFixed(1);break;case 2:r=(Math.round(t/10)/100).toFixed(2);break;case 3:r=(Math.round(t)/1e3).toFixed(3);break;default:r=Math.round(t/100)/10;break}return r.toLocaleString(void 0,{minimumFractionDigits:e})+(a?" MWh":" kWh")}else return Math.round(t).toLocaleString(void 0)+(a?" kWh":" Wh")}function ma(t){return t.toLocaleTimeString([],{hour:"numeric",minute:"2-digit"})}function va(t,e){return["Jan","Feb","März","April","Mai","Juni","Juli","Aug","Sep","Okt","Nov","Dez"][t]+" "+e}const fa=0,jt={host:location.hostname,port:location.protocol=="https:"?443:80,endpoint:"/ws",protocol:location.protocol=="https:"?"wss":"ws",connectTimeout:4e3,reconnectPeriod:4e3,clean:!1,clientId:Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,6)},Xe={topic:"",qos:fa};let ce;const{host:ya,port:ba,endpoint:_a,...Nt}=jt,wa=`${Nt.protocol}://${ya}:${ba}${_a}`;try{ce=oa.connect(wa,Nt),ce.on("connect",()=>{console.info("MQTT connection successful.")}),ce.on("disconnect",()=>{console.info("MQTT disconnected")}),ce.on("error",t=>{console.error("MQTT connection failed: ",t)})}catch(t){console.error("MQTT connect error: ",t)}async function Sa(t){await zt(),ce?ce.on("message",t):console.error("MqttRegister: MQTT client not available")}async function Be(t){Xe.topic=t;const{topic:e,qos:a}=Xe;await zt(),ce.subscribe(e,{qos:a},r=>{if(r){console.error("MQTT Subscription error: "+r);return}})}function Ae(t){Xe.topic=t;const{topic:e}=Xe;ce.unsubscribe(e,a=>{if(a){console.error("MQTT Unsubscribe from "+t+" failed: "+a);return}})}async function gt(t,e){let r=ce.connected,o=0;for(;!r&&o<10;)console.warn("MQTT not connected. Waiting 0.1 seconds"),await Ut(100),r=ce.connected,o+=1;if(o<10)try{ce.publish(t,e,{qos:0},s=>{s&&console.warn("MQTT publish error: ",s),console.info("MQTT publish: Message sent: ["+t+"]("+e+")")})}catch(s){console.warn("MQTT publish: caught error: "+s)}else console.error("MQTT publish: Lost connection to MQTT server. Please reload the page")}function ft(){return jt.clientId}const xt=20;async function zt(){let t=ce.connected,e=0;for(;!t&&e{esetTimeout(e,t))}class ka{constructor(e){c(this,"id");c(this,"name","Ladepunkt");c(this,"icon","Ladepunkt");c(this,"type","");c(this,"ev",0);c(this,"template",0);c(this,"connectedPhases",0);c(this,"phase_1",0);c(this,"autoPhaseSwitchHw",!1);c(this,"controlPilotInterruptionHw",!1);c(this,"isEnabled",!0);c(this,"isPluggedIn",!1);c(this,"isCharging",!1);c(this,"_isLocked",!1);c(this,"_connectedVehicle",0);c(this,"chargeTemplate",0);c(this,"evTemplate",0);c(this,"_chargeMode","pv_charging");c(this,"_hasPriority",!1);c(this,"currentPlan","");c(this,"averageConsumption",0);c(this,"vehicleName","");c(this,"rangeCharged",0);c(this,"rangeUnit","");c(this,"counter",0);c(this,"dailyYield",0);c(this,"energyPv",0);c(this,"energyBat",0);c(this,"pvPercentage",0);c(this,"faultState",0);c(this,"faultStr","");c(this,"phasesInUse",0);c(this,"power",0);c(this,"chargedSincePlugged",0);c(this,"stateStr","");c(this,"current",0);c(this,"currents",[0,0,0]);c(this,"phasesToUse",0);c(this,"isSocConfigured",!0);c(this,"isSocManual",!1);c(this,"waitingForSoc",!1);c(this,"color","white");c(this,"_timedCharging",!1);c(this,"_instantChargeLimitMode","");c(this,"_instantTargetCurrent",0);c(this,"_instantTargetSoc",0);c(this,"_instantMaxEnergy",0);c(this,"_pvFeedInLimit",!1);c(this,"_pvMinCurrent",0);c(this,"_pvMaxSoc",101);c(this,"_pvMinSoc",0);c(this,"_pvMinSocCurrent",0);c(this,"_etActive",!1);c(this,"_etMaxPrice",20);this.id=e}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked=e,Z("cpLock",e,this.id)}updateIsLocked(e){this._isLocked=e}get connectedVehicle(){return this._connectedVehicle}set connectedVehicle(e){this._connectedVehicle=e,Z("cpVehicle",e,this.id)}updateConnectedVehicle(e){this._connectedVehicle=e}get soc(){return N[this.connectedVehicle]?N[this.connectedVehicle].soc:0}set soc(e){N[this.connectedVehicle]&&(N[this.connectedVehicle].soc=e)}get chargeMode(){return this._chargeMode}set chargeMode(e){this._chargeMode=e,Z("chargeMode",e,this.id)}updateChargeMode(e){this._chargeMode=e}get hasPriority(){return this._hasPriority}set hasPriority(e){this._hasPriority=e,Z("cpPriority",e,this.id)}updateCpPriority(e){this._hasPriority=e}get timedCharging(){return se[this.chargeTemplate]?se[this.chargeTemplate].time_charging.active:!1}set timedCharging(e){se[this.chargeTemplate].time_charging.active=e,Z("cpTimedCharging",e,this.chargeTemplate)}get instantTargetCurrent(){return this._instantTargetCurrent}set instantTargetCurrent(e){this._instantTargetCurrent=e,Z("cpInstantTargetCurrent",e,this.id)}updateInstantTargetCurrent(e){this._instantTargetCurrent=e}get instantChargeLimitMode(){return this._instantChargeLimitMode}set instantChargeLimitMode(e){this._instantChargeLimitMode=e,Z("cpInstantChargeLimitMode",e,this.id)}updateInstantChargeLimitMode(e){this._instantChargeLimitMode=e}get instantTargetSoc(){return this._instantTargetSoc}set instantTargetSoc(e){this._instantTargetSoc=e,Z("cpInstantTargetSoc",e,this.id)}updateInstantTargetSoc(e){this._instantTargetSoc=e}get instantMaxEnergy(){return this._instantMaxEnergy}set instantMaxEnergy(e){this._instantMaxEnergy=e,Z("cpInstantMaxEnergy",e,this.id)}updateInstantMaxEnergy(e){this._instantMaxEnergy=e}get pvFeedInLimit(){return this._pvFeedInLimit}set pvFeedInLimit(e){this._pvFeedInLimit=e,Z("cpPvFeedInLimit",e,this.id)}updatePvFeedInLimit(e){this._pvFeedInLimit=e}get pvMinCurrent(){return this._pvMinCurrent}set pvMinCurrent(e){this._pvMinCurrent=e,Z("cpPvMinCurrent",e,this.id)}updatePvMinCurrent(e){this._pvMinCurrent=e}get pvMaxSoc(){return this._pvMaxSoc}set pvMaxSoc(e){this._pvMaxSoc=e,Z("cpPvMaxSoc",e,this.id)}updatePvMaxSoc(e){this._pvMaxSoc=e}get pvMinSoc(){return this._pvMinSoc}set pvMinSoc(e){this._pvMinSoc=e,Z("cpPvMinSoc",e,this.id)}updatePvMinSoc(e){this._pvMinSoc=e}get pvMinSocCurrent(){return this._pvMinSocCurrent}set pvMinSocCurrent(e){this._pvMinSocCurrent=e,Z("cpPvMinSocCurrent",e,this.id)}updatePvMinSocCurrent(e){this._pvMinSocCurrent=e}get realCurrent(){switch(this.phasesInUse){case 0:return 0;case 1:return this.currents[0];case 2:return(this.currents[0]+this.currents[1])/2;case 3:return(this.currents[0]+this.currents[1]+this.currents[2])/3;default:return 0}}get etActive(){return N[this.connectedVehicle]?N[this.connectedVehicle].etActive:!1}set etActive(e){N[this.connectedVehicle]&&(N[this.connectedVehicle].etActive=e)}get etMaxPrice(){return N[this.connectedVehicle].etMaxPrice??0}set etMaxPrice(e){Z("cpEtMaxPrice",Math.round(e*10)/1e6,this.id)}toPowerItem(){return{name:this.name,power:this.power,energy:this.dailyYield,energyPv:this.energyPv,energyBat:this.energyBat,pvPercentage:this.pvPercentage,color:this.color,icon:this.icon}}}class xa{constructor(e){c(this,"id");c(this,"name","");c(this,"_chargeTemplateId",0);c(this,"_evTemplateId",0);c(this,"tags",[]);c(this,"config",{});c(this,"soc",0);c(this,"range",0);c(this,"_etActive",!1);c(this,"_etMaxPrice",20);this.id=e}get chargeTemplateId(){return this._chargeTemplateId}set chargeTemplateId(e){this._chargeTemplateId=e,Z("vhChargeTemplateId",e,this.id)}updateChargeTemplateId(e){this._chargeTemplateId=e}get evTemplateId(){return this._evTemplateId}set evTemplateId(e){this._evTemplateId=e,Z("vhEvTemplateId",e,this.id)}updateEvTemplateId(e){this._evTemplateId=e}get etActive(){return se[this.chargeTemplateId]?se[this.chargeTemplateId].et.active:!1}set etActive(e){se[this.chargeTemplateId]&&Z("priceCharging",e,this.chargeTemplateId)}get etMaxPrice(){if(se[this.chargeTemplateId]&&se[this.chargeTemplateId].et.active)return se[this.chargeTemplateId].et.max_price*1e5}get chargepoint(){for(const e of Object.values(w))if(e.connectedVehicle==this.id)return e}}var pe=(t=>(t.instant_charging="instant_charging",t.pv_charging="pv_charging",t.scheduled_charging="scheduled_charging",t.standby="standby",t.stop="stop",t))(pe||{});const w=J({}),N=J({}),se=J({}),Ee=J({}),Ge=J({}),Ma=J({});function Pa(t){t in w||(w[t]=new ka(t),w[t].color="var(--color-cp"+(Object.values(w).length-1)+")")}function Ca(){Object.keys(w).forEach(t=>{delete w[parseInt(t)]})}const Ia={cpLock:"openWB/set/chargepoint/%/set/manual_lock",chargeMode:"openWB/set/vehicle/template/charge_template/%/chargemode/selected",cpPriority:"openWB/set/vehicle/template/charge_template/%/prio",cpTimedCharging:"openWB/set/vehicle/template/charge_template/%/time_charging/active",cpTimedPlanActive:"openWB/set/vehicle/template/charge_template/%/time_charging/plans/@/active",cpScheduledPlanActive:"openWB/set/vehicle/template/charge_template/%/chargemode/scheduled_charging/plans/@/active",pvBatteryPriority:"openWB/set/general/chargemode_config/pv_charging/bat_mode",cpVehicle:"openWB/set/chargepoint/%/config/ev",cpInstantChargeLimitMode:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/selected",cpInstantTargetCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/current",cpInstantTargetSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/soc",cpInstantMaxEnergy:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/amount",cpPvFeedInLimit:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/feed_in_limit",cpPvMinCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_current",cpPvMaxSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/max_soc",cpPvMinSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_soc",cpPvMinSocCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_soc_current",cpEtMaxPrice:"openWB/set/vehicle/template/charge_template/%/et/max_price",vhChargeTemplateId:"openWB/set/vehicle/%/charge_template",vhEvTemplateId:"openWB/set/vehicle/%/ev_template",shSetManual:"openWB/set/LegacySmartHome/config/set/Devices/%/mode",shSwitchOn:"openWB/set/LegacySmartHome/config/set/Devices/%/device_manual_control",socUpdate:"openWB/set/vehicle/%/get/force_soc_update",setSoc:"openWB/set/vehicle/%/soc_module/calculated_soc_state/manual_soc",priceCharging:"openWB/set/vehicle/template/charge_template/%/et/active"};function Z(t,e,a=0,r=void 0){if(isNaN(a)){console.warn("Invalid index");return}let o=Ia[t];if(!o){console.warn("No topic for update type "+t);return}switch(t){case"chargeMode":case"cpPriority":case"cpScheduledCharging":case"cpInstantTargetCurrent":case"cpInstantChargeLimitMode":case"cpInstantTargetSoc":case"cpInstantMaxEnergy":case"cpPvFeedInLimit":case"cpPvMinCurrent":case"cpPvMaxSoc":case"cpPvMinSoc":case"cpEtMaxPrice":case"cpPvMinSocCurrent":o=o.replace("%",w[a].chargeTemplate.toString());break;default:o=o.replace("%",String(a)),r!=null&&(o=o.replace("@",String(r)))}switch(typeof e){case"number":gt(o,JSON.stringify(+e));break;default:gt(o,JSON.stringify(e))}}function yt(t){gt("openWB/set/command/"+ft()+"/todo",JSON.stringify(t))}class $a{constructor(){c(this,"batterySoc",0);c(this,"isBatteryConfigured",!0);c(this,"chargeMode","0");c(this,"_pvBatteryPriority","ev_mode");c(this,"displayLiveGraph",!0);c(this,"isEtEnabled",!0);c(this,"etMaxPrice",0);c(this,"etCurrentPrice",0);c(this,"cpDailyExported",0);c(this,"evuId",0);c(this,"etProvider","");c(this,"ipAddress","");c(this,"systemTime",0);c(this,"version","");c(this,"versionDetails","");c(this,"devBranch","")}get pvBatteryPriority(){return this._pvBatteryPriority}set pvBatteryPriority(e){this._pvBatteryPriority=e,Z("pvBatteryPriority",e)}updatePvBatteryPriority(e){this._pvBatteryPriority=e}}const Oa=[["EV","ev_mode"],["Speicher","bat_mode"],["MinSoc","min_soc_bat_mode"]],oe=J({evuIn:{name:"Netz",color:"var(--color-evu)",icon:""},pv:{name:"PV",color:"var(--color-pv",icon:""},batOut:{name:"Bat >",color:"var(--color-battery)",icon:""},evuOut:{name:"Export",color:"var(--color-export)",icon:""},charging:{name:"Laden",color:"var(--color-charging)",icon:""},devices:{name:"Geräte",color:"var(--color-devices)",icon:""},batIn:{name:"> Bat",color:"var(--color-battery)",icon:""},house:{name:"Haus",color:"var(--color-house)",icon:""},cp1:{name:"Ladepunkt",color:"var(--color-cp1)",icon:"Ladepunkt"},cp2:{name:"Ladepunkt",color:"var(--color-cp2)",icon:"Ladepunkt"},cp3:{name:"Ladepunkt",color:"var(--color-cp3)",icon:"Ladepunkt"},cp4:{name:"Ladepunkt",color:"var(--color-cp4)",icon:"Ladepunkt"},cp5:{name:"Ladepunkt",color:"var(--color-cp5)",icon:"Ladepunkt"},cp6:{name:"Ladepunkt",color:"var(--color-cp6)",icon:"Ladepunkt"},cp7:{name:"Ladepunkt",color:"var(--color-cp7)",icon:"Ladepunkt"},cp8:{name:"Ladepunkt",color:"var(--color-cp8)",icon:"Ladepunkt"},sh1:{name:"Gerät",color:"var(--color-sh1)",icon:"Gerät"},sh2:{name:"Gerät",color:"var(--color-sh2)",icon:"Gerät"},sh3:{name:"Gerät",color:"var(--color-sh3)",icon:"Gerät"},sh4:{name:"Gerät",color:"var(--color-sh4)",icon:"Gerät"},sh5:{name:"Gerät",color:"var(--color-sh5)",icon:"Gerät"},sh6:{name:"Gerät",color:"var(--color-sh6)",icon:"Gerät"},sh7:{name:"Gerät",color:"var(--color-sh7)",icon:"Gerät"},sh8:{name:"Gerät",color:"var(--color-sh8)",icon:"Gerät"},sh9:{name:"Gerät",color:"var(--color-sh9)",icon:"Gerät"}});class Ft{constructor(){c(this,"_items",{});this.addItem("evuIn"),this.addItem("pv"),this.addItem("batOut"),this.addItem("evuOut"),this.addItem("charging"),this.addItem("devices"),this.addItem("batIn"),this.addItem("house")}get items(){return this._items}keys(){return Object.keys(this._items)}values(){return Object.values(this._items)}addItem(e){this._items[e]=xe(e)}setEnergy(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energy=a}setEnergyPv(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energyPv=a}setEnergyBat(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energyBat=a}setPvPercentage(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].pvPercentage=a}calculateHouseEnergy(){this._items.house.energy=this._items.evuIn.energy+this._items.pv.energy+this._items.batOut.energy-this._items.evuOut.energy-this._items.batIn.energy-this._items.charging.energy-this._items.devices.energy}}let P=new Ft;function bt(){P=new Ft}const W=J({evuIn:xe("evuIn"),pv:xe("pv"),batOut:xe("batOut")}),O=J({evuOut:xe("evuOut"),charging:xe("charging"),devices:xe("devices"),batIn:xe("batIn"),house:xe("house")}),U=J(new $a);ge("");const Ke=ge(!1);function xe(t){return{name:oe[t]?oe[t].name:"item",power:0,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:oe[t]?oe[t].color:"var(--color-charging)",icon:oe[t]?oe[t].icon:""}}const re=J({active:!1,locked:!0,usePin:!1,code:"",timeout:60,localCpOnly:!1});function et(){re.usePin&&re.locked?new vt("#numberpad").toggle():(re.locked=!1,setTimeout(()=>{re.locked=!0},re.timeout*1e3))}function Ba(t){return t==re.code}function Ta(){O.house.power=O.house.power-O.devices.power}const Mt=ge(new Date),Aa={class:"scaled"},Va=T({__name:"DisplayButton",props:{icon:{},bgcolor:{},color:{}},emits:["click"],setup(t,{emit:e}){const a=t,r=e;function o(){r("click",!0)}return(s,d)=>(p(),_("div",{style:ne({"background-color":a.bgcolor?a.bgcolor:"var(--color-bg)",color:a.color?a.color:"var(--color-title)"}),class:"displaybutton rounded-pill",type:"button",onClick:o},[a.icon?(p(),_("span",{key:0,class:ae(["fas me-2 scaled",a.icon])},null,2)):M("",!0),u("span",Aa,[he(s.$slots,"default",{},void 0)])],4))}}),z=(t,e)=>{const a=t.__vccOpts||t;for(const[r,o]of e)a[r]=o;return a},fe=z(Va,[["__scopeId","data-v-0f8aebee"]]);class La{constructor(e){c(this,"id");c(this,"name","Gerät");c(this,"power",0);c(this,"status","off");c(this,"energy",0);c(this,"runningTime",0);c(this,"configured",!1);c(this,"_showInGraph",!0);c(this,"color","white");c(this,"canSwitch",!1);c(this,"countAsHouse",!1);c(this,"energyPv",0);c(this,"energyBat",0);c(this,"pvPercentage",0);c(this,"tempConfigured",0);c(this,"temp",[300,300,300]);c(this,"on",!1);c(this,"isAutomatic",!0);c(this,"icon","");this.id=e}get showInGraph(){return this._showInGraph}set showInGraph(e){this._showInGraph=e,Q()}setShowInGraph(e){this._showInGraph=e}}const E=J({});function Jt(t){t in E?console.info("Duplicate sh device message: "+t):(E[t]=new La(t),E[t].color="var(--color-sh"+Object.values(E).length+")")}class Da{constructor(){c(this,"graphToShow","powermeter");c(this,"cpToShow",0);c(this,"displayLocked",!0);c(this,"_showRelativeArcs",!1);c(this,"showTodayGraph",!0);c(this,"_graphPreference","live");c(this,"_usageStackOrder",0);c(this,"_displayMode","dark");c(this,"_showGrid",!1);c(this,"_smartHomeColors","normal");c(this,"_decimalPlaces",1);c(this,"_showQuickAccess",!0);c(this,"_simpleCpList",!1);c(this,"_shortCpList","no");c(this,"_showAnimations",!0);c(this,"_preferWideBoxes",!1);c(this,"_maxPower",4e3);c(this,"_fluidDisplay",!1);c(this,"_showClock","no");c(this,"_showButtonBar",!0);c(this,"_showCounters",!1);c(this,"_showVehicles",!1);c(this,"_showPrices",!1);c(this,"_debug",!1);c(this,"isEtEnabled",!1);c(this,"etPrice",20.5);c(this,"showRightButton",!0);c(this,"showLeftButton",!0);c(this,"animationDuration",300);c(this,"animationDelay",100);c(this,"zoomGraph",!1)}get showRelativeArcs(){return this._showRelativeArcs}set showRelativeArcs(e){this._showRelativeArcs=e,Q()}setShowRelativeArcs(e){this._showRelativeArcs=e}get graphPreference(){return this._graphPreference}set graphPreference(e){this._graphPreference=e,Q()}setGraphPreference(e){this._graphPreference=e}get usageStackOrder(){return this._usageStackOrder}set usageStackOrder(e){this._usageStackOrder=e,Q()}setUsageStackOrder(e){this._usageStackOrder=e}get displayMode(){return this._displayMode}set displayMode(e){this._displayMode=e,Wa(e)}setDisplayMode(e){this._displayMode=e}get showGrid(){return this._showGrid}set showGrid(e){this._showGrid=e,Q()}setShowGrid(e){this._showGrid=e}get decimalPlaces(){return this._decimalPlaces}set decimalPlaces(e){this._decimalPlaces=e,Q()}setDecimalPlaces(e){this._decimalPlaces=e}get smartHomeColors(){return this._smartHomeColors}set smartHomeColors(e){this._smartHomeColors=e,Pt(e),Q()}setSmartHomeColors(e){this._smartHomeColors=e,Pt(e)}get showQuickAccess(){return this._showQuickAccess}set showQuickAccess(e){this._showQuickAccess=e,Q()}setShowQuickAccess(e){this._showQuickAccess=e}get simpleCpList(){return this._simpleCpList}set simpleCpList(e){this._simpleCpList=e,Q()}setSimpleCpList(e){this._simpleCpList=e}get shortCpList(){return this._shortCpList}set shortCpList(e){this._shortCpList=e,Q()}setShortCpList(e){this._shortCpList=e}get showAnimations(){return this._showAnimations}set showAnimations(e){this._showAnimations=e,Q()}setShowAnimations(e){this._showAnimations=e}get preferWideBoxes(){return this._preferWideBoxes}set preferWideBoxes(e){this._preferWideBoxes=e,Q()}setPreferWideBoxes(e){this._preferWideBoxes=e}get maxPower(){return this._maxPower}set maxPower(e){this._maxPower=e,Q()}setMaxPower(e){this._maxPower=e}get fluidDisplay(){return this._fluidDisplay}set fluidDisplay(e){this._fluidDisplay=e,Q()}setFluidDisplay(e){this._fluidDisplay=e}get showClock(){return this._showClock}set showClock(e){this._showClock=e,Q()}setShowClock(e){this._showClock=e}get debug(){return this._debug}set debug(e){this._debug=e,Q()}setDebug(e){this._debug=e}get showButtonBar(){return this._showButtonBar}set showButtonBar(e){this._showButtonBar=e,Q()}setShowButtonBar(e){this._showButtonBar=e}get showCounters(){return this._showCounters}set showCounters(e){this._showCounters=e,Q()}setShowCounters(e){this._showCounters=e}get showVehicles(){return this._showVehicles}set showVehicles(e){this._showVehicles=e,Q()}setShowVehicles(e){this._showVehicles=e}get showPrices(){return this._showPrices}set showPrices(e){this._showPrices=e,Q()}setShowPrices(e){this._showPrices=e}}const y=J(new Da),Ea=992,mt=J({x:document.documentElement.clientWidth,y:document.documentElement.clientHeight});function Ga(){mt.x=document.documentElement.clientWidth,mt.y=document.documentElement.clientHeight}g(()=>mt.x>=Ea);const Ve={stop:{mode:pe.stop,name:"Stop",color:"var(--color-fg)",icon:"fa-power-off"},standby:{mode:pe.standby,name:"Standby",color:"var(--color-axis",icon:"fa-pause"},pv_charging:{mode:pe.pv_charging,name:"PV",color:"var(--color-pv",icon:"fa-solar-panel"},scheduled_charging:{mode:pe.scheduled_charging,name:"Zielladen",color:"var(--color-battery)",icon:"fa-bullseye"},instant_charging:{mode:pe.instant_charging,name:"Sofort",color:"var(--color-charging)",icon:"fa-bolt"}};function Q(){ja()}function Wa(t){const e=me("html");e.classed("theme-dark",t=="dark"),e.classed("theme-light",t=="light"),e.classed("theme-blue",t=="blue"),Q()}function Pt(t){const e=me("html");e.classed("shcolors-normal",t=="normal"),e.classed("shcolors-standard",t=="standard"),e.classed("shcolors-advanced",t=="advanced")}function ja(){const t={};t.hideSH=Object.values(E).filter(e=>!e.showInGraph).map(e=>e.id),t.showLG=y.graphPreference=="live",t.displayM=y.displayMode,t.stackO=y.usageStackOrder,t.showGr=y.showGrid,t.decimalP=y.decimalPlaces,t.smartHomeC=y.smartHomeColors,t.relPM=y.showRelativeArcs,t.maxPow=y.maxPower,t.showQA=y.showQuickAccess,t.simpleCP=y.simpleCpList,t.shortCP=y.shortCpList,t.animation=y.showAnimations,t.wideB=y.preferWideBoxes,t.fluidD=y.fluidDisplay,t.clock=y.showClock,t.showButtonBar=y.showButtonBar,t.showCounters=y.showCounters,t.showVehicles=y.showVehicles,t.showPrices=y.showPrices,t.debug=y.debug,document.cookie="openWBColorTheme="+JSON.stringify(t)+";max-age=16000000;samesite=strict"}const Na={class:"navigation"},za={class:"graphbuttons"},Ua={class:"cpbuttons"},Fa={class:"timedisplay ms-4"},Ja=T({__name:"NavigationBar",setup(t){let e;function a(){let l=Object.values(w).length;y.cpToShow=(y.cpToShow+1)%l}function r(){let l=Object.values(w).length;y.cpToShow=((y.cpToShow-1)%l+l)%l}function o(){y.graphToShow="powermeter"}function s(){y.graphToShow="powergraph"}function d(){y.graphToShow="energymeter"}return rt(()=>{e=setInterval(()=>{Mt.value=new Date},1e3)}),sa(()=>{clearInterval(e)}),(l,n)=>(p(),_("div",Na,[u("span",za,[n[3]||(n[3]=u("span",{class:"brand me-4"},"openWB",-1)),b(fe,{icon:"fa-chart-pie",onClick:o},{default:x(()=>n[0]||(n[0]=[j("Leistung")])),_:1}),b(fe,{icon:"fa-chart-line",onClick:s},{default:x(()=>n[1]||(n[1]=[j("Verlauf")])),_:1}),b(fe,{icon:"fa-chart-column",onClick:d},{default:x(()=>n[2]||(n[2]=[j("Energie")])),_:1})]),b(fe,{icon:"fa-rectangle-list","data-bs-toggle":"modal","data-bs-target":"#statuspage"},{default:x(()=>n[4]||(n[4]=[j("Status")])),_:1}),u("span",Ua,[Object.values(i(w)).length>1?(p(),B(fe,{key:0,color:"var(--color-cp0)",onClick:r},{default:x(()=>n[5]||(n[5]=[u("span",{class:"fas fa-arrow-left px-2"},null,-1),u("span",{class:"fas fa-charging-station pe-2"},null,-1)])),_:1})):M("",!0),b(fe,{bgcolor:i(re).locked?"var(--color-evu)":"var(--color-pv)",onClick:i(et)},{default:x(()=>n[6]||(n[6]=[u("span",{class:"fas fa-lock px-4"},null,-1)])),_:1},8,["bgcolor","onClick"]),Object.values(i(w)).length>1?(p(),B(fe,{key:1,color:"var(--color-cp0)",onClick:a},{default:x(()=>n[7]||(n[7]=[u("span",{class:"fas fa-charging-station px-2"},null,-1),u("span",{class:"fas fa-arrow-right pe-2"},null,-1)])),_:1})):M("",!0),u("span",Fa,C(i(ma)(i(Mt))),1)])]))}}),Ra=z(Ja,[["__scopeId","data-v-97154896"]]),Ha=["origin"],Ya=T({__name:"PMSourceArc",props:{radius:{},cornerRadius:{},circleGapSize:{},emptyPower:{}},setup(t){const e=t,a=g(()=>{let r={name:"",power:e.emptyPower,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:"var(--color-bg)",icon:""},o=W;o["zz-empty"]=r;const s=Object.values(W).length-1,d=At().value(m=>m.power).startAngle(-Math.PI/2+e.circleGapSize).endAngle(Math.PI/2-e.circleGapSize).sort(null),l=Vt().innerRadius(e.radius/6*5).outerRadius(e.radius).cornerRadius(e.cornerRadius).padAngle(0),n=me("g#pmSourceArc");return n.selectAll("*").remove(),n.selectAll("sources").data(d(Object.values(o))).enter().append("path").attr("d",l).attr("fill",m=>m.data.color).attr("stroke",(m,v)=>v==s?m.data.power>0?"var(--color-scale)":"null":m.data.color),"pmSourceArc.vue"});return ia(()=>{let r=W.pv.power+W.evuIn.power+W.batOut.power;r>y.maxPower&&(y.maxPower=r)}),(r,o)=>(p(),_("g",{id:"pmSourceArc",origin:a.value},null,8,Ha))}}),qa=["origin"],Qa=T({__name:"PMUsageArc",props:{radius:{},cornerRadius:{},circleGapSize:{},emptyPower:{}},setup(t){const e=t,a=g(()=>{let r={name:"",power:e.emptyPower,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:"var(--color-bg)",icon:""};const o=[O.evuOut,O.charging].concat(Object.values(E).filter(m=>m.configured&&!m.countAsHouse).sort((m,v)=>v.power-m.power)).concat([O.batIn,O.house]).concat(r),s=o.length-1,d=At().value(m=>m.power).startAngle(Math.PI*1.5-e.circleGapSize).endAngle(Math.PI/2+e.circleGapSize).sort(null),l=Vt().innerRadius(e.radius/6*5).outerRadius(e.radius).cornerRadius(e.cornerRadius),n=me("g#pmUsageArc");return n.selectAll("*").remove(),n.selectAll("consumers").data(d(o)).enter().append("path").attr("d",l).attr("fill",m=>m.data.color).attr("stroke",(m,v)=>v==s?m.data.power>0?"var(--color-scale)":"null":m.data.color),"pmUsageArc.vue"});return(r,o)=>(p(),_("g",{id:"pmUsageArc",origin:a.value},null,8,qa))}}),Rt=T({__name:"FormatWatt",props:{watt:{}},setup(t){const e=t,a=g(()=>Ye(e.watt,y.decimalPlaces));return(r,o)=>C(a.value)}}),Za={key:0,id:"pmLabel"},Xa=["x","y","fill","text-anchor"],Ka=22,ve=T({__name:"PMLabel",props:{x:{},y:{},data:{},props:{},anchor:{},labeltext:{},labelicon:{},labelcolor:{}},setup(t){const e=t,a=g(()=>e.labeltext?e.labeltext:e.props?e.props.icon+" ":e.labelicon?e.labelicon+" ":""),r=g(()=>e.labelcolor?e.labelcolor:e.props?e.props.color:""),o=g(()=>!e.data||e.data.power>0),s=g(()=>e.labeltext?"":"fas");return(d,l)=>o.value?(p(),_("g",Za,[u("text",{x:d.x,y:d.y,fill:r.value,"text-anchor":d.anchor,"font-size":Ka,class:"pmLabel"},[u("tspan",{class:ae(s.value)},C(a.value),3),u("tspan",null,[d.data!==void 0?(p(),B(Rt,{key:0,watt:d.data.power},null,8,["watt"])):M("",!0)])],8,Xa)])):M("",!0)}}),er={},tr={class:"p-2 m-0"},ar={class:"wb-widget m-0 pb-4 shadow"},rr={class:"header mt-4 mx-2"},nr={class:"titles"},or={class:"title"},sr={class:"subtitle"},ir={class:"buttons"},lr={class:"wb-subwidget mx-2 subgrid"},cr={key:0,class:"subgrid"},ur={class:"wb-subwidget mx-2 subgrid"};function dr(t,e){return p(),_("div",tr,[u("div",ar,[u("div",rr,[u("div",nr,[u("div",or,[he(t.$slots,"title",{},()=>[e[0]||(e[0]=u("div",{class:"p-0"},"(title goes here)",-1))])]),u("div",sr,[he(t.$slots,"subtitle",{},void 0)])]),u("div",ir,[he(t.$slots,"buttons",{},void 0)])]),u("div",lr,[he(t.$slots,"default",{},void 0)]),t.$slots.footer!=null?(p(),_("div",cr,[e[1]||(e[1]=u("hr",{class:"grid-col-12"},null,-1)),u("div",ur,[he(t.$slots,"footer",{},void 0)])])):M("",!0)])])}const ot=z(er,[["render",dr],["__scopeId","data-v-b83b615b"]]);class hr{constructor(){c(this,"active",!1);c(this,"etPriceList",new Map);c(this,"etProvider","");c(this,"etMaxPrice",0)}get etCurrentPriceString(){const[e]=ee.etPriceList.values();return(Math.round(e*10)/10).toFixed(1)+" ct"}}const ee=J(new hr),pr={class:"grid-col-12"},gr={id:"powermeter",class:"powermeter p-0 m-0 align-self-stretch"},mr=["viewBox"],vr=["transform"],fr={transform:"scale(0.9294,1)"},yr=["x"],we=500,Se=20,Ct=1,br=T({__name:"PowerMeter",setup(t){const e=we,a=Math.PI/40,r=[[4],[4,6],[1,4,6],[0,2,4,6],[0,2,3,5,6]],o=[{x:-85,y:e/2*1/5},{x:0,y:e/2*1/5},{x:85,y:e/2*1/5},{x:-85,y:e/2*2/5},{x:0,y:e/2*2/5},{x:85,y:e/2*2/5},{x:0,y:e/2*3/5}],s=g(()=>we/2-Se),d=g(()=>{let L="",G=Object.values(W).filter(q=>q.power>0);return G.length==1&&G[0].name=="PV"?L="Aktueller Verbrauch: ":L="Bezug/Verbrauch: ",L+Ye(O.house.power+O.charging.power+O.devices.power+O.batIn.power,y.decimalPlaces)}),l=g(()=>{let L=W.pv.power+W.evuIn.power+W.batOut.power;return y.maxPower>L?Ye(y.maxPower,y.decimalPlaces):Ye(L,y.decimalPlaces)}),n=g(()=>Object.values(w)),m=g(()=>{let L=0;return y.showRelativeArcs&&(L=y.maxPower-(W.pv.power+W.evuIn.power+W.batOut.power)),L<0?0:L}),v=g(()=>[O.evuOut,O.charging,O.devices,O.batIn,O.house].filter(L=>L.power>0)),I=g(()=>r[v.value.length-1]);function S(L){return o[I.value[L]]}function H(L){return Math.round(n.value[L].soc)}function Y(L){return L.length>12?L.slice(0,11)+".":L}const _e=g(()=>{const[L]=ee.etPriceList.values();return Math.round(L*10)/10});return(L,G)=>(p(),B(ot,null,{title:x(()=>G[0]||(G[0]=[j(" Aktuelle Leistung ")])),default:x(()=>[u("div",pr,[u("figure",gr,[(p(),_("svg",{viewBox:"0 0 "+we+" "+i(e)},[u("g",{transform:"translate("+we/2+","+i(e)/2+")"},[u("g",fr,[b(Ya,{radius:s.value,"corner-radius":Ct,"circle-gap-size":a,"empty-power":m.value},null,8,["radius","empty-power"]),b(Qa,{"sh-device":i(E),radius:s.value,"corner-radius":Ct,"circle-gap-size":a,"empty-power":m.value},null,8,["sh-device","radius","empty-power"]),b(ve,{x:0,y:-i(e)/10*2,data:i(W).pv,props:i(oe).pv,anchor:"middle",config:i(y)},null,8,["y","data","props","config"]),b(ve,{x:0,y:-i(e)/10*3,data:i(W).evuIn,props:i(oe).evuIn,anchor:"middle",config:i(y)},null,8,["y","data","props","config"]),b(ve,{x:0,y:-i(e)/10,data:i(W).batOut,props:i(oe).batOut,anchor:"middle",config:i(y)},null,8,["y","data","props","config"]),i(ee).active?(p(),B(ve,{key:0,x:0,y:-i(e)/10,data:i(W).batOut,props:i(oe).batOut,anchor:"middle",config:i(y)},null,8,["y","data","props","config"])):M("",!0),(p(!0),_(be,null,Oe(v.value,(q,$)=>(p(),B(ve,{key:$,x:S($).x,y:S($).y,data:q,labelicon:q.icon,labelcolor:q.color,anchor:"middle",config:i(y)},null,8,["x","y","data","labelicon","labelcolor","config"]))),128)),n.value.length>0&&i(N)[n.value[0].connectedVehicle]?(p(),B(ve,{key:1,x:-we/2-Se/4+10,y:-i(e)/2+Se+5,labeltext:Y(i(N)[n.value[0].connectedVehicle].name)+": "+H(0)+"%",labelcolor:n.value[0].color,anchor:"start",config:i(y)},null,8,["x","y","labeltext","labelcolor","config"])):M("",!0),n.value.length>1&&i(N)[n.value[1].connectedVehicle]?(p(),B(ve,{key:2,x:we/2+Se/4-10,y:-i(e)/2+Se+5,labeltext:Y(i(N)[n.value[1].connectedVehicle].name)+": "+H(1)+"%",labelcolor:n.value[1].color,anchor:"end",config:i(y)},null,8,["x","y","labeltext","labelcolor","config"])):M("",!0),i(U).batterySoc>0?(p(),B(ve,{key:3,x:-we/2-Se/4+10,y:i(e)/2-Se+15,labeltext:"Speicher: "+i(U).batterySoc+"%",labelcolor:i(O).batIn.color,anchor:"start",config:i(y)},null,8,["x","y","labeltext","labelcolor","config"])):M("",!0),i(ee).active?(p(),B(ve,{key:4,x:we/2+Se/4-10,y:i(e)/2-Se+15,value:_e.value,labeltext:i(ee).etCurrentPriceString,labelcolor:"var(--color-charging)",anchor:"end",config:i(y)},null,8,["x","y","value","labeltext","config"])):M("",!0),b(ve,{x:0,y:0,labeltext:d.value,labelcolor:"var(--color-fg)",anchor:"middle",config:i(y)},null,8,["labeltext","config"]),i(y).showRelativeArcs?(p(),_("text",{key:5,x:we/2-44,y:"2","text-anchor":"middle",fill:"var(--color-axis)","font-size":"12"}," Peak: "+C(l.value),9,yr)):M("",!0)])],8,vr)],8,mr))])])]),_:1}))}}),ke=500,Pe=500,V={top:10,right:20,bottom:10,left:25},_t=["charging","house","batIn","devices"];class _r{constructor(){c(this,"data",[]);c(this,"_graphMode","")}get graphMode(){return this._graphMode}set graphMode(e){this._graphMode=e}}const h=J(new _r);let tt=!0,ze=!0;function It(){tt=!1}function $t(){ze=!1}function wr(t){ze=t}function Ue(t){h.data=t}const K=J({refreshTopicPrefix:"openWB/graph/alllivevaluesJson",updateTopic:"openWB/graph/lastlivevaluesJson",configTopic:"openWB/graph/config/#",initialized:!1,initCounter:0,graphRefreshCounter:0,rawDataPacks:[],duration:0,activate(){h.data=[],this.unsubscribeUpdates(),this.subscribeRefresh(),Be(this.configTopic),this.initialized=!1,this.initCounter=0,this.graphRefreshCounter=0,this.rawDataPacks=[],Pr(),Ke.value=!0},deactivate(){this.unsubscribeRefresh(),this.unsubscribeUpdates(),Ae(this.configTopic)},subscribeRefresh(){for(let t=1;t<17;t++)Be(this.refreshTopicPrefix+t)},unsubscribeRefresh(){for(let t=1;t<17;t++)Ae(this.refreshTopicPrefix+t)},subscribeUpdates(){Be(this.updateTopic)},unsubscribeUpdates(){Ae(this.updateTopic)}}),R=J({topic:"openWB/log/daily/#",date:new Date,activate(){if(h.graphMode=="day"||h.graphMode=="today"){h.graphMode=="today"&&(this.date=new Date);const t=this.date.getFullYear().toString()+(this.date.getMonth()+1).toString().padStart(2,"0")+this.date.getDate().toString().padStart(2,"0");Be(this.topic),yt({command:"getDailyLog",data:{day:t}})}},deactivate(){Ae(this.topic)},back(){this.date=new Date(this.date.setTime(this.date.getTime()-864e5))},forward(){this.date=new Date(this.date.setTime(this.date.getTime()+864e5))},setDate(t){this.date=t},getDate(){return this.date}}),Me=J({topic:"openWB/log/monthly/#",month:new Date().getMonth()+1,year:new Date().getFullYear(),activate(){const t=this.year.toString()+this.month.toString().padStart(2,"0");h.data=[],Be(this.topic),yt({command:"getMonthlyLog",data:{month:t}})},deactivate(){Ae(this.topic)},back(){this.month-=1,this.month<1&&(this.month=12,this.year-=1),this.activate()},forward(){const t=new Date;t.getFullYear()==this.year?this.month-112&&(this.month=1,this.year+=1)),this.activate()},getDate(){return new Date(this.year,this.month)}}),Ce=J({topic:"openWB/log/yearly/#",month:new Date().getMonth()+1,year:new Date().getFullYear(),activate(){const t=this.year.toString();h.data=[],Be(this.topic),yt({command:"getYearlyLog",data:{year:t}})},deactivate(){Ae(this.topic)},back(){this.year-=1,this.activate()},forward(){this.year0&&(P.items[t].energyPv+=1e3/12*(e[t]*(e.pv-e.evuOut))/(e.pv-e.evuOut+e.evuIn+e.batOut),P.items[t].energyBat+=1e3/12*(e[t]*e.batOut)/(e.pv-e.evuOut+e.evuIn+e.batOut))}function xr(t,e){e[t]>0&&(P.items[t].energyPv+=1e3*(e[t]*(e.pv-e.evuOut))/(e.pv-e.evuOut+e.evuIn+e.batOut),P.items[t].energyBat+=1e3*(e[t]*e.batOut)/(e.pv-e.evuOut+e.evuIn+e.batOut))}const Mr=["evuIn","pv","batIn","evuOut"],We=ge(!1);function wt(t,e){Object.entries(t).length>0?(We.value=!1,Object.entries(t.counter).forEach(([a,r])=>{(e.length==0||e.includes(a))&&(P.items.evuIn.energy+=r.energy_imported,P.items.evuOut.energy+=r.energy_exported)}),P.items.pv.energy=t.pv.all.energy_exported,t.bat.all&&(P.items.batIn.energy=t.bat.all.energy_imported,P.items.batOut.energy=t.bat.all.energy_exported),Object.entries(t.cp).forEach(([a,r])=>{a=="all"?P.setEnergy("charging",r.energy_imported):P.setEnergy(a,r.energy_imported)}),P.setEnergy("devices",0),Object.entries(t.sh).forEach(([a,r])=>{P.setEnergy(a,r.energy_imported);const o=a.substring(2);E[+o].countAsHouse||(P.items.devices.energy+=r.energy_imported)}),t.hc&&t.hc.all?P.setEnergy("house",t.hc.all.energy_imported):P.calculateHouseEnergy(),P.keys().map(a=>{Mr.includes(a)||(P.setPvPercentage(a,Math.round((P.items[a].energyPv+P.items[a].energyBat)/P.items[a].energy*100)),_t.includes(a)&&(O[a].energy=P.items[a].energy,O[a].energyPv=P.items[a].energyPv,O[a].energyBat=P.items[a].energyBat,O[a].pvPercentage=P.items[a].pvPercentage))}),h.graphMode=="today"&&(Object.values(w).map(a=>{const r=P.items["cp"+a.id];r&&(a.energyPv=r.energyPv,a.energyBat=r.energyBat,a.pvPercentage=r.pvPercentage)}),Object.values(E).map(a=>{const r=P.items["sh"+a.id];r&&(a.energy=r.energy,a.energyPv=r.energyPv,a.energyBat=r.energyBat,a.pvPercentage=r.pvPercentage)}))):We.value=!0,Ke.value=!0}function Pr(){P.keys().map(t=>{_t.includes(t)&&(O[t].energy=P.items[t].energy,O[t].energyPv=0,O[t].energyBat=0,O[t].pvPercentage=0)}),Object.values(w).map(t=>{t.energyPv=0,t.energyBat=0,t.pvPercentage=0}),Object.values(E).map(t=>{t.energyPv=0,t.energyBat=0,t.pvPercentage=0})}const ye=g(()=>{const t=Te(h.data,e=>e.date);return t[1]?ht().domain(Array.from({length:t[1]},(e,a)=>a+1)).paddingInner(.4).range([0,ke-V.left-2]):ht().range([0,0])});function St(){switch(h.graphMode){case"live":h.graphMode="today",y.showRightButton=!0,te();break;case"today":h.graphMode="day",R.date=new Date,R.back(),te();break;case"day":R.back(),te();break;case"month":Me.back();break;case"year":Ce.back();break}}function Ht(){const t=new Date;switch(h.graphMode){case"live":break;case"today":h.graphMode="live",y.showRightButton=!1,te();break;case"day":R.forward(),R.date.getDate()==t.getDate()&&R.date.getMonth()==t.getMonth()&&R.date.getFullYear()==t.getFullYear()&&(h.graphMode="today"),te();break;case"month":Me.forward();break;case"year":Ce.forward();break}}function Yt(){switch(h.graphMode){case"live":St();break;case"day":case"today":h.graphMode="month",te();break;case"month":h.graphMode="year",te();break}}function qt(){switch(h.graphMode){case"year":h.graphMode="month",te();break;case"month":h.graphMode="today",te();break;case"today":case"day":h.graphMode="live",te();break}}function Cr(t){if(h.graphMode=="day"||h.graphMode=="today"){R.setDate(t);const e=new Date;R.date.getDate()==e.getDate()&&R.date.getMonth()==e.getMonth()&&R.date.getFullYear()==e.getFullYear()?h.graphMode="today":h.graphMode="day",te()}}const Ir=["origin","transform"],$r=T({__name:"PGSourceGraph",props:{width:{},height:{},margin:{}},setup(t){const e=t,a={house:"var(--color-house)",batIn:"var(--color-battery)",inverter:"var(--color-pv)",batOut:"var(--color-battery)",selfUsage:"var(--color-pv)",evuOut:"var(--color-export)",evuIn:"var(--color-evu)"};var r,o;const s=y.showAnimations?y.animationDuration:0,d=y.showAnimations?y.animationDelay:0,l=g(()=>{const f=me("g#pgSourceGraph");h.graphMode=="month"||h.graphMode=="year"?$(f):q(f),f.selectAll(".axis").remove();const k=f.append("g").attr("class","axis");return k.call(_e.value),k.selectAll(".tick").attr("font-size",12),k.selectAll(".tick line").attr("stroke",G.value).attr("stroke-width",L.value),k.select(".domain").attr("stroke","var(--color-bg)"),"pgSourceGraph.vue"}),n=g(()=>h.graphMode=="month"||h.graphMode=="year"?["evuIn","batOut","selfUsage","evuOut"]:["selfUsage","evuOut","batOut","evuIn"]),m=g(()=>$e().domain([0,h.data.length-1]).range([0,e.width])),v=g(()=>Lt().keys(n.value)),I=g(()=>v.value(h.data)),S=g(()=>$e().range([e.height-10,0]).domain(h.graphMode=="year"?[0,Math.ceil(H.value[1]*10)/10]:[0,Math.ceil(H.value[1])])),H=g(()=>{let f=Te(h.data,k=>Math.max(k.pv+k.evuIn+k.batOut,k.selfUsage+k.evuOut));return f[0]!=null&&f[1]!=null?(h.graphMode=="year"&&(f[0]=f[0]/1e3,f[1]=f[1]/1e3),f):[0,0]}),Y=g(()=>h.graphMode=="month"||h.graphMode=="year"?-e.width-e.margin.right-22:-e.width),_e=g(()=>nt(S.value).tickSizeInner(Y.value).ticks(4).tickFormat(f=>(f==0?"":Math.round(f*10)/10).toLocaleString(void 0))),L=g(()=>y.showGrid?"0.5":"1"),G=g(()=>y.showGrid?"var(--color-grid)":"var(--color-bg)");function q(f){const k=Qe().x((D,F)=>m.value(F)).y(S.value(0)),A=Qe().x((D,F)=>m.value(F)).y0(D=>S.value(h.graphMode=="year"?D[0]/1e3:D[0])).y1(D=>S.value(h.graphMode=="year"?D[1]/1e3:D[1]));tt?(f.selectAll("*").remove(),r=f.selectAll(".sourceareas").data(I.value).enter().append("path").attr("fill",(D,F)=>a[n.value[F]]).attr("d",D=>k(D)),r.transition().duration(s).delay(d).ease(Le).attr("d",D=>A(D)),It()):r.data(I.value).transition().duration(0).ease(Le).attr("d",D=>A(D))}function $(f){tt?(f.selectAll("*").remove(),o=f.selectAll(".sourcebar").data(I.value).enter().append("g").attr("fill",(k,A)=>a[n.value[A]]).selectAll("rect").data(k=>k).enter().append("rect").attr("x",(k,A)=>ye.value(h.data[A].date)??0).attr("y",()=>S.value(0)).attr("height",0).attr("width",ye.value.bandwidth()),o.transition().duration(s).delay(d).ease(Le).attr("height",k=>h.graphMode=="year"?S.value(k[0]/1e3)-S.value(k[1]/1e3):S.value(k[0])-S.value(k[1])).attr("y",k=>h.graphMode=="year"?S.value(k[1]/1e3):S.value(k[1])),It()):(f.selectAll("*").remove(),o=f.selectAll(".sourcebar").data(I.value).enter().append("g").attr("fill",(k,A)=>a[n.value[A]]).selectAll("rect").data(k=>k).enter().append("rect").attr("x",(k,A)=>ye.value(h.data[A].date)??0).attr("y",k=>h.graphMode=="year"?S.value(k[1]/1e3):S.value(k[1])).attr("width",ye.value.bandwidth()).attr("height",k=>h.graphMode=="year"?S.value(k[0]/1e3)-S.value(k[1]/1e3):S.value(k[0])-S.value(k[1])))}return(f,k)=>(p(),_("g",{id:"pgSourceGraph",origin:l.value,transform:"translate("+f.margin.left+","+f.margin.top+")"},null,8,Ir))}}),Or=["origin","transform"],Br=T({__name:"PGUsageGraph",props:{width:{},height:{},margin:{},stackOrder:{}},setup(t){const e=t,a=[["house","charging","devices","batIn"],["charging","devices","house","batIn"],["devices","charging","house","batIn"]],r={house:"var(--color-house)",charging:"var(--color-charging)",batIn:"var(--color-battery)",batOut:"var(--color-battery)",selfUsage:"var(--color-pv)",evuOut:"var(--color-export)",evuIn:"var(--color-evu)",cp0:"var(--color-cp0)",cp1:"var(--color-cp1)",cp2:"var(--color-cp2)",cp3:"var(--color-cp3)",sh1:"var(--color-sh1)",sh2:"var(--color-sh2)",sh3:"var(--color-sh3)",sh4:"var(--color-sh4)",devices:"var(--color-devices)"};var o,s;const d=y.showAnimations?y.animationDuration:0,l=y.showAnimations?y.animationDelay:0,n=g(()=>{const $=me("g#pgUsageGraph");h.graphMode=="month"||h.graphMode=="year"?q($):G($),$.selectAll(".axis").remove();const f=$.append("g").attr("class","axis");return f.call(L.value),f.selectAll(".tick").attr("font-size",12).attr("color","var(--color-axis)"),y.showGrid?f.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):f.selectAll(".tick line").attr("stroke","var(--color-bg)"),f.select(".domain").attr("stroke","var(--color-bg)"),"pgUsageGraph.vue"}),m=g(()=>Lt().keys(H.value)),v=g(()=>m.value(h.data)),I=g(()=>$e().domain([0,h.data.length-1]).range([0,e.width])),S=g(()=>$e().range([e.height+10,2*e.height]).domain(h.graphMode=="year"?[0,Math.ceil(Y.value[1]*10)/10]:[0,Math.ceil(Y.value[1])])),H=g(()=>{if(h.graphMode!="today"&&h.graphMode!="day")return a[e.stackOrder];{const $=a[e.stackOrder].slice(),f=$.indexOf("charging");$.splice(f,1);const k=/cp\d+/;let A=[];return h.data.length>0&&(A=Object.keys(h.data[0]).reduce((D,F)=>(F.match(k)&&D.push(F),D),[])),A.map((D,F)=>{$.splice(f+F,0,D),r[D]="var(--color-cp"+F+")"}),$}}),Y=g(()=>{let $=Te(h.data,f=>f.house+f.charging+f.batIn+f.devices);return $[0]!=null&&$[1]!=null?(h.graphMode=="year"&&($[0]=$[0]/1e3,$[1]=$[1]/1e3),$):[0,0]}),_e=g(()=>h.graphMode=="month"||h.graphMode=="year"?-e.width-e.margin.right-22:-e.width),L=g(()=>nt(S.value).tickSizeInner(_e.value).ticks(4).tickFormat($=>($==0?"":Math.round($*10)/10).toLocaleString(void 0)));function G($){const f=Qe().x((A,D)=>I.value(D)).y(S.value(0)),k=Qe().x((A,D)=>I.value(D)).y0(A=>S.value(A[0])).y1(A=>S.value(A[1]));y.showAnimations?ze?($.selectAll("*").remove(),o=$.selectAll(".usageareas").data(v.value).enter().append("path").attr("d",A=>f(A)).attr("fill",(A,D)=>r[H.value[D]]),o.transition().duration(300).delay(100).ease(Le).attr("d",A=>k(A)),$t()):($.selectAll("*").remove(),$.selectAll(".usageareas").data(v.value).enter().append("path").attr("d",A=>k(A)).attr("fill",(A,D)=>r[H.value[D]])):($.selectAll("*").remove(),$.selectAll(".usageareas").data(v.value).enter().append("path").attr("d",A=>k(A)).attr("fill",(A,D)=>r[H.value[D]]))}function q($){ze?($.selectAll("*").remove(),s=$.selectAll(".usagebar").data(v.value).enter().append("g").attr("fill",(f,k)=>r[a[e.stackOrder][k]]).selectAll("rect").data(f=>f).enter().append("rect").attr("x",(f,k)=>ye.value(h.data[k].date)??0).attr("y",()=>S.value(0)).attr("height",0).attr("width",ye.value.bandwidth()),s.transition().duration(d).delay(l).ease(Le).attr("y",f=>h.graphMode=="year"?S.value(f[0]/1e3):S.value(f[0])).attr("height",f=>h.graphMode=="year"?S.value(f[1]/1e3)-S.value(f[0]/1e3):S.value(f[1])-S.value(f[0])),$t()):($.selectAll("*").remove(),s=$.selectAll(".usagebar").data(v.value).enter().append("g").attr("fill",(f,k)=>r[a[e.stackOrder][k]]).selectAll("rect").data(f=>f).enter().append("rect").attr("x",(f,k)=>ye.value(h.data[k].date)??0).attr("y",f=>h.graphMode=="year"?S.value(f[0]/1e3):S.value(f[0])).attr("height",f=>h.graphMode=="year"?S.value(f[1]/1e3)-S.value(f[0]/1e3):S.value(f[1])-S.value(f[0])).attr("width",ye.value.bandwidth()))}return($,f)=>(p(),_("g",{id:"pgUsageGraph",origin:n.value,transform:"translate("+$.margin.left+","+$.margin.top+")"},null,8,Or))}}),Tr=["transform"],Ar=["origin","transform"],Vr=["origin","transform"],Lr={key:0},Dr=["width","height"],Er={key:1},Gr=["y","width","height"],it=12,Wr=T({__name:"PGXAxis",props:{width:{},height:{},margin:{}},setup(t){const e=t,a=g(()=>He(l.value).ticks(4).tickSizeInner(d.value).tickFormat(pt("%H:%M"))),r=g(()=>la(l.value).ticks(4).tickSizeInner(d.value+3).tickFormat(pt(""))),o=g(()=>He(ye.value).ticks(4).tickSizeInner(d.value).tickFormat(v=>v.toString())),s=g(()=>He(ye.value).ticks(4).tickSizeInner(d.value).tickFormat(()=>"")),d=g(()=>h.graphMode!=="month"&&h.graphMode!=="year"?y.showGrid?-(e.height/2-7):-10:0),l=g(()=>{let v=Te(h.data,I=>I.date);return v[0]&&v[1]?Ne().domain(v).range([0,e.width]):Ne().range([0,0])}),n=g(()=>{let v=me("g#PGXAxis");return v.selectAll("*").remove(),h.graphMode=="month"||h.graphMode=="year"?v.call(o.value):v.call(a.value),v.selectAll(".tick > text").attr("fill",(I,S)=>S>0||h.graphMode=="month"||h.graphMode=="year"?"var(--color-axis)":"var(--color-bg)").attr("font-size",it),y.showGrid?v.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):v.selectAll(".tick line").attr("stroke","var(--color-bg)"),v.select(".domain").attr("stroke","var(--color-bg)"),v.append("text").attr("x",-e.margin.left).attr("y",12).attr("fill","var(--color-axis)").attr("font-size",it).text(h.graphMode=="year"?"MW":"kW").attr("text-anchor","start"),"PGXAxis.vue"}),m=g(()=>{let v=me("g#PGXAxis2");return v.selectAll("*").remove(),h.graphMode=="month"||h.graphMode=="year"?v.call(s.value):v.call(r.value),v.selectAll(".tick > text").attr("fill",(I,S)=>S>0||h.graphMode=="month"||h.graphMode=="year"?"var(--color-axis)":"var(--color-bg)").attr("font-size",it),y.showGrid?(v.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"),v.select(".domain").attr("stroke","var(--color-bg)")):v.selectAll(".tick line").attr("stroke","var(--color-bg)"),v.select(".domain").attr("stroke","var(--color-bg)"),"PGXAxis2.vue"});return(v,I)=>(p(),_("g",{transform:"translate("+v.margin.left+","+v.margin.top+")"},[u("g",{id:"PGXAxis",class:"axis",origin:n.value,transform:"translate(0,"+(v.height/2-6)+")"},null,8,Ar),u("g",{id:"PGXAxis2",class:"axis",origin:m.value,transform:"translate(0,"+(v.height/2+10)+")"},null,8,Vr),i(y).showGrid?(p(),_("g",Lr,[u("rect",{x:"0",y:"0",width:v.width,height:v.height/2-10,fill:"none",stroke:"var(--color-grid)","stroke-width":"0.5"},null,8,Dr)])):M("",!0),i(y).showGrid?(p(),_("g",Er,[u("rect",{x:"0",y:v.height/2+10,width:v.width,height:v.height/2-10,fill:"none",stroke:"var(--color-grid)","stroke-width":"0.5"},null,8,Gr)])):M("",!0)],8,Tr))}}),jr=["d"],Nr=["d","stroke"],zr=["x","y","text-anchor"],lt=T({__name:"PgSoc",props:{width:{},height:{},margin:{},order:{}},setup(t){const e=t,a=g(()=>{let S=Te(h.data,H=>H.date);return S[0]&&S[1]?Ne().domain(S).range([0,e.width]):Ne().range([0,0])}),r=g(()=>$e().range([e.height-10,0]).domain([0,100])),o=g(()=>Dt().x(Y=>a.value(Y.date)).y(Y=>r.value(e.order==2?Y.batSoc:Y["soc"+m.value.connectedVehicle])??r.value(0))(h.data)??""),s=g(()=>e.order==2?"Speicher":m.value.connectedVehicle),d=g(()=>e.order==2?"Speicher":m.value.vehicleName),l=g(()=>{switch(e.order){case 0:return"var(--color-cp1)";case 1:return"var(--color-cp2)";case 2:return"var(--color-battery)";default:return"red"}}),n=g(()=>{switch(e.order){case 0:return e.width-3;case 1:return 3;case 2:return e.width/2;default:return 0}}),m=g(()=>{const S=e.order==2?0:e.order;return Object.values(w)[S]}),v=g(()=>{if(h.data.length>0){let S;switch(e.order){case 0:return S=h.data.length-1,r.value(h.data[S]["soc"+s.value]+2);case 1:return S=0,r.value(h.data[S]["soc"+s.value]+2);case 2:return S=Math.round(h.data.length/2),r.value(h.data[S].batSoc+2);default:return 0}}else return 0}),I=g(()=>{switch(e.order){case 0:return"end";case 1:return"start";case 2:return"middle";default:return"middle"}});return(S,H)=>(p(),_(be,null,[u("path",{class:"soc-baseline",d:o.value,stroke:"var(--color-bg)","stroke-width":"1",fill:"none"},null,8,jr),u("path",{class:"soc-dashes",d:o.value,stroke:l.value,"stroke-width":"1",style:{strokeDasharray:"3,3"},fill:"none"},null,8,Nr),u("text",{class:"cpname",x:n.value,y:v.value,style:ne({fill:l.value,fontSize:10}),"text-anchor":I.value},C(d.value),13,zr)],64))}}),Ur=["transform"],Fr=T({__name:"PgSocAxis",props:{width:{},height:{},margin:{}},setup(t){const e=t,a=g(()=>$e().range([e.height-10,0]).domain([0,100])),r=g(()=>ca(a.value).ticks(5).tickFormat(s=>s.toString()+"%"));function o(){let s=me("g#PGSocAxis");s.call(r.value),s.selectAll(".tick").attr("font-size",12),s.selectAll(".tick line").attr("stroke","var(--color-bg)"),s.select(".domain").attr("stroke","var(--color-bg)")}return rt(()=>{o()}),(s,d)=>(p(),_("g",{id:"PGSocAxis",class:"axis",transform:"translate("+(s.width-20)+",0)"},null,8,Ur))}}),Jr={class:"btn-group m-0",role:"group","aria-label":"radiobar"},Rr=["id","value"],Hr=T({__name:"RadioBarInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,r=e,o=g({get(){return a.modelValue},set(l){r("update:modelValue",l)}});function s(l){let n=a.options[l].color?a.options[l].color:"var(--color-fg)";return a.options[l].active?{color:"var(--color-bg)",background:n}:{color:n}}function d(l){let n=l.target;for(;n&&!n.value&&n.parentElement;)n=n.parentElement;n.value&&(o.value=n.value)}return(l,n)=>(p(),_("div",null,[u("div",Jr,[(p(!0),_(be,null,Oe(l.options,(m,v)=>(p(),_("button",{id:"radio-"+m.value,key:v,class:ae(["btn btn-outline-secondary btn-sm radiobutton mx-0 mb-0 px-2",m.value==o.value?"active":""]),value:m.value,style:ne(s(v)),onClick:d},[u("span",{style:ne(s(v)),class:"scaled"},[m.icon?(p(),_("i",{key:0,class:ae(["fa-solid",m.icon])},null,2)):M("",!0),j(" "+C(m.text),1)],4)],14,Rr))),128))])]))}}),Qt=z(Hr,[["__scopeId","data-v-60f5d4c2"]]),Yr={key:0,class:"fa-solid fa-xl fa-chevron-circle-down p-1",style:{color:"var(--color-bg)"}},qr=T({__name:"PgSelector",props:{widgetid:{},showLeftButton:{type:Boolean},showRightButton:{type:Boolean},ignoreLive:{type:Boolean}},emits:["shiftLeft","shiftRight","shiftUp","shiftDown"],setup(t){const e=t,a=ge(0),r=g(()=>{switch(h.graphMode){case"live":return e.ignoreLive?"heute":`${K.duration} min`;case"today":return"heute";case"day":return R.date.getDate()+"."+(R.date.getMonth()+1)+".";case"month":return va(Me.month-1,Me.year);case"year":return Ce.year.toString();default:return"???"}}),o=["live","today","day","month","year"],s=["Live","Heute","Tag","Monat","Jahr"],d=g({get(){return h.graphMode},set(L){switch(L){case"day":m();break;case"today":v();break;case"live":n();break;case"month":I();break;case"year":S()}}});function l(){a.value+=1,a.value>1&&(a.value=0)}function n(){h.graphMode!="live"&&(h.graphMode="live",te())}function m(){h.graphMode!="day"&&h.graphMode!="today"&&(h.graphMode="day",te())}function v(){h.graphMode!="today"&&(h.graphMode="today",Cr(new Date),te())}function I(){h.graphMode!="month"&&(h.graphMode="month",te())}function S(){h.graphMode!="year"&&(h.graphMode="year",te())}const H=g(()=>a.value>0?{border:"1px solid var(--color-frame)"}:""),Y=g(()=>a.value==1?"justify-content-between":"justify-content-end"),_e=g(()=>a.value==1?"justify-content-between":"justify-content-center");return(L,G)=>(p(),_("div",{class:"d-flex flex-column justify-content-center pgselector rounded",style:ne(H.value)},[a.value==2?(p(),B(Qt,{key:0,id:"pgm2",modelValue:d.value,"onUpdate:modelValue":G[0]||(G[0]=q=>d.value=q),class:"m-2",options:o.map((q,$)=>({text:s[$],value:q,color:"var(--color-menu)",active:q==i(h).graphMode}))},null,8,["modelValue","options"])):M("",!0),a.value==1?(p(),_("span",{key:1,type:"button",class:ae(["arrowButton d-flex align-self-center mb-3 mt-3",{disabled:!e.showLeftButton}]),onClick:G[1]||(G[1]=q=>L.$emit("shiftUp"))},G[6]||(G[6]=[u("i",{class:"fa-solid fa-xl fa-chevron-circle-up"},null,-1)]),2)):M("",!0),u("div",{class:ae(["d-flex align-items-center",_e.value])},[a.value==1?(p(),_("span",{key:0,type:"button",class:ae(["p-1",{disabled:!e.showLeftButton}]),onClick:G[2]||(G[2]=q=>L.$emit("shiftLeft"))},G[7]||(G[7]=[u("span",{class:"fa-solid fa-xl fa-chevron-circle-left arrowButton"},null,-1)]),2)):M("",!0),a.value<2?(p(),_("span",{key:1,type:"button",class:"btn-outline-secondary p-2 px-3 badge rounded-pill datebadge",onClick:l},C(r.value),1)):M("",!0),a.value==1?(p(),_("span",{key:2,id:"graphRightButton",type:"button",class:ae(["arrowButton fa-solid fa-xl fa-chevron-circle-right p-1",{disabled:!e.showRightButton}]),onClick:G[3]||(G[3]=q=>L.$emit("shiftRight"))},null,2)):M("",!0)],2),u("div",{class:ae(["d-flex align-items-center",Y.value])},[a.value==1?(p(),_("span",Yr)):M("",!0),a.value==1?(p(),_("span",{key:1,id:"graphLeftButton",type:"button",class:ae(["arrowButton fa-solid fa-xl fa-chevron-circle-down p-1",{disabled:!e.showLeftButton}]),onClick:G[4]||(G[4]=q=>L.$emit("shiftDown"))},null,2)):M("",!0),a.value>0?(p(),_("span",{key:2,type:"button",class:"p-1",onClick:G[5]||(G[5]=q=>a.value=0)},G[8]||(G[8]=[u("span",{class:"fa-solid fa-xl fa-circle-check"},null,-1)]))):M("",!0)],2)],4))}}),Zt=z(qr,[["__scopeId","data-v-7fd067cd"]]),Qr={class:"d-flex justify-content-end"},Zr={class:"grid-col-12"},Xr=["viewBox"],Kr=["transform"],en=2,tn="Leistung / Ladestand ",an=T({__name:"PowerGraph",setup(t){function e(){let a=y.usageStackOrder+1;a>en&&(a=0),y.usageStackOrder=a,wr(!0)}return(a,r)=>(p(),B(ot,null,{title:x(()=>[j(C(tn))]),buttons:x(()=>[u("div",Qr,[b(Zt,{widgetid:"graphsettings","show-left-button":!0,"show-right-button":!0,"ignore-live":!1,onShiftLeft:i(St),onShiftRight:i(Ht),onShiftUp:i(Yt),onShiftDown:i(qt)},null,8,["onShiftLeft","onShiftRight","onShiftUp","onShiftDown"])])]),default:x(()=>[u("div",Zr,[u("figure",{id:"powergraph",class:"p-0 m-0 align-self-stretch",onClick:e},[(p(),_("svg",{viewBox:"0 0 "+i(ke)+" "+i(Pe)},[b($r,{width:i(ke)-i(V).left-2*i(V).right,height:(i(Pe)-i(V).top-i(V).bottom)/2,margin:i(V)},null,8,["width","height","margin"]),b(Br,{width:i(ke)-i(V).left-2*i(V).right,height:(i(Pe)-i(V).top-i(V).bottom)/2,margin:i(V),"stack-order":i(y).usageStackOrder},null,8,["width","height","margin","stack-order"]),b(Wr,{width:i(ke)-i(V).left-2*i(V).right,height:i(Pe)-i(V).top-i(V).bottom,margin:i(V),"graph-data":i(h)},null,8,["width","height","margin","graph-data"]),u("g",{transform:"translate("+i(V).left+","+i(V).top+")"},[(i(h).graphMode=="day"||i(h).graphMode=="today"||i(h).graphMode=="live")&&Object.values(i(w)).length>0?(p(),B(lt,{key:0,width:i(ke)-i(V).left-2*i(V).right,height:(i(Pe)-i(V).top-i(V).bottom)/2,margin:i(V),order:0},null,8,["width","height","margin"])):M("",!0),(i(h).graphMode=="day"||i(h).graphMode=="today"||i(h).graphMode=="live")&&Object.values(i(w)).length>1?(p(),B(lt,{key:1,width:i(ke)-i(V).left-2*i(V).right,height:(i(Pe)-i(V).top-i(V).bottom)/2,margin:i(V),order:1},null,8,["width","height","margin"])):M("",!0),["day","today","live"].includes(i(h).graphMode)&&i(U).isBatteryConfigured?(p(),B(lt,{key:2,width:i(ke)-i(V).left-2*i(V).right,height:(i(Pe)-i(V).top-i(V).bottom)/2,margin:i(V),order:2},null,8,["width","height","margin"])):M("",!0),["day","today","live"].includes(i(h).graphMode)?(p(),B(Fr,{key:3,width:i(ke)-i(V).left-i(V).right,height:(i(Pe)-i(V).top-i(V).bottom)/2,margin:i(V)},null,8,["width","height","margin"])):M("",!0)],8,Kr)],8,Xr))])])]),_:1}))}}),rn=z(an,[["__scopeId","data-v-ba892fa4"]]),nn=["id"],on=["x","width","height","fill"],sn=["x","width","height"],ln=["x","y","width","height"],cn=T({__name:"EmBar",props:{item:{},xScale:{},yScale:{},margin:{},height:{},barcount:{},autarchy:{},autText:{}},setup(t){const e=t,a=g(()=>e.height-e.yScale(e.item.energy)-e.margin.top-e.margin.bottom),r=g(()=>e.item.energyPv>0?e.height-e.yScale(e.item.energyPv)-e.margin.top-e.margin.bottom:0),o=g(()=>e.item.energyPv>0?e.height-e.yScale(e.item.energyBat)-e.margin.top-e.margin.bottom:0);return(s,d)=>(p(),_("g",{id:"bar-"+e.item.name,transform:"scale(1,-1) translate (0,-445)"},[u("rect",{class:"bar",x:e.xScale(s.item.name),y:"0",width:e.xScale.bandwidth(),height:a.value,fill:s.item.color},null,8,on),u("rect",{class:"bar",x:e.xScale(s.item.name)+e.xScale.bandwidth()/6,y:"0",width:e.xScale.bandwidth()*2/3,height:r.value,fill:"var(--color-pv)","fill-opacity":"66%"},null,8,sn),u("rect",{class:"bar",x:e.xScale(s.item.name)+e.xScale.bandwidth()/6,y:r.value,width:e.xScale.bandwidth()*2/3,height:o.value,fill:"var(--color-battery)","fill-opacity":"66%"},null,8,ln)],8,nn))}}),un={id:"emBargraph"},dn=T({__name:"EMBarGraph",props:{plotdata:{},xScale:{},yScale:{},margin:{},height:{}},setup(t){const e=t;function a(o){if(o.name=="PV"){const s=h.graphMode=="live"||h.graphMode=="day"?W:P.items,l=(h.graphMode=="live"||h.graphMode=="day"?O:P.items).evuOut.energy,n=s.pv.energy;return Math.round((n-l)/n*100)}else if(o.name=="Netz"){const s=h.graphMode=="live"||h.graphMode=="day"?W:P.items,d=h.graphMode=="live"||h.graphMode=="day"?O:P.items,l=d.evuOut.energy,n=s.evuIn.energy,m=s.pv.energy,v=s.batOut.energy,I=d.batIn.energy;return Math.round((m+v-l-I)/(m+v+n-l-I)*100)}else return o.pvPercentage}function r(o){return o.name=="PV"?"Eigen":"Aut"}return(o,s)=>(p(),_("g",un,[(p(!0),_(be,null,Oe(e.plotdata,(d,l)=>(p(),_("g",{key:l},[b(cn,{item:d,"x-scale":e.xScale,"y-scale":e.yScale,margin:e.margin,height:e.height,barcount:e.plotdata.length,"aut-text":r(d),autarchy:a(d)},null,8,["item","x-scale","y-scale","margin","height","barcount","aut-text","autarchy"])]))),128)),s[0]||(s[0]=u("animateTransform",{"attribute-name":"transform",type:"scale",from:"1 0",to:"1 1",begin:"0s",dur:"2s"},null,-1))]))}}),hn=["origin"],pn=T({__name:"EMYAxis",props:{yScale:{type:[Function,Object]},width:{},fontsize:{}},setup(t){const e=t,a=g(()=>nt(e.yScale).tickFormat(o=>o>0?(o/1e3).toString():"").ticks(6).tickSizeInner(-e.width)),r=g(()=>{const o=me("g#emYAxis");return o.attr("class","axis").call(a.value),o.append("text").attr("y",6).attr("dy","0.71em").attr("text-anchor","end").text("energy"),o.selectAll(".tick").attr("font-size",e.fontsize),y.showGrid?o.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):o.selectAll(".tick line").attr("stroke","var(--color-bg)"),o.select(".domain").attr("stroke","var(--color-bg)"),"emYAxis.vue"});return(o,s)=>(p(),_("g",{id:"emYAxis",class:"axis",origin:r.value},null,8,hn))}}),gn=["id"],mn=["x","y","font-size"],vn=["x","y","font-size","fill"],fn=["x","y","font-size","fill"],yn=T({__name:"EmLabel",props:{item:{},xScale:{},yScale:{},margin:{},height:{},barcount:{},autarchy:{},autText:{}},setup(t){const e=t,a=g(()=>e.autarchy?e.yScale(e.item.energy)-25:e.yScale(e.item.energy)-10),r=g(()=>{let n=16,m=e.barcount;return m<=5?n=16:m==6?n=14:m>6&&m<=8?n=13:m==9?n=11:m==10?n=10:n=9,n}),o=g(()=>{let n=12,m=e.barcount;return m<=5?n=12:m==6?n=11:m>6&&m<=8||m==9?n=8:m==10?n=7:n=6,n});function s(n,m){return m.length>o.value?m.substring(0,o.value)+".":m}function d(){return e.autarchy?e.autText+": "+e.autarchy.toLocaleString(void 0)+" %":""}function l(){return"var(--color-pv)"}return(n,m)=>(p(),_("g",{id:"barlabel-"+e.item.name},[u("text",{x:e.xScale(n.item.name)+e.xScale.bandwidth()/2,y:a.value,"font-size":r.value,"text-anchor":"middle",fill:"var(--color-menu)"},C(i(Wt)(n.item.energy,i(y).decimalPlaces,!1)),9,mn),u("text",{x:e.xScale(n.item.name)+e.xScale.bandwidth()/2,y:e.yScale(n.item.energy)-10,"font-size":r.value-2,"text-anchor":"middle",fill:l()},C(d()),9,vn),u("text",{x:e.xScale(n.item.name)+e.xScale.bandwidth()/2,y:e.height-e.margin.bottom-5,"font-size":r.value,"text-anchor":"middle",fill:n.item.color,class:ae(n.item.icon.length<=2?"fas":"")},C(s(n.item.name,n.item.icon)),11,fn)],8,gn))}}),bn={id:"emBarLabels"},_n=T({__name:"EMLabels",props:{plotdata:{},xScale:{},yScale:{},height:{},margin:{}},setup(t){const e=t;function a(o){if(o.name=="PV"){const s=h.graphMode=="live"||h.graphMode=="day"?W:P.items,l=(h.graphMode=="live"||h.graphMode=="day"?O:P.items).evuOut.energy,n=s.pv.energy;return Math.round((n-l)/n*100)}else if(o.name=="Netz"){const s=h.graphMode=="live"||h.graphMode=="day"?W:P.items,d=h.graphMode=="live"||h.graphMode=="day"?O:P.items,l=d.evuOut.energy,n=s.evuIn.energy,m=s.pv.energy,v=s.batOut.energy,I=d.batIn.energy;return m+v-l-I>0?Math.round((m+v-l-I)/(m+v+n-l-I)*100):0}else return o.pvPercentage}function r(o){return o.name=="PV"?"Eigen":"Aut"}return(o,s)=>(p(),_("g",bn,[(p(!0),_(be,null,Oe(e.plotdata,(d,l)=>(p(),_("g",{key:l},[b(yn,{item:d,"x-scale":e.xScale,"y-scale":e.yScale,margin:e.margin,height:e.height,barcount:e.plotdata.length,"aut-text":r(d),autarchy:a(d)},null,8,["item","x-scale","y-scale","margin","height","barcount","aut-text","autarchy"])]))),128))]))}}),wn={class:"grid-col-12"},Sn={id:"energymeter",class:"energymeter p-0 m-0 align-self-stretch"},kn={viewBox:"0 0 500 500"},xn=["transform"],Mn=["x"],Pn={key:0},Ot=500,ct=500,Bt=12,Cn="Energie",In=T({__name:"EnergyMeter",setup(t){const e={top:25,bottom:30,left:25,right:0},a=g(()=>{let d=Object.values(W),l=s.value,n=P.values(),m=[];switch(y.debug&&(console.debug("----------------------- source summary -----------------"),console.debug(W),console.debug("----------------------- usage details ------------------"),console.debug(s.value),console.debug("----------------------- historic summary ---------------"),console.debug(P),console.debug("--------------------------------------------------------")),Ke.value==!0&&(Ke.value=!1),h.graphMode){default:case"live":case"today":m=d.concat(l).filter(v=>v.energy>0);break;case"day":case"month":case"year":n.length==0?We.value=!0:(We.value=!1,m=n.filter(v=>v.energy>0))}return m}),r=g(()=>ht().range([0,Ot-e.left-e.right]).domain(a.value.map(d=>d.name)).padding(.4)),o=g(()=>$e().range([ct-e.bottom-e.top,15]).domain([0,ua(a.value,d=>d.energy)])),s=g(()=>{const d=Object.values(w).length,l=Object.values(E).filter(n=>n.configured).length;return[O.evuOut,O.devices,O.charging].concat(d>1?Object.values(w).map(n=>n.toPowerItem()):[]).concat(l>1?Object.values(E).filter(n=>n.configured&&n.showInGraph):[]).concat([O.batIn,O.house])});return(d,l)=>(p(),B(ot,null,{title:x(()=>[j(C(Cn))]),buttons:x(()=>[b(Zt,{widgetid:"graphsettings","show-left-button":!0,"show-right-button":!0,"ignore-live":!0,onShiftLeft:i(St),onShiftRight:i(Ht),onShiftUp:i(Yt),onShiftDown:i(qt)},null,8,["onShiftLeft","onShiftRight","onShiftUp","onShiftDown"])]),default:x(()=>[u("div",wn,[u("figure",Sn,[(p(),_("svg",kn,[u("g",{transform:"translate("+e.left+","+e.top+")"},[b(dn,{plotdata:a.value,"x-scale":r.value,"y-scale":o.value,height:ct,margin:e},null,8,["plotdata","x-scale","y-scale"]),b(pn,{"y-scale":o.value,width:Ot,fontsize:Bt,config:i(y)},null,8,["y-scale","config"]),u("text",{x:-e.left,y:"-15",fill:"var(--color-axis)","font-size":Bt},C(i(h).graphMode=="year"?"MWh":"kWh"),9,Mn),b(_n,{plotdata:a.value,"x-scale":r.value,"y-scale":o.value,height:ct,margin:e,config:i(y)},null,8,["plotdata","x-scale","y-scale","config"])],8,xn)]))])]),i(We)?(p(),_("p",Pn,"No data")):M("",!0)]),_:1}))}}),$n=z(In,[["__scopeId","data-v-69785337"]]),On=["id"],Bn={class:"modal-dialog modal-lg modal-fullscreen-lg-down"},Tn={class:"modal-content"},An={class:"modal-header"},Vn={class:"modal-title scaled"},Ln={class:"modal-body"},Dn=T({__name:"ModalComponent",props:{modalId:{}},setup(t){const e=t;return(a,r)=>(p(),_("div",{id:e.modalId,class:"modal fade"},[u("div",Bn,[u("div",Tn,[u("div",An,[u("h3",Vn,[he(a.$slots,"title",{},void 0)]),r[0]||(r[0]=u("button",{type:"button",class:"btn-close buttonTextSize d-flex justify-content-center pt-3 pb-0","data-bs-dismiss":"modal"},[u("i",{class:"fa-solid fa-lg fa-circle-check m-0 p-0"})],-1))]),u("div",Ln,[he(a.$slots,"default",{},void 0)]),r[1]||(r[1]=u("div",{class:"modal-footer"},null,-1))])])],8,On))}}),ut=z(Dn,[["__scopeId","data-v-dff8d7c2"]]),En={class:"digit scaled",type:"button"},Gn=T({__name:"PadButton",props:{modelValue:{},color:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,r=ge(!1);function o(){r.value=!0,d("update:modelValue",a.modelValue),setTimeout(()=>{r.value=!1},300)}const s=g(()=>r.value?{"background-color":"white",color:"black"}:{"background-color":a.color??"var(--color-axis)"}),d=e;return(l,n)=>(p(),_("div",{class:"padbutton",style:ne(s.value),onClick:o},[u("span",En,[he(l.$slots,"default",{},void 0)])],4))}}),Fe=z(Gn,[["__scopeId","data-v-cc256a6f"]]),Wn={class:"numberpad"},jn={class:"codedisplay scaled"},Nn={class:"numberentry"},zn=T({__name:"NumberPad",props:{modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const r=ge(t.modelValue),o=e,s=g(()=>r.value.length==0?"Bitte geben Sie die PIN ein":"*".repeat(r.value.length));function d(l){l==-1?r.value=r.value.slice(0,-1):l==-2?(o("update:modelValue",r.value),r.value=""):r.value=r.value+l.toString()}return(l,n)=>(p(),_("div",Wn,[u("p",jn,C(s.value),1),u("div",Nn,[(p(),_(be,null,Oe(9,m=>b(Fe,{key:m,"model-value":m,"onUpdate:modelValue":d},{default:x(()=>[j(C(m),1)]),_:2},1032,["model-value"])),64)),b(Fe,{"model-value":0,"onUpdate:modelValue":d},{default:x(()=>n[0]||(n[0]=[j("0")])),_:1}),b(Fe,{"model-value":-1,color:"var(--color-devices)","onUpdate:modelValue":d},{default:x(()=>n[1]||(n[1]=[u("span",{class:"fas fa-delete-left"},null,-1)])),_:1}),b(Fe,{"model-value":-2,color:"var(--color-devices)","data-bs-dismiss":"modal","onUpdate:modelValue":d},{default:x(()=>n[2]||(n[2]=[u("span",{class:"fas fa-circle-check"},null,-1)])),_:1})])]))}}),Un=z(zn,[["__scopeId","data-v-63c8fa5c"]]),Fn={class:"statustable"},Jn=T({__name:"StatusPage",setup(t){return(e,a)=>(p(),_("div",Fn,[a[0]||(a[0]=u("span",{class:"header"},"IP-Adresse:",-1)),u("span",null,C(i(U).ipAddress),1),a[1]||(a[1]=u("span",{class:"header"},"Systemzeit:",-1)),u("span",null,C(new Date(i(U).systemTime*1e3).toLocaleString(void 0)),1),a[2]||(a[2]=u("span",{class:"header"},"Version:",-1)),u("span",null,C(i(U).version),1),a[3]||(a[3]=u("span",{class:"header"},"Version (Details):",-1)),u("span",null,C(i(U).versionDetails),1),a[4]||(a[4]=u("span",{class:"header"},"Entwicklungszweig:",-1)),u("span",null,C(i(U).devBranch),1)]))}}),Rn=z(Jn,[["__scopeId","data-v-6a182015"]]),Hn={class:"configitem subgrid"},Yn={class:"d-flex align-items-baseline m-0 p-0 grid-col-6 scaled"},qn={class:"ms-1 mb-2 p-0 pt-2 d-flex justify-content-stretch align-items-center grid-col-6"},Qn={class:"justify-content-stretch d-flex"},Zn=T({__name:"ConfigItem",props:{title:{},infotext:{},icon:{},iconcolor:{},fullwidth:{type:Boolean}},setup(t){const e=t;return(a,r)=>(p(),_("div",Hn,[u("span",Yn,[e.icon?(p(),_("i",{key:0,class:ae(["fa-solid fa-sm m-0 p-0 me-2 item-icon",e.icon]),style:ne({color:e.iconcolor?e.iconcolor:"var(--color-charging)"})},null,6)):M("",!0),j(" "+C(a.title),1)]),u("div",qn,[u("span",Qn,[he(a.$slots,"default",{},void 0)])])]))}}),X=z(Zn,[["__scopeId","data-v-40d270c0"]]),Xn={class:"rangewidget d-flex flex-column"},Kn={class:"rangeslider d-flex flex-fill justify-content-between align-items-center"},eo=["id","min","max","step"],to={class:"d-flex justify-content-between align-items-center"},ao={class:"minlabel ps-4"},ro={class:"valuelabel"},no={class:"maxlabel pe-4"},oo=T({__name:"RangeInput",props:{id:{},min:{},max:{},step:{},unit:{},decimals:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,r=a.decimals??0,o=e,s=g({get(){return Math.round(a.modelValue*Math.pow(10,r))/Math.pow(10,r)},set(n){o("update:modelValue",n)}});function d(){s.value>a.min&&(s.value=Math.round((s.value-a.step)*Math.pow(10,r))/Math.pow(10,r))}function l(){console.log("stepup"),console.log(s.value),s.value(p(),_("span",Xn,[u("span",Kn,[u("span",{type:"button",class:"minusButton",onClick:d},m[1]||(m[1]=[u("i",{class:"fa fa-xl fa-minus-square me-2"},null,-1)])),De(u("input",{id:n.id,"onUpdate:modelValue":m[0]||(m[0]=v=>s.value=v),type:"range",class:"form-range flex-fill",min:n.min,max:n.max,step:n.step},null,8,eo),[[da,s.value,void 0,{number:!0}]]),u("span",{type:"button",class:"plusButton",onClick:l},m[2]||(m[2]=[u("i",{class:"fa fa-xl fa-plus-square ms-2"},null,-1)]))]),u("span",to,[u("span",ao,C(n.min),1),u("span",ro,C(s.value)+" "+C(n.unit),1),u("span",no,C(n.max),1)])]))}}),Ie=z(oo,[["__scopeId","data-v-0e483fe0"]]),so=["id","value"],io=T({__name:"RadioInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,r=e,o=g({get(){return a.modelValue},set(l){r("update:modelValue",l)}});function s(l){return a.options[l][2]?{color:a.options[l][2]}:{color:"var(--color-fg)"}}function d(l){let n=l.target;for(;n&&!n.value&&n.parentElement;)n=n.parentElement;n.value&&(o.value=n.value)}return(l,n)=>(p(),_("div",null,[(p(!0),_(be,null,Oe(l.options,(m,v)=>(p(),_("button",{id:"radio-"+m[1],key:v,class:ae(["btn btn-outline-secondary radiobutton me-2 mb-0 px-2",m[1]==o.value?"active":""]),value:m[1],style:ne(s(v)),onClick:d},[u("span",{style:ne(s(v)),class:"scaled"},[m[3]?(p(),_("i",{key:0,class:ae(["fa-solid",m[3]])},null,2)):M("",!0),j(" "+C(m[0]),1)],4)],14,so))),128))]))}}),qe=z(io,[["__scopeId","data-v-005a14a9"]]),lo={class:"instantsettings mt-5 grid12"},co={key:0},uo=T({__name:"CPConfigInstant",props:{chargepointId:{}},setup(t){const e=t,a=g(()=>w[e.chargepointId]),r=[{name:"keine",id:"none"},{name:"EV-SoC",id:"soc"},{name:"Energiemenge",id:"amount"}],o=g({get(){return a.value.instantMaxEnergy/1e3},set(s){a.value.instantMaxEnergy=s*1e3}});return(s,d)=>(p(),_("div",lo,[b(X,{title:"Stromstärke",icon:"fa-bolt",fullwidth:!0},{default:x(()=>[b(Ie,{id:"targetCurrent",modelValue:a.value.instantTargetCurrent,"onUpdate:modelValue":d[0]||(d[0]=l=>a.value.instantTargetCurrent=l),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1}),a.value.instantChargeLimitMode!="none"?(p(),_("hr",co)):M("",!0),b(X,{title:"Begrenzung",icon:"fa-hand",fullwidth:!0},{default:x(()=>[b(qe,{modelValue:a.value.instantChargeLimitMode,"onUpdate:modelValue":d[1]||(d[1]=l=>a.value.instantChargeLimitMode=l),options:r.map(l=>[l.name,l.id])},null,8,["modelValue","options"])]),_:1}),a.value.instantChargeLimitMode=="soc"?(p(),B(X,{key:1,title:"Maximaler SoC",icon:"fa-sliders",fullwidth:!0},{default:x(()=>[b(Ie,{id:"maxSoc",modelValue:a.value.instantTargetSoc,"onUpdate:modelValue":d[2]||(d[2]=l=>a.value.instantTargetSoc=l),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):M("",!0),a.value.instantChargeLimitMode=="amount"?(p(),B(X,{key:2,title:"Zu ladende Energie",icon:"fa-sliders",fullwidth:!0},{default:x(()=>[b(Ie,{id:"maxEnergy",modelValue:o.value,"onUpdate:modelValue":d[3]||(d[3]=l=>o.value=l),min:0,max:100,step:1,unit:"kWh"},null,8,["modelValue"])]),_:1})):M("",!0)]))}}),ho=z(uo,[["__scopeId","data-v-02d97261"]]),po={class:"form-check form-switch d-flex align-items-center justify-content-center"},go=T({__name:"SwitchInput",props:{modelValue:{type:Boolean},onColor:{},offColor:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,r=e,o=g({get(){return a.modelValue},set(s){r("update:modelValue",s)}});return(s,d)=>(p(),_("div",po,[De(u("input",{"onUpdate:modelValue":d[0]||(d[0]=l=>o.value=l),class:"form-check-input",type:"checkbox",role:"switch"},null,512),[[ha,o.value]])]))}}),de=z(go,[["__scopeId","data-v-547e6de4"]]),mo={class:"pvsettings pt-5 grid12"},vo=T({__name:"CPConfigPv",props:{chargepointId:{}},setup(t){const e=t,a=g(()=>w[e.chargepointId]),r=g({get(){return a.value.pvMinCurrent>5},set(d){d?a.value.pvMinCurrent=6:a.value.pvMinCurrent=0}}),o=g({get(){return a.value.pvMinSoc>0},set(d){d?a.value.pvMinSoc=50:a.value.pvMinSoc=0}}),s=g({get(){return a.value.pvMaxSoc<=100},set(d){d?a.value.pvMaxSoc=100:a.value.pvMaxSoc=101}});return(d,l)=>(p(),_("div",mo,[b(X,{title:"Ladestand begrenzen",icon:"fa-battery-three-quarters",fullwidth:!0},{default:x(()=>[b(de,{id:"limitSoc",modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=n=>s.value=n)},null,8,["modelValue"])]),_:1}),s.value?(p(),B(X,{key:0,title:"...auf maximal...",icon:"fa-battery-three-quarters",fullwidth:!0},{default:x(()=>[b(Ie,{id:"maxSoc",modelValue:a.value.pvMaxSoc,"onUpdate:modelValue":l[1]||(l[1]=n=>a.value.pvMaxSoc=n),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):M("",!0),b(X,{title:"Einspeisegrenze beachten",icon:"fa-hand",fullwidth:!0},{default:x(()=>[b(de,{modelValue:a.value.pvFeedInLimit,"onUpdate:modelValue":l[2]||(l[2]=n=>a.value.pvFeedInLimit=n)},null,8,["modelValue"])]),_:1}),b(X,{title:"Mindest-Ladestand",icon:"fa-battery-half",fullwidth:!0},{default:x(()=>[b(de,{modelValue:o.value,"onUpdate:modelValue":l[3]||(l[3]=n=>o.value=n)},null,8,["modelValue"])]),_:1}),o.value?(p(),B(X,{key:1,title:"...bis SoC",fullwidth:!0},{default:x(()=>[b(Ie,{id:"minSoc",modelValue:a.value.pvMinSoc,"onUpdate:modelValue":l[4]||(l[4]=n=>a.value.pvMinSoc=n),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):M("",!0),o.value?(p(),B(X,{key:2,title:"...mit Ladestrom",fullwidth:!0},{default:x(()=>[b(Ie,{id:"minSocCurrent",modelValue:a.value.pvMinSocCurrent,"onUpdate:modelValue":l[5]||(l[5]=n=>a.value.pvMinSocCurrent=n),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1})):M("",!0),b(X,{title:"Minimaler Ladestrom",icon:"fa-bolt",fullwidth:!0},{default:x(()=>[b(de,{modelValue:r.value,"onUpdate:modelValue":l[6]||(l[6]=n=>r.value=n)},null,8,["modelValue"])]),_:1}),r.value?(p(),B(X,{key:3,title:"...bei Ladestrom (minimal)",fullwidth:!0},{default:x(()=>[b(Ie,{id:"minCurrent",modelValue:a.value.pvMinCurrent,"onUpdate:modelValue":l[7]||(l[7]=n=>a.value.pvMinCurrent=n),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1})):M("",!0)]))}}),fo=z(vo,[["__scopeId","data-v-455524b6"]]),yo={class:"schedulestable p-3 grid12"},bo={key:0,class:"warning grid-col-12 p-5"},_o={class:"grid-col-2"},wo={class:"grid-col-3 grid-left"},So={class:"grid-col-2"},ko={class:"grid-col-2"},xo={class:"grid-col-3"},Mo=T({__name:"CPConfigScheduled",props:{chargeTemplateId:{}},setup(t){const e={daily:"Täglich",once:"Einmal",weekly:"Wöchentlich"},a=t,r=g(()=>Ee[a.chargeTemplateId]?Object.values(Ee[a.chargeTemplateId]):[]);function o(l){console.log(`update ${l}`),Z("cpScheduledPlanActive",r.value[l].active,a.chargeTemplateId,l)}function s(l){return r.value[l].time}function d(l){return{"font-weight":r.value[l].active?"bold":"regular"}}return(l,n)=>(p(),_("div",yo,[n[0]||(n[0]=u("div",{class:"subtitle grid-col-12"},"Pläne für Zielladen:",-1)),r.value.length==0?(p(),_("div",bo," Es sind noch keine Pläne definiert. Pläne für das Zielladen können in der Web-App festgelegt werden. ")):M("",!0),n[1]||(n[1]=Et('
StartzeitSoC-ZielSoC-LimitWiederholung
',1)),(p(!0),_(be,null,Oe(r.value,(m,v)=>(p(),_("div",{key:v,style:ne(d(v)),class:"subgrid tableline"},[u("span",_o,[b(de,{modelValue:m.active,"onUpdate:modelValue":[I=>m.active=I,I=>o(v)]},null,8,["modelValue","onUpdate:modelValue"])]),u("span",wo,C(s(v)),1),u("span",So,C(m.limit.soc_scheduled)+"%",1),u("span",ko,C(m.limit.soc_limit)+"%",1),u("span",xo,C(e[m.frequency.selected]),1)],4))),128))]))}}),Po=z(Mo,[["__scopeId","data-v-ff0b6341"]]),Co={class:"timeplantable p-3 grid12"},Io={key:0,class:"warning grid-col-12 p-5"},$o={class:"grid-col-2"},Oo={class:"grid-col-3 grid-left"},Bo={class:"grid-col-2"},To={class:"grid-col-2"},Ao={class:"grid-col-3"},Vo=T({__name:"CPConfigTimed",props:{chargeTemplateId:{}},setup(t){const e={daily:"Täglich",once:"Einmal",weekly:"Wöchentlich"},a=t,r=g(()=>Ge[a.chargeTemplateId]?Object.values(Ge[a.chargeTemplateId])??[]:[]);function o(d){console.log(`update ${d}`),Z("cpTimedPlanActive",r.value[d].active,a.chargeTemplateId,d)}function s(d){return{"font-weight":r.value[d].active?"bold":"regular"}}return(d,l)=>(p(),_("div",Co,[l[0]||(l[0]=u("div",{class:"subtitle grid-col-12"},"Zeitpläne:",-1)),r.value.length==0?(p(),_("div",Io," Es sind noch keine Pläne definiert. Zeitpläne können in der Web-App festgelegt werden. ")):M("",!0),l[1]||(l[1]=Et('
VonBisLadestromWiederholung
',1)),(p(!0),_(be,null,Oe(r.value,(n,m)=>(p(),_("div",{key:m,style:ne(s(m)),class:"subgrid tableline"},[u("span",$o,[b(de,{modelValue:n.active,"onUpdate:modelValue":[v=>n.active=v,v=>o(m)]},null,8,["modelValue","onUpdate:modelValue"])]),u("span",Oo,C(n.time[0]),1),u("span",Bo,C(n.time[1]),1),u("span",To,C(n.current)+"A",1),u("span",Ao,C(e[n.frequency.selected]),1)],4))),128))]))}}),Lo=z(Vo,[["__scopeId","data-v-ace151e1"]]),Do={class:"settingslist"},Eo={key:2,class:"grid-col-12 my-2"},Go=T({__name:"CPChargeConfig",props:{chargepointId:{}},setup(t){const e=t,a=g(()=>w[e.chargepointId]),r=g({get:()=>a.value.connectedVehicle,set:d=>{w[a.value.id].connectedVehicle=d}}),o=g({get:()=>a.value.etActive,set:d=>{w[a.value.id].etActive=d}}),s=g({get:()=>a.value.timedCharging,set:d=>{w[a.value.id].timedCharging=d}});return(d,l)=>(p(),_("div",Do,[Object.keys(i(N)).length>1?(p(),B(X,{key:0,title:"Fahrzeug wechseln",icon:"fa-car",fullwidth:!0},{default:x(()=>[b(qe,{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=n=>r.value=n),modelModifiers:{number:!0},options:Object.values(i(N)).map(n=>[n.name,n.id])},null,8,["modelValue","options"])]),_:1})):M("",!0),Object.keys(i(se)).length>1?(p(),B(X,{key:1,title:"Ladeprofil",icon:"fa-sliders",iconcolor:"var(--color-pv)"},{default:x(()=>[i(N)[r.value]?(p(),B(qe,{key:0,modelValue:i(N)[r.value].chargeTemplateId,"onUpdate:modelValue":l[1]||(l[1]=n=>i(N)[r.value].chargeTemplateId=n),modelModifiers:{number:!0},options:Object.keys(i(se)).map(n=>[i(se)[+n].name,n])},null,8,["modelValue","options"])):M("",!0)]),_:1})):M("",!0),l[7]||(l[7]=u("hr",{class:"grid-col-12 my-2"},null,-1)),b(X,{title:"Priorität",icon:"fa-star",iconcolor:"var(--color-evu)",fullwidth:!0},{default:x(()=>[b(de,{modelValue:a.value.hasPriority,"onUpdate:modelValue":l[2]||(l[2]=n=>a.value.hasPriority=n)},null,8,["modelValue"])]),_:1}),b(X,{title:"Zeitplan aktivieren",icon:"fa-clock",iconcolor:"var(--color-battery)"},{default:x(()=>[b(de,{modelValue:s.value,"onUpdate:modelValue":l[3]||(l[3]=n=>s.value=n)},null,8,["modelValue"])]),_:1}),b(X,{title:"Sperren",icon:"fa-lock",iconcolor:"var(--color-evu)",fullwidth:!0},{default:x(()=>[b(de,{modelValue:a.value.isLocked,"onUpdate:modelValue":l[4]||(l[4]=n=>a.value.isLocked=n)},null,8,["modelValue"])]),_:1}),b(X,{title:"Strompreisbasiert laden",icon:"fa-coins",iconcolor:"var(--color-battery)"},{default:x(()=>[b(de,{modelValue:o.value,"onUpdate:modelValue":l[5]||(l[5]=n=>o.value=n)},null,8,["modelValue"])]),_:1}),i(U).isBatteryConfigured?(p(),_("hr",Eo)):M("",!0),i(U).isBatteryConfigured?(p(),B(X,{key:3,title:"PV-Priorität (global)",icon:"fa-car-battery",iconcolor:"var(--color-battery)",fullwidth:!0},{default:x(()=>[b(qe,{modelValue:i(U).pvBatteryPriority,"onUpdate:modelValue":l[6]||(l[6]=n=>i(U).pvBatteryPriority=n),options:i(Oa)},null,8,["modelValue","options"])]),_:1})):M("",!0)]))}}),Wo=z(Go,[["__scopeId","data-v-ed7593cf"]]),jo={class:"pricesettings grid12"},No={class:"subtitle grid-col-12"},zo={class:"grapharea"},Uo={id:"pricechart"},Fo={viewBox:"0 0 400 300"},Jo=["id","origin","transform"],Ro={class:"controlarea d-flex align-items-center"},Ho={class:"priceinput d-flex flex-column justify-content-center align-items-center"},Yo={class:"grid12 pb-5"},Je=400,dt=250,Tt=12,qo=T({__name:"PriceChart",props:{chargePointId:{},globalview:{type:Boolean}},setup(t){const e=t,a=g(()=>w[e.chargePointId]);let r=ge(a.value.etMaxPrice);const o=ge(!1),s=g({get:()=>a.value.etActive,set:f=>{a.value.etActive=f}});function d(){a.value&&(a.value.etMaxPrice=r.value),o.value=!1}const l=ge(!1),n={top:0,bottom:15,left:20,right:15},m=g(()=>{let f=[];return ee.etPriceList.size>0&&ee.etPriceList.forEach((k,A)=>{f.push([A,k])}),f}),v=g(()=>m.value.length>1?(Je-n.left-n.right)/m.value.length-1:0),I=g(()=>({background:"var(--color-charging)"})),S=g(()=>{let f=Te(m.value,k=>k[0]);return f[1]&&(f[1]=new Date(f[1]),f[1].setTime(f[1].getTime()+36e5)),Ne().range([n.left,Je-n.right]).domain(f)}),H=g(()=>{let f=Te(m.value,k=>k[1]);return f[0]=f[0]?Math.floor(f[0]-1):0,f[1]=f[1]?Math.floor(f[1]+1):0,f}),Y=g(()=>$e().range([dt-n.bottom,0]).domain(H.value)),_e=g(()=>{const f=Dt(),k=[[n.left,Y.value(r.value)],[Je-n.right-1,Y.value(r.value)]];return f(k)}),L=g(()=>He(S.value).ticks(m.value.length).tickSize(5).tickSizeInner(-dt).tickFormat(f=>f.getHours()%6==0?pt("%H:%M")(f):"")),G=g(()=>nt(Y.value).ticks(6).tickSizeInner(-(Je-n.right-n.left)).tickFormat(f=>f.toString())),q=g(()=>{l.value==!0;const f=me("g#"+$.value);f.selectAll("*").remove(),f.selectAll("bar").data(m.value).enter().append("g").append("rect").attr("class","bar").attr("x",F=>S.value(F[0])).attr("y",F=>Y.value(F[1])).attr("width",v.value).attr("height",F=>Y.value(H.value[0])-Y.value(F[1])).attr("fill",F=>F[1]<=r.value?"var(--color-charging)":"var(--color-axis)");const A=f.append("g").attr("class","axis").call(L.value);A.attr("transform","translate(0,"+(dt-n.bottom)+")"),A.selectAll(".tick").attr("font-size",Tt).attr("color","var(--color-bg)"),A.selectAll(".tick line").attr("stroke","var(--color-bg)").attr("stroke-width",F=>F.getHours()%6==0?"2":"0.5"),A.select(".domain").attr("stroke","var(--color-bg");const D=f.append("g").attr("class","axis").call(G.value);return D.attr("transform","translate("+n.left+",0)"),D.selectAll(".tick").attr("font-size",Tt).attr("color","var(--color-bg)"),D.selectAll(".tick line").attr("stroke","var(--color-bg)").attr("stroke-width",F=>F%5==0?"2":"0.5"),D.select(".domain").attr("stroke","var(--color-bg)"),f.append("path").attr("d",_e.value).attr("stroke","yellow"),"PriceChart.vue"}),$=g(()=>a.value?"priceChartCanvas"+a.value.id:"priceChartCanvasGlobal");return rt(()=>{l.value=!l.value}),(f,k)=>(p(),_("div",jo,[u("div",No,"Anbieter: "+C(i(ee).etProvider),1),u("div",zo,[u("figure",Uo,[(p(),_("svg",Fo,[u("g",{id:$.value,origin:q.value,transform:"translate("+n.top+","+n.right+")"},null,8,Jo)]))])]),u("div",Ro,[u("div",Ho,[u("div",Yo,[b(X,{title:"Strompreisbasiert laden",icon:"fa-coins",iconcolor:"var(--color-battery)"},{default:x(()=>[b(de,{modelValue:s.value,"onUpdate:modelValue":k[0]||(k[0]=A=>s.value=A)},null,8,["modelValue"])]),_:1})]),b(Ie,{id:"etmaxprice",modelValue:i(r),"onUpdate:modelValue":k[1]||(k[1]=A=>pa(r)?r.value=A:r=A),min:-25,max:95,step:.1,decimals:1,unit:"ct"},null,8,["modelValue"]),u("span",{class:"pt-3",onClick:d},[u("button",{type:"button",class:"btn btn-lg btn-secondary",style:ne(I.value)}," Bestätigen ",4)])])])]))}}),Qo=z(qo,[["__scopeId","data-v-5cb6cbcf"]]),Zo={class:"m-0 mt-1 p-0 grid-col-12 tabarea"},Xo={class:"nav nav-tabs nav-justified mx-1 mt-1",role:"tablist"},Ko=["id","data-bs-target"],es=["id","data-bs-target"],ts=["id","data-bs-target"],as=["id","data-bs-target"],rs=["id","data-bs-target"],ns=["id","data-bs-target"],os={id:"settingsPanes",class:"tab-content mt-2"},ss=["id"],is=["id"],ls=["id"],cs=["id"],us=["id"],ds=["id"],hs=T({__name:"SettingsPage",props:{chargepoint:{}},setup(t){const e=t,a=g(()=>se[e.chargepoint.chargeTemplate]),r=g(()=>e.chargepoint.id);return(o,s)=>(p(),_("div",Zo,[u("nav",Xo,[u("a",{id:"chSettings"+r.value,class:"nav-link active","data-bs-toggle":"tab","data-bs-target":"#chargeSettings"+r.value},s[0]||(s[0]=[u("i",{class:"fa-solid fa-charging-station"},null,-1),j(" Allgemein ")]),8,Ko),u("a",{id:"inSettings"+r.value,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#instantSettings"+r.value},s[1]||(s[1]=[u("i",{class:"fa-solid fa-lg fa-bolt"},null,-1),j(" Sofort ")]),8,es),u("a",{id:"phvSettings"+r.value,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#pvSettings"+r.value},s[2]||(s[2]=[u("i",{class:"fa-solid fa-solar-panel me-1"},null,-1),j(" PV ")]),8,ts),u("a",{id:"scSettings"+r.value,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#scheduledSettings"+r.value},s[3]||(s[3]=[u("i",{class:"fa-solid fa-bullseye me-1"},null,-1),j(" Zielladen ")]),8,as),u("a",{id:"tmSettings"+r.value,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#timeSettings"+r.value},s[4]||(s[4]=[u("i",{class:"fa-solid fa-clock"},null,-1),j(" Zeitpläne ")]),8,rs),u("a",{id:"prSettings"+r.value,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#priceSettings"+r.value},s[5]||(s[5]=[u("i",{class:"fa-solid fa-coins"},null,-1),j(" Strompreis ")]),8,ns)]),u("div",os,[u("div",{id:"chargeSettings"+r.value,class:"tab-pane active",role:"tabpanel","aria-labelledby":"instant-tab"},[b(Wo,{"chargepoint-id":r.value},null,8,["chargepoint-id"])],8,ss),u("div",{id:"instantSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"instant-tab"},[b(ho,{"chargepoint-id":r.value},null,8,["chargepoint-id"])],8,is),u("div",{id:"pvSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"pv-tab"},[b(fo,{"chargepoint-id":r.value},null,8,["chargepoint-id"])],8,ls),u("div",{id:"scheduledSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"scheduled-tab"},[a.value!=null?(p(),B(Po,{key:0,"charge-template-id":e.chargepoint.chargeTemplate},null,8,["charge-template-id"])):M("",!0)],8,cs),u("div",{id:"timeSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"time-tab"},[a.value!=null?(p(),B(Lo,{key:0,"charge-template-id":e.chargepoint.chargeTemplate},null,8,["charge-template-id"])):M("",!0)],8,us),u("div",{id:"priceSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"price-tab"},[i(ee).active?(p(),B(Qo,{key:0,"charge-point-id":e.chargepoint.id},null,8,["charge-point-id"])):M("",!0)],8,ds)])]))}}),ps=z(hs,[["__scopeId","data-v-06d2c4a9"]]);function gs(t,e){t=="openWB/graph/boolDisplayLiveGraph"?U.displayLiveGraph=+e==1:t.match(/^openwb\/graph\/alllivevaluesJson[1-9][0-9]*$/i)?ms(t,e):t=="openWB/graph/lastlivevaluesJson"?vs(t,e):t=="openWB/graph/config/duration"&&(K.duration=JSON.parse(e))}function ms(t,e){if(!K.initialized){let a=[];const r=e.toString().split(` +`);r.length>1?a=r.map(d=>JSON.parse(d)):a=[];const o=t.match(/(\d+)$/g),s=o?o[0]:"";s!=""&&typeof K.rawDataPacks[+s-1]>"u"&&(K.rawDataPacks[+s-1]=a,K.initCounter++)}if(K.initCounter==16){const a=[];K.unsubscribeRefresh(),K.initialized=!0,K.rawDataPacks.map(r=>{r.map(o=>{const s=Xt(o);a.push(s)})}),Ue(a),K.subscribeUpdates()}}function vs(t,e){const a=JSON.parse(e),r=Xt(a);K.graphRefreshCounter++,Ue(h.data.concat(r)),K.graphRefreshCounter>60&&K.activate()}function Xt(t){const e=Object.values(w).length>0?Object.values(w)[0].connectedVehicle:0,a=Object.values(w).length>1?Object.values(w)[1].connectedVehicle:1,r="ev"+e+"-soc",o="ev"+a+"-soc",s={};s.date=fs(t.time).valueOf(),+t.grid>0?(s.evuIn=+t.grid,s.evuOut=0):+t.grid<=0?(s.evuIn=0,s.evuOut=-t.grid):(s.evuIn=0,s.evuOut=0),+t["pv-all"]>=0?(s.pv=+t["pv-all"],s.inverter=0):(s.pv=0,s.inverter=-t["pv-all"]),s.house=+t["house-power"],+t["bat-all-power"]>0?(s.batOut=0,s.batIn=+t["bat-all-power"]):+t["bat-all-power"]<0?(s.batOut=-t["bat-all-power"],s.batIn=0):(s.batOut=0,s.batIn=0),t["bat-all-soc"]?s.batSoc=+t["bat-all-soc"]:s.batSoc=0,t[r]&&(s["soc"+e]=+t[r]),t[o]&&(s["soc"+a]=+t[o]),s.charging=+t["charging-all"];for(let d=0;d<10;d++){const l="cp"+d;s[l]=+(t[l+"-power"]??0)}return s.selfUsage=s.pv-s.evuOut,s.selfUsage<0&&(s.selfUsage=0),s.devices=0,s}function fs(t){const e=new Date(Date.now()),a=864e5;let r=new Date;const o=Ze("%H:%M:%S")(t);return o&&(r=o,r.setDate(e.getDate()),r.setMonth(e.getMonth()),r.setFullYear(e.getFullYear()),r.getHours()>e.getHours()&&(r=new Date(r.getTime()-a))),r}const ys=["evuIn","pv","batIn","evuOut"];let at=[];function bs(t,e){const a=JSON.parse(e).entries,r=JSON.parse(e).totals;bt(),at=[],_t.map(s=>{P.setEnergyPv(s,0),P.setEnergyBat(s,0)});const o=_s(a);Ue(o),wt(r,at),y.debug&&(console.debug("---------------------------------------- Graph Data ---------------------------"),console.debug("--- Incoming graph data:"),console.debug(a),console.debug("data to be displayed:"),console.debug(o),console.debug("-------------------------------------------------------------------------------")),h.graphMode=="today"&&setTimeout(()=>R.activate(),3e5)}function _s(t){const e=[];let a={};return t.map(r=>{a=ws(r);const o=a;e.push(o)}),e}function ws(t){const e={};if(h.graphMode=="day"||h.graphMode=="today")if(typeof t.date=="number")e.date=new Date(+t.date*1e3).getTime();else{const r=Ze("%H:%M")(t.date);r&&(r.setMonth(R.date.getMonth()),r.setDate(R.date.getDate()),r.setFullYear(R.date.getFullYear()),e.date=r.getTime())}else if(typeof t.date=="string"){const r=Ze("%Y%m%d")(t.date);r&&(e.date=r.getDate())}return e.evuOut=0,e.evuIn=0,Object.entries(t.counter).forEach(([r,o])=>{o.grid&&(e.evuOut+=o.power_exported,e.evuIn+=o.power_imported,at.includes(r)||at.push(r))}),e.evuOut==0&&e.evuIn==0&&Object.entries(t.counter).forEach(r=>{e.evuOut+=r[1].power_exported,e.evuIn+=r[1].power_imported}),e.pv=t.pv.all.power_exported,Object.entries(t.bat).length>0?(e.batIn=t.bat.all.power_imported,e.batOut=t.bat.all.power_exported,e.batSoc=t.bat.all.soc??0):(e.batIn=0,e.batOut=0,e.batSoc=0),Object.entries(t.cp).forEach(([r,o])=>{r!="all"?(e[r]=o.power_imported,P.keys().includes(r)||P.addItem(r)):e.charging=o.power_imported}),Object.entries(t.ev).forEach(([r,o])=>{r!="all"&&(e["soc"+r.substring(2)]=o.soc)}),e.devices=0,Object.entries(t.sh).forEach(([r,o])=>{r!="all"&&(e[r]=o.power_imported??0,e.devices+=o.power_imported??0,P.keys().includes(r)||P.addItem(r))}),e.selfUsage=e.pv-e.evuOut,t.hc&&t.hc.all?e.house=t.hc.all.power_imported:e.house=e.evuIn+e.batOut+e.pv-e.evuOut-e.charging-e.devices-e.batOut,e.evuIn+e.batOut+e.pv>0?P.keys().filter(r=>!ys.includes(r)).map(r=>{kr(r,e)}):Object.keys(e).map(r=>{e[r+"Pv"]=0,e[r+"Bat"]=0}),e}let Re={};const kt=["charging","house","batIn","devices"],Ss=["evuIn","pv","batIn","evuOut"];let je=[];function ks(t,e){const a=JSON.parse(e).entries,r=JSON.parse(e).totals;bt(),je=[],kt.map(o=>{P.items[o].energyPv=0,P.items[o].energyBat=0}),a.length>0&&Ue(Kt(a)),wt(r,[])}function xs(t,e){const a=JSON.parse(e).entries,r=JSON.parse(e).totals;bt(),je=[],kt.forEach(o=>{P.items[o].energyPv=0,P.items[o].energyBat=0}),Ue(Kt(a)),wt(r,[])}function Kt(t){const e=[];let a={};return Re={},t.map(r=>{a=Ms(r),e.push(a),Object.keys(a).forEach(o=>{o!="date"&&(a[o]<0&&(console.warn(`Negative energy value for ${o} in row ${a.date}. Ignoring the value.`),a[o]=0),Re[o]?Re[o]+=a[o]:Re[o]=a[o])})}),e}function Ms(t){const e={},a=Ze("%Y%m%d")(t.date);a&&(e.date=h.graphMode=="month"?a.getDate():a.getMonth()+1),e.evuOut=0,e.evuIn=0;let r=0,o=0;return Object.entries(t.counter).forEach(([d,l])=>{r+=l.energy_exported,o+=l.energy_imported,l.grid&&(e.evuOut+=l.energy_exported,e.evuIn+=l.energy_imported,je.includes(d)||je.push(d))}),je.length==0&&(e.evuOut=r,e.evuIn=o),e.pv=t.pv.all.energy_exported,Object.entries(t.bat).length>0?(t.bat.all.energy_imported>=0?e.batIn=t.bat.all.energy_imported:(console.warn("ignoring negative value for batIn on day "+e.date),e.batIn=0),t.bat.all.energy_exported>=0?e.batOut=t.bat.all.energy_exported:(console.warn("ignoring negative value for batOut on day "+e.date),e.batOut=0)):(e.batIn=0,e.batOut=0),Object.entries(t.cp).forEach(([d,l])=>{d!="all"?(P.keys().includes(d)||P.addItem(d),e[d]=l.energy_imported):e.charging=l.energy_imported}),Object.entries(t.ev).forEach(([d,l])=>{d!="all"&&(e["soc-"+d]=l.soc)}),e.devices=Object.entries(t.sh).reduce((d,l)=>(P.keys().includes(l[0])||P.addItem(l[0]),l[1].energy_imported>=0?d+=l[1].energy_imported:console.warn(`Negative energy value for device ${l[0]} in row ${e.date}. Ignoring this value`),d),0),e.house=e.pv+e.evuIn+e.batOut-e.evuOut-e.batIn-e.charging,e.selfUsage=e.pv-e.evuOut,e.evuIn+e.batOut+e.pv>0?P.keys().filter(d=>!Ss.includes(d)).map(d=>{xr(d,e)}):kt.map(d=>{e[d+"Pv"]=0,e[d+"Bat"]=0}),e}class Ps{constructor(e){c(this,"id");c(this,"dailyYieldExport",0);c(this,"dailyYieldImport",0);c(this,"exported",0);c(this,"faultState",0);c(this,"faultStr","");c(this,"imported",0);c(this,"power",0);c(this,"soc",0);this.id=e}}class Cs{constructor(){c(this,"dailyExport",0);c(this,"dailyImport",0);c(this,"exported",0);c(this,"imported",0);c(this,"power",0);c(this,"soc",0)}}const ie=J({});J(new Cs);function Is(t){t in ie?console.info("Duplicate battery message: "+t):ie[t]=new Ps(t)}function $s(){Object.keys(ie).forEach(t=>{delete ie[parseInt(t)]})}function Os(t,e){const a=Bs(t);if(a&&!(a in ie)){console.warn("Invalid battery index received: "+a);return}t=="openWB/bat/config/configured"?U.isBatteryConfigured=e=="true":t=="openWB/bat/get/power"?+e>0?(O.batIn.power=+e,W.batOut.power=0):(O.batIn.power=0,W.batOut.power=-e):t=="openWB/bat/get/soc"?U.batterySoc=+e:t=="openWB/bat/get/daily_exported"?W.batOut.energy=+e:t=="openWB/bat/get/daily_imported"?O.batIn.energy=+e:a&&(t.match(/^openwb\/bat\/[0-9]+\/get\/daily_yield_export$/i)?ie[a].dailyYieldExport=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/daily_yield_import$/i)?ie[a].dailyYieldImport=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/exported$/i)?ie[a].exported=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/fault_state$/i)?ie[a].faultState=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/fault_str$/i)?ie[a].faultStr=e:t.match(/^openwb\/bat\/[0-9]+\/get\/imported$/i)?ie[a].imported=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/power$/i)?ie[a].power=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/soc$/i)&&(ie[a].soc=+e))}function Bs(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}function Ts(t,e){if(t=="openWB/optional/et/provider")JSON.parse(e).type==null?ee.active=!1:(ee.active=!0,ee.etProvider=JSON.parse(e).name);else if(t=="openWB/optional/et/get/prices"){const a=JSON.parse(e);ee.etPriceList=new Map,Object.keys(a).map(r=>{ee.etPriceList.set(new Date(+r*1e3),a[r]*1e5)})}}function As(t,e){const a=ea(t);if(a&&!(a in w)){console.warn("Invalid chargepoint id received: "+a);return}if(t=="openWB/chargepoint/get/power"?O.charging.power=+e:t=="openWB/chargepoint/get/daily_imported"&&(O.charging.energy=+e),t=="openWB/chargepoint/get/daily_exported")U.cpDailyExported=+e;else if(a){if(t.match(/^openwb\/chargepoint\/[0-9]+\/config$/i))if(w[a]){const r=JSON.parse(e);w[a].name=r.name,w[a].icon=r.name,oe["cp"+a]?(oe["cp"+a].name=r.name,oe["cp"+a].icon=r.name):oe["cp"+a]={name:r.name,icon:r.name,color:"var(--color-charging)"}}else console.warn("invalid chargepoint index: "+a);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/state_str$/i))w[a].stateStr=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/fault_str$/i))w[a].faultStr=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/fault_state$/i))w[a].faultState=+e;else if(t.match(/^openWB\/chargepoint\/[0-9]+\/get\/power$/i))w[a].power=+e;else if(t.match(/^openWB\/chargepoint\/[0-9]+\/get\/daily_imported$/i))w[a].dailyYield=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/plug_state$/i))w[a].isPluggedIn=e=="true";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/charge_state$/i))w[a].isCharging=e=="true";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/manual_lock$/i))w[a].updateIsLocked(e=="true");else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/enabled$/i))w[a].isEnabled=e=="1";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/phases_in_use/i))w[a].phasesInUse=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/current/i))w[a].current=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/currents/i))w[a].currents=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/log/i)){const r=JSON.parse(e);w[a].chargedSincePlugged=r.imported_since_plugged}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/soc$/i)){const r=JSON.parse(e);w[a].soc=r.soc,w[a].waitingForSoc=!1,w[a].rangeCharged=r.range_charged,w[a].rangeUnit=r.range_unit}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/info$/i)){const r=JSON.parse(e);w[a].vehicleName=String(r.name),w[a].updateConnectedVehicle(+r.id)}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/config$/i)){const r=JSON.parse(e);switch(r.chargemode){case"instant_charging":w[a].updateChargeMode(pe.instant_charging);break;case"pv_charging":w[a].updateChargeMode(pe.pv_charging);break;case"scheduled_charging":w[a].updateChargeMode(pe.scheduled_charging);break;case"standby":w[a].updateChargeMode(pe.standby);break;case"stop":w[a].updateChargeMode(pe.stop);break}w[a].chargeTemplate=r.charge_template,w[a].averageConsumption=r.average_consumption}}}function Vs(t,e){const a=ea(t);if(a!=null){if(!(a in N)){const r=new xa(a);N[a]=r}if(t.match(/^openwb\/vehicle\/[0-9]+\/name$/i))Object.values(w).forEach(r=>{r.connectedVehicle==a&&(r.vehicleName=JSON.parse(e))}),N[a].name=JSON.parse(e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/get\/soc$/i))N[a].soc=JSON.parse(e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/get\/range$/i))isNaN(+e)?N[a].range=0:N[a].range=+e;else if(t.match(/^openwb\/vehicle\/[0-9]+\/charge_template$/i))N[a].updateChargeTemplateId(+e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/ev_template$/i))N[a].updateEvTemplateId(+e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/soc_module\/config$/i)){const r=JSON.parse(e);Object.values(w).forEach(o=>{o.connectedVehicle==a&&(o.isSocConfigured=r.type!==null,o.isSocManual=r.type=="manual")})}}}function Ls(t,e){if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+$/i)){const a=t.match(/[0-9]+$/i);if(a){const r=+a[0],o=JSON.parse(e);se[r]=o,Ds(r,o)}}else if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+\/time_charging\/plans\/[0-9]+$/i)){const a=t.match(/(?:\/)([0-9]+)(?:\/)/g),r=t.match(/[0-9]+$/i);if(a&&r){const o=+a[0].replace(/[^0-9]+/g,""),s=+r[0],d=JSON.parse(e);o in Ge||(Ge[o]=[]),Ge[o][s]=d}}else if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+\/chargemode\/scheduled_charging\/plans\/[0-9]+$/i)){const a=t.match(/(?:\/)([0-9]+)(?:\/)/g),r=t.match(/[0-9]+$/i);if(a&&r){const o=+a[0].replace(/[^0-9]+/g,""),s=+r[0],d=JSON.parse(e);o in Ee||(Ee[o]=[]),Ee[o][s]=d}}else if(t.match(/^openwb\/vehicle\/template\/ev_template\/[0-9]+$/i)){const a=t.match(/[0-9]+$/i);if(a){const r=+a[0],o=JSON.parse(e);Ma[r]=o}}}function Ds(t,e){Object.values(w).forEach(a=>{a.chargeTemplate==t&&(a.updateCpPriority(e.prio),a.updateInstantChargeLimitMode(e.chargemode.instant_charging.limit.selected),a.updateInstantTargetCurrent(e.chargemode.instant_charging.current),a.updateInstantTargetSoc(e.chargemode.instant_charging.limit.soc),a.updateInstantMaxEnergy(e.chargemode.instant_charging.limit.amount),a.updatePvFeedInLimit(e.chargemode.pv_charging.feed_in_limit),a.updatePvMinCurrent(e.chargemode.pv_charging.min_current),a.updatePvMaxSoc(e.chargemode.pv_charging.max_soc),a.updatePvMinSoc(e.chargemode.pv_charging.min_soc),a.updatePvMinSocCurrent(e.chargemode.pv_charging.min_soc_current))})}function ea(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}function Es(t,e){t.match(/^openWB\/LegacySmarthome\/config\//i)?Gs(t,e):t.match(/^openWB\/LegacySmarthome\/Devices\//i)&&Ws(t,e)}function Gs(t,e){const a=ta(t);a!=null&&(a in E||Jt(a),t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_configured$/i)?E[a].configured=e!="0":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_name$/i)?(E[a].name=e.toString(),E[a].icon=e.toString(),oe["sh"+a].name=e.toString(),oe["sh"+a].icon=e.toString()):t.match(/^openWB\/LegacySmarthome\/config\/set\/Devices\/[0-9]+\/mode$/i)?E[a].isAutomatic=e=="0":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_canSwitch$/i)?E[a].canSwitch=e=="1":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_homeConsumtion$/i)?E[a].countAsHouse=e=="1":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_temperatur_configured$/i)&&(E[a].tempConfigured=+e))}function Ws(t,e){const a=ta(t);if(a==null){console.warn("Smarthome: Missing index in "+t);return}if(a in E||Jt(a),t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/Watt$/i))E[a].power=+e,js("power");else if(!t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/Wh$/i)){if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/RunningTimeToday$/i))E[a].runningTime=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor0$/i))E[a].temp[0]=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor1$/i))E[a].temp[1]=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor2$/i))E[a].temp[2]=+e;else if(t.match(/^openWB\/LegacySmartHome\/Devices\/[0-9]+\/Status$/i))switch(+e){case 10:E[a].status="off";break;case 11:E[a].status="on";break;case 20:E[a].status="detection";break;case 30:E[a].status="timeout";break;default:E[a].status="off"}}}function js(t){switch(t){case"power":O.devices.power=Object.values(E).filter(e=>e.configured&&!e.countAsHouse).reduce((e,a)=>e+a.power,0);break;case"energy":O.devices.energy=Object.values(E).filter(e=>e.configured&&!e.countAsHouse).reduce((e,a)=>e+a.energy,0);break;default:console.error("Unknown category")}}function ta(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}class Ns{constructor(e){c(this,"id");c(this,"name","Zähler");c(this,"power",0);c(this,"energy_imported",0);c(this,"energy_exported",0);c(this,"grid",!1);c(this,"type","counter");c(this,"color","var(--color-evu)");c(this,"energyPv",0);c(this,"energyBat",0);c(this,"pvPercentage",0);c(this,"icon","");this.id=e}}const ue=J({});function zs(t,e){if(t in ue)console.info("Duplicate counter message: "+t);else switch(ue[t]=new Ns(t),ue[t].type=e,e){case"counter":ue[t].color="var(--color-evu)";break;case"inverter":ue[t].color="var(--color-pv)";break;case"cp":ue[t].color="var(--color-charging)";break;case"bat":ue[t].color="var(--color-bat)";break}}const Us=["openWB/counter/#","openWB/bat/#","openWB/pv/get/#","openWB/chargepoint/#","openWB/vehicle/#","openWB/general/chargemode_config/pv_charging/#","openWB/optional/et/#","openWB/system/#","openWB/LegacySmartHome/#","openWB/command/"+ft()+"/#","openWB/optional/int_display/#"];function Fs(){Sa(Js),Us.forEach(t=>{Be(t)}),te()}function Js(t,e){const a=e.toString();t.match(/^openwb\/counter\/[0-9]+\//i)?Rs(t,a):t.match(/^openwb\/counter\//i)?Hs(t,a):t.match(/^openwb\/bat\//i)?Os(t,a):t.match(/^openwb\/pv\//i)?Ys(t,a):t.match(/^openwb\/chargepoint\//i)?As(t,a):t.match(/^openwb\/vehicle\/template\//i)?Ls(t,a):t.match(/^openwb\/vehicle\//i)?Vs(t,a):t.match(/^openwb\/general\/chargemode_config\/pv_charging\//i)?qs(t,a):t.match(/^openwb\/graph\//i)?gs(t,a):t.match(/^openwb\/log\/daily\//i)?bs(t,a):t.match(/^openwb\/log\/monthly\//i)?ks(t,a):t.match(/^openwb\/log\/yearly\//i)?xs(t,a):t.match(/^openwb\/optional\/et\//i)?Ts(t,a):t.match(/^openwb\/system\//i)?Zs(t,a):t.match(/^openwb\/LegacySmartHome\//i)?Es(t,a):t.match(/^openwb\/command\//i)?Xs(t,a):t.match(/^openwb\/optional\//i)&&Ks(t,a)}function Rs(t,e){const a=t.split("/"),r=+a[2];if(r==U.evuId?Qs(t,e):a[3]=="config",a[3]=="get"&&r in ue)switch(a[4]){case"power":ue[r].power=+e;break;case"config":break;case"fault_str":break;case"fault_state":break;case"power_factors":break;case"imported":break;case"exported":break;case"frequency":break;case"daily_imported":ue[r].energy_imported=+e;break;case"daily_exported":ue[r].energy_exported=+e;break}}function Hs(t,e){if(t.match(/^openwb\/counter\/get\/hierarchy$/i)){const a=JSON.parse(e);if(a.length){Ca(),$s();for(const r of a)r.type=="counter"&&(U.evuId=r.id);aa(a[0])}}else t.match(/^openwb\/counter\/set\/home_consumption$/i)?(O.house.power=+e,Ta()):t.match(/^openwb\/counter\/set\/daily_yield_home_consumption$/i)&&(O.house.energy=+e)}function aa(t){switch(t.type){case"counter":zs(t.id,t.type);break;case"cp":Pa(t.id);break;case"bat":Is(t.id);break}t.children.forEach(e=>aa(e))}function Ys(t,e){switch(t){case"openWB/pv/get/power":W.pv.power=-e;break;case"openWB/pv/get/daily_exported":W.pv.energy=+e;break}}function qs(t,e){const a=t.split("/");if(a.length>0)switch(a[4]){case"bat_mode":U.updatePvBatteryPriority(JSON.parse(e));break}}function Qs(t,e){switch(t.split("/")[4]){case"power":+e>0?(W.evuIn.power=+e,O.evuOut.power=0):(W.evuIn.power=0,O.evuOut.power=-e);break;case"daily_imported":W.evuIn.energy=+e;break;case"daily_exported":O.evuOut.energy=+e;break}}function Zs(t,e){if(t.match(/^openWB\/system\/device\/[0-9]+\/component\/[0-9]+\/config$/i)){const a=JSON.parse(e);a.type=="counter"&&(ue[a.id].name=a.name)}else t.match(/^openWB\/system\/ip_address$/i)?U.ipAddress=JSON.parse(e):t.match(/^openWB\/system\/time$/i)?U.systemTime=JSON.parse(e):t.match(/^openWB\/system\/version$/i)?U.version=JSON.parse(e):t.match(/^openWB\/system\/current_commit$/i)?U.versionDetails=JSON.parse(e):t.match(/^openWB\/system\/current_branch$/i)&&(U.devBranch=JSON.parse(e))}function Xs(t,e){const a=t.split("/");if(t.match(/^openWB\/command\/[a-z]+\/error$/i)&&a[2]==ft()){const r=JSON.parse(e);console.error(`Error message from openWB: +Command: ${r.command} +Data: JSON.stringify(err.data) +Error: + ${r.error}`)}}function Ks(t,e){if(t.match(/^openwb\/optional\/int_display\/active$/i))re.active=JSON.parse(e);else if(t.match(/^openwb\/optional\/int_display\/only_local_charge_points$/i))re.localCpOnly=JSON.parse(e);else if(t.match(/^openwb\/optional\/int_display\/theme$/i)){const a=JSON.parse(e);re.usePin=a.configuration.lock_changes,re.code=a.configuration.lock_changes_code}}const ei={class:"d-flex flex-column align-items-center justify-content-start infoitem"},ti=T({__name:"InfoItem",props:{heading:{},small:{type:Boolean}},setup(t){const e=t,a=g(()=>e.small?{"font-size":"var(--font-small)"}:{"font-size":"var(--font-small)"}),r=g(()=>e.small?{"font-size":"var(--font-small)"}:{"font-size":"var(--font-normal)"}),o=g(()=>e.small?"mt-0":"mt-1");return(s,d)=>(p(),_("span",ei,[u("span",{class:ae(["d-flex heading scaled",o.value]),style:ne(a.value)},C(e.heading),7),u("span",{class:"d-flex my-0 me-0 align-items-center content scaled",style:ne(r.value)},[he(s.$slots,"default",{},void 0)],4)]))}}),le=z(ti,[["__scopeId","data-v-9215fd9b"]]),ai=T({__name:"FormatWattH",props:{wattH:{}},setup(t){const e=t,a=g(()=>Wt(e.wattH,y.decimalPlaces));return(r,o)=>(p(),_("span",null,C(a.value),1))}}),ri=T({__name:"BatterySymbol",props:{soc:{}},setup(t){const e=t,a=g(()=>e.soc<=12?"fa-battery-empty":e.soc<38?"fa-battery-quarter":e.soc<63?"fa-battery-half":e.soc<89?"fa-battery-three-quarters":"fa-battery-full");return(r,o)=>(p(),_("span",null,[u("i",{class:ae(["fa batIcon",a.value])},null,2),j(" "+C(Math.round(r.soc)+"%"),1)]))}}),ni=z(ri,[["__scopeId","data-v-fc156cd3"]]),oi={class:"subgrid justify-content-left"},si={class:"titleline grid-col-12 d-flex justify-content-left mb-3"},ii={class:"carname d-flex justify-content-left align-items-center px-2"},li={key:0,class:"ms-2 me-0 fa-solid fa-xs fa-star ps-1"},ci={key:1,class:"ms-2 me-0 fa-solid fa-xs fa-coins ps-0"},ui={key:0,class:"me-1 fa-solid fa-xs fa-clock ps-1"},di={class:"maxprice"},hi={key:1},pi=T({__name:"CPVehicle",props:{chargepoint:{}},setup(t){const e=t,a=ge(e.chargepoint),r=g(()=>e.chargepoint.soc),o=g({get(){return e.chargepoint.chargeMode},set(n){re.locked?et():w[e.chargepoint.id].chargeMode=n}}),s=g(()=>{const[n]=ee.etPriceList.values();return(Math.round(n*10)/10).toFixed(1)});function d(n=""){re.locked&&et(),new vt("#settingspage").toggle();let v=n;if(n=="")switch(e.chargepoint.chargeMode){case"instant_charging":v="#inSettings";break;case"pv_charging":v="#phvSettings";break;case"scheduled_charging":v="#scSettings";break;default:v="#chSettings"}const I=document.querySelector(v+e.chargepoint.id);if(I){var S=new Gt(I);S.show()}else console.error("no element found")}const l=g(()=>e.chargepoint.etMaxPrice>=+s.value?{color:"var(--color-charging)"}:{color:"var(--color-menu)"});return(n,m)=>(p(),_("div",oi,[u("div",si,[b(fe,{onClick:m[0]||(m[0]=v=>d("#chSettings"))},{default:x(()=>[u("div",ii,[m[4]||(m[4]=u("i",{class:"fa-solid fa-sm fa-car me-3"},null,-1)),j(" "+C(n.chargepoint.vehicleName)+" ",1),n.chargepoint.hasPriority?(p(),_("span",li)):M("",!0),n.chargepoint.etActive?(p(),_("span",ci)):M("",!0)])]),_:1})]),n.chargepoint.isSocConfigured?(p(),B(le,{key:0,heading:"Ladestand:",class:"grid-col-4 grid-left"},{default:x(()=>[b(ni,{soc:r.value,class:"me-2"},null,8,["soc"])]),_:1})):M("",!0),n.chargepoint.isSocConfigured?(p(),B(le,{key:1,heading:"Reichweite:",class:"grid-col-4"},{default:x(()=>[j(C(i(N)[e.chargepoint.connectedVehicle]?Math.round(i(N)[e.chargepoint.connectedVehicle].range):0)+" km ",1)]),_:1})):M("",!0),b(le,{heading:"Zeitplan:",class:"grid-col-4 grid-right"},{default:x(()=>[n.chargepoint.timedCharging?(p(),_("span",ui)):M("",!0),j(" "+C(e.chargepoint.timedCharging?"Ja":"Nein"),1)]),_:1}),i(ee).active?(p(),B(le,{key:2,heading:"Preisladen:",class:"grid-col-4 grid-left"},{default:x(()=>[b(de,{modelValue:a.value.etActive,"onUpdate:modelValue":m[1]||(m[1]=v=>a.value.etActive=v)},null,8,["modelValue"])]),_:1})):M("",!0),i(ee).active?(p(),B(le,{key:3,heading:"max. Preis:",class:"grid-col-4"},{default:x(()=>[a.value.etActive?(p(),B(fe,{key:0,onClick:m[2]||(m[2]=v=>d("#prSettings"))},{default:x(()=>[u("span",di,C(e.chargepoint.etActive?(Math.round(e.chargepoint.etMaxPrice*10)/10).toFixed(1)+" ct":"-"),1)]),_:1})):(p(),_("span",hi,"-"))]),_:1})):M("",!0),i(ee).active?(p(),B(le,{key:4,heading:"akt. Preis:",class:"grid-col-4 grid-right"},{default:x(()=>[u("span",{style:ne(l.value)},C(s.value)+" ct ",5)]),_:1})):M("",!0),b(Qt,{id:"chargemode-"+n.chargepoint.name,modelValue:o.value,"onUpdate:modelValue":m[3]||(m[3]=v=>o.value=v),class:"chargemodes mx-3 mt-4 mb-0",options:Object.keys(i(Ve)).map(v=>({text:i(Ve)[v].name,value:v,color:i(Ve)[v].color,icon:i(Ve)[v].icon,active:i(Ve)[v].mode==n.chargepoint.chargeMode}))},null,8,["id","modelValue","options"])]))}}),gi=z(pi,[["__scopeId","data-v-17a63962"]]),mi={class:"subgrid"},vi={class:"targetCurrent"},fi=T({__name:"CPChargePoint",props:{chargepoint:{}},setup(t){const e=t,a=g(()=>(Math.round(e.chargepoint.current*10)/10).toLocaleString(void 0)+" A"),r=g(()=>(Math.round(e.chargepoint.realCurrent*10)/10).toLocaleString(void 0)+" A"),o=g(()=>{const v=e.chargepoint.rangeCharged,I=e.chargepoint.chargedSincePlugged,S=e.chargepoint.dailyYield;return I>0?Math.round(v/I*S).toString()+" "+e.chargepoint.rangeUnit:"0 km"}),s=g(()=>e.chargepoint.isLocked?"Gesperrt":e.chargepoint.isCharging?"Lädt":e.chargepoint.isPluggedIn?"Bereit":"Frei"),d=g(()=>e.chargepoint.isLocked?"var(--color-evu)":e.chargepoint.isCharging?"var(--color-charging)":e.chargepoint.isPluggedIn?"var(--color-battery)":"var(--color-axis)"),l=g(()=>{let v="";return e.chargepoint.isLocked?v="fa-lock":e.chargepoint.isCharging?v=" fa-bolt":e.chargepoint.isPluggedIn&&(v="fa-plug"),"fa "+v}),n=g(()=>({color:e.chargepoint.color}));function m(){re.locked&&et(),new vt("#settingspage").toggle();let I="";switch(e.chargepoint.chargeMode){case"instant_charging":I="#inSettings";break;case"pv_charging":I="#phvSettings";break;case"scheduled_charging":I="#scSettings";break;default:I="#chSettings"}const S=document.querySelector(I+e.chargepoint.id);if(S){var H=new Gt(S);H.show()}else console.error("no element found")}return(v,I)=>(p(),B(ot,null,{title:x(()=>[u("span",{style:ne(n.value)},[I[0]||(I[0]=u("span",{class:"fa-solid fa-charging-station"}," ",-1)),j(" "+C(e.chargepoint.name),1)],4)]),buttons:x(()=>[b(fe,{color:"var(--color-cp0)",icon:"fa-edit",onClick:m},{default:x(()=>I[1]||(I[1]=[j(" Einstellungen")])),_:1})]),footer:x(()=>[b(gi,{chargepoint:e.chargepoint},null,8,["chargepoint"])]),default:x(()=>[u("div",mi,[b(le,{heading:"Status:",class:"grid-col-4 grid-left"},{default:x(()=>[u("span",{style:ne({color:d.value})},[u("i",{class:ae(l.value)},null,2),j(" "+C(s.value),1)],4)]),_:1}),b(le,{heading:"Geladen:",class:"grid-col-4"},{default:x(()=>[b(ai,{"watt-h":v.chargepoint.dailyYield},null,8,["watt-h"])]),_:1}),b(le,{heading:"gel. Reichw.:",class:"grid-col-4 grid-right"},{default:x(()=>[j(C(o.value),1)]),_:1}),e.chargepoint.power>0?(p(),B(le,{key:0,heading:"Leistung:",class:"grid-col-3 grid-left"},{default:x(()=>[b(Rt,{watt:e.chargepoint.power},null,8,["watt"])]),_:1})):M("",!0),e.chargepoint.power>0?(p(),B(le,{key:1,heading:"Strom:",class:"grid-col-3"},{default:x(()=>[j(C(r.value),1)]),_:1})):M("",!0),e.chargepoint.power>0?(p(),B(le,{key:2,heading:"Phasen:",class:"grid-col-3"},{default:x(()=>[j(C(e.chargepoint.phasesInUse),1)]),_:1})):M("",!0),e.chargepoint.power>0?(p(),B(le,{key:3,heading:"Sollstrom:",class:"grid-col-3 grid-right"},{default:x(()=>[u("span",vi,C(a.value),1)]),_:1})):M("",!0)])]),_:1}))}}),yi=z(fi,[["__scopeId","data-v-795d5c8f"]]),bi={class:"content"},_i={class:"leftside"},wi={class:"rightside"},Si={class:"settingstitle"},ki=T({__name:"DisplayTheme",setup(t){function e(r){Ba(r)&&(re.locked=!1,setTimeout(()=>{re.locked=!0},re.timeout*1e3))}rt(()=>{window.addEventListener("resize",Ga),window.addEventListener("focus",a),Fs()});function a(){document.hasFocus()&&te()}return(r,o)=>(p(),_(be,null,[u("div",bi,[u("div",_i,[De(u("div",null,[b(br)],512),[[st,i(y).graphToShow=="powermeter"]]),De(u("div",null,[b(rn)],512),[[st,i(y).graphToShow=="powergraph"]]),De(u("div",null,[b($n)],512),[[st,i(y).graphToShow=="energymeter"]])]),u("div",wi,[Object.values(i(w)).length>i(y).cpToShow?(p(),B(yi,{key:0,chargepoint:Object.values(i(w))[i(y).cpToShow]},null,8,["chargepoint"])):M("",!0)])]),b(ut,{"modal-id":"numberpad"},{title:x(()=>o[0]||(o[0]=[j("Code")])),default:x(()=>[b(Un,{"model-value":"","onUpdate:modelValue":e})]),_:1}),b(ut,{"modal-id":"statuspage"},{title:x(()=>o[1]||(o[1]=[u("span",{class:"statustitle"},"Systemstatus",-1)])),default:x(()=>[b(Rn)]),_:1}),Object.values(i(w)).length>i(y).cpToShow?(p(),B(ut,{key:0,"modal-id":"settingspage"},{title:x(()=>[u("span",Si,"Einstellungen für "+C(Object.values(i(w))[i(y).cpToShow].vehicleName)+" an Ladepunkt "+C(Object.values(i(w))[i(y).cpToShow].name),1)]),default:x(()=>[b(ps,{chargepoint:Object.values(i(w))[i(y).cpToShow]},null,8,["chargepoint"])]),_:1})):M("",!0)],64))}}),xi=z(ki,[["__scopeId","data-v-9f6c66b0"]]),Mi={class:"fixeddisplay"},Pi=T({__name:"App",setup(t){return(e,a)=>(p(),_("div",Mi,[b(xi),b(Ra)]))}}),Ci=z(Pi,[["__scopeId","data-v-75d14554"]]),Ii=ga(Ci);Ii.mount("#app"); diff --git a/packages/modules/display_themes/colors/web/assets/vendor-8HaAkxEg.js b/packages/modules/display_themes/colors/web/assets/vendor-8HaAkxEg.js new file mode 100644 index 0000000000..64206a3cb7 --- /dev/null +++ b/packages/modules/display_themes/colors/web/assets/vendor-8HaAkxEg.js @@ -0,0 +1,35 @@ +var NE=Object.defineProperty;var Jp=e=>{throw TypeError(e)};var PE=(e,t,r)=>t in e?NE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var nt=(e,t,r)=>PE(e,typeof t!="symbol"?t+"":t,r),Pu=(e,t,r)=>t.has(e)||Jp("Cannot "+r);var X=(e,t,r)=>(Pu(e,t,"read from private field"),r?r.call(e):t.get(e)),Ue=(e,t,r)=>t.has(e)?Jp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Le=(e,t,r,n)=>(Pu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Ne=(e,t,r)=>(Pu(e,t,"access private method"),r);var ia=(e,t,r,n)=>({set _(o){Le(e,t,o,r)},get _(){return X(e,t,n)}});const Ri=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};/** +* @vue/shared v3.5.10 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function md(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const ze={},_o=[],Nr=()=>{},LE=()=>!1,$l=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),yd=e=>e.startsWith("onUpdate:"),yt=Object.assign,_d=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},DE=Object.prototype.hasOwnProperty,je=(e,t)=>DE.call(e,t),De=Array.isArray,bo=e=>Hs(e)==="[object Map]",Ul=e=>Hs(e)==="[object Set]",Zp=e=>Hs(e)==="[object Date]",Be=e=>typeof e=="function",ft=e=>typeof e=="string",$r=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",Py=e=>(Je(e)||Be(e))&&Be(e.then)&&Be(e.catch),Ly=Object.prototype.toString,Hs=e=>Ly.call(e),BE=e=>Hs(e).slice(8,-1),Dy=e=>Hs(e)==="[object Object]",bd=e=>ft(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,As=md(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fl=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},$E=/-(\w)/g,$n=Fl(e=>e.replace($E,(t,r)=>r?r.toUpperCase():"")),UE=/\B([A-Z])/g,Bi=Fl(e=>e.replace(UE,"-$1").toLowerCase()),By=Fl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Lu=Fl(e=>e?`on${By(e)}`:""),Un=(e,t)=>!Object.is(e,t),Na=(e,...t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Qc=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let eg;const Uy=()=>eg||(eg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Ri<"u"?Ri:{});function wd(e){if(De(e)){const t={};for(let r=0;r{if(r){const n=r.split(jE);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function vd(e){let t="";if(ft(e))t=e;else if(De(e))for(let r=0;rjl(r,t))}const Wy=e=>!!(e&&e.__v_isRef===!0),YE=e=>ft(e)?e:e==null?"":De(e)||Je(e)&&(e.toString===Ly||!Be(e.toString))?Wy(e)?YE(e.value):JSON.stringify(e,Hy,2):String(e),Hy=(e,t)=>Wy(t)?Hy(e,t.value):bo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[Du(n,i)+" =>"]=o,r),{})}:Ul(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Du(r))}:$r(t)?Du(t):Je(t)&&!De(t)&&!Dy(t)?String(t):t,Du=(e,t="")=>{var r;return $r(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** +* @vue/reactivity v3.5.10 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let qt;class zE{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=qt,!t&&qt&&(this.index=(qt.scopes||(qt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t0)return;let e;for(;fo;){let t=fo,r;for(;t;)t.flags&1||(t.flags&=-9),t=t.next;for(t=fo,fo=void 0;t;){if(r=t.next,t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function Yy(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zy(e){let t,r=e.depsTail,n=r;for(;n;){const o=n.prevDep;n.version===-1?(n===r&&(r=o),Ad(n),QE(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=r}function Xc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Gy(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Gy(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ms))return;e.globalVersion=Ms;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Xc(e)){e.flags&=-3;return}const r=Qe,n=_r;Qe=e,_r=!0;try{Yy(e);const o=e.fn(e._value);(t.version===0||Un(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Qe=r,_r=n,zy(e),e.flags&=-3}}function Ad(e,t=!1){const{dep:r,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n),!r.subs&&r.computed){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)Ad(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function QE(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let _r=!0;const Qy=[];function Vn(){Qy.push(_r),_r=!1}function qn(){const e=Qy.pop();_r=e===void 0?!0:e}function tg(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=Qe;Qe=void 0;try{t()}finally{Qe=r}}}let Ms=0;class XE{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Td{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Qe||!_r||Qe===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==Qe)r=this.activeLink=new XE(Qe,this),Qe.deps?(r.prevDep=Qe.depsTail,Qe.depsTail.nextDep=r,Qe.depsTail=r):Qe.deps=Qe.depsTail=r,Xy(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=Qe.depsTail,r.nextDep=void 0,Qe.depsTail.nextDep=r,Qe.depsTail=r,Qe.deps===r&&(Qe.deps=n)}return r}trigger(t){this.version++,Ms++,this.notify(t)}notify(t){Ed();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Sd()}}}function Xy(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Xy(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Jc=new WeakMap,Ei=Symbol(""),Zc=Symbol(""),Ns=Symbol("");function Rt(e,t,r){if(_r&&Qe){let n=Jc.get(e);n||Jc.set(e,n=new Map);let o=n.get(r);o||(n.set(r,o=new Td),o.target=e,o.map=n,o.key=r),o.track()}}function ln(e,t,r,n,o,i){const s=Jc.get(e);if(!s){Ms++;return}const a=l=>{l&&l.trigger()};if(Ed(),t==="clear")s.forEach(a);else{const l=De(e),u=l&&bd(r);if(l&&r==="length"){const c=Number(n);s.forEach((d,p)=>{(p==="length"||p===Ns||!$r(p)&&p>=c)&&a(d)})}else switch(r!==void 0&&a(s.get(r)),u&&a(s.get(Ns)),t){case"add":l?u&&a(s.get("length")):(a(s.get(Ei)),bo(e)&&a(s.get(Zc)));break;case"delete":l||(a(s.get(Ei)),bo(e)&&a(s.get(Zc)));break;case"set":bo(e)&&a(s.get(Ei));break}}Sd()}function Ji(e){const t=He(e);return t===e?t:(Rt(t,"iterate",Ns),or(e)?t:t.map(Tt))}function Wl(e){return Rt(e=He(e),"iterate",Ns),e}const JE={__proto__:null,[Symbol.iterator](){return $u(this,Symbol.iterator,Tt)},concat(...e){return Ji(this).concat(...e.map(t=>De(t)?Ji(t):t))},entries(){return $u(this,"entries",e=>(e[1]=Tt(e[1]),e))},every(e,t){return qr(this,"every",e,t,void 0,arguments)},filter(e,t){return qr(this,"filter",e,t,r=>r.map(Tt),arguments)},find(e,t){return qr(this,"find",e,t,Tt,arguments)},findIndex(e,t){return qr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return qr(this,"findLast",e,t,Tt,arguments)},findLastIndex(e,t){return qr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return qr(this,"forEach",e,t,void 0,arguments)},includes(...e){return Uu(this,"includes",e)},indexOf(...e){return Uu(this,"indexOf",e)},join(e){return Ji(this).join(e)},lastIndexOf(...e){return Uu(this,"lastIndexOf",e)},map(e,t){return qr(this,"map",e,t,void 0,arguments)},pop(){return ts(this,"pop")},push(...e){return ts(this,"push",e)},reduce(e,...t){return rg(this,"reduce",e,t)},reduceRight(e,...t){return rg(this,"reduceRight",e,t)},shift(){return ts(this,"shift")},some(e,t){return qr(this,"some",e,t,void 0,arguments)},splice(...e){return ts(this,"splice",e)},toReversed(){return Ji(this).toReversed()},toSorted(e){return Ji(this).toSorted(e)},toSpliced(...e){return Ji(this).toSpliced(...e)},unshift(...e){return ts(this,"unshift",e)},values(){return $u(this,"values",Tt)}};function $u(e,t,r){const n=Wl(e),o=n[t]();return n!==e&&!or(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=r(i.value)),i}),o}const ZE=Array.prototype;function qr(e,t,r,n,o,i){const s=Wl(e),a=s!==e&&!or(e),l=s[t];if(l!==ZE[t]){const d=l.apply(e,i);return a?Tt(d):d}let u=r;s!==e&&(a?u=function(d,p){return r.call(this,Tt(d),p,e)}:r.length>2&&(u=function(d,p){return r.call(this,d,p,e)}));const c=l.call(s,u,n);return a&&o?o(c):c}function rg(e,t,r,n){const o=Wl(e);let i=r;return o!==e&&(or(e)?r.length>3&&(i=function(s,a,l){return r.call(this,s,a,l,e)}):i=function(s,a,l){return r.call(this,s,Tt(a),l,e)}),o[t](i,...n)}function Uu(e,t,r){const n=He(e);Rt(n,"iterate",Ns);const o=n[t](...r);return(o===-1||o===!1)&&Od(r[0])?(r[0]=He(r[0]),n[t](...r)):o}function ts(e,t,r=[]){Vn(),Ed();const n=He(e)[t].apply(e,r);return Sd(),qn(),n}const eS=md("__proto__,__v_isRef,__isVue"),Jy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($r));function tS(e){$r(e)||(e=String(e));const t=He(this);return Rt(t,"has",e),t.hasOwnProperty(e)}class Zy{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){const o=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(o?i?pS:n_:i?r_:t_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=De(t);if(!o){let l;if(s&&(l=JE[r]))return l;if(r==="hasOwnProperty")return tS}const a=Reflect.get(t,r,It(t)?t:n);return($r(r)?Jy.has(r):eS(r))||(o||Rt(t,"get",r),i)?a:It(a)?s&&bd(r)?a:a.value:Je(a)?o?i_(a):Cd(a):a}}class e_ extends Zy{constructor(t=!1){super(!1,t)}set(t,r,n,o){let i=t[r];if(!this._isShallow){const l=Oi(i);if(!or(n)&&!Oi(n)&&(i=He(i),n=He(n)),!De(t)&&It(i)&&!It(n))return l?!1:(i.value=n,!0)}const s=De(t)&&bd(r)?Number(r)e,Hl=e=>Reflect.getPrototypeOf(e);function oa(e,t,r=!1,n=!1){e=e.__v_raw;const o=He(e),i=He(t);r||(Un(t,i)&&Rt(o,"get",t),Rt(o,"get",i));const{has:s}=Hl(o),a=n?xd:r?kd:Tt;if(s.call(o,t))return a(e.get(t));if(s.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function sa(e,t=!1){const r=this.__v_raw,n=He(r),o=He(e);return t||(Un(e,o)&&Rt(n,"has",e),Rt(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function aa(e,t=!1){return e=e.__v_raw,!t&&Rt(He(e),"iterate",Ei),Reflect.get(e,"size",e)}function ng(e,t=!1){!t&&!or(e)&&!Oi(e)&&(e=He(e));const r=He(this);return Hl(r).has.call(r,e)||(r.add(e),ln(r,"add",e,e)),this}function ig(e,t,r=!1){!r&&!or(t)&&!Oi(t)&&(t=He(t));const n=He(this),{has:o,get:i}=Hl(n);let s=o.call(n,e);s||(e=He(e),s=o.call(n,e));const a=i.call(n,e);return n.set(e,t),s?Un(t,a)&&ln(n,"set",e,t):ln(n,"add",e,t),this}function og(e){const t=He(this),{has:r,get:n}=Hl(t);let o=r.call(t,e);o||(e=He(e),o=r.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return o&&ln(t,"delete",e,void 0),i}function sg(){const e=He(this),t=e.size!==0,r=e.clear();return t&&ln(e,"clear",void 0,void 0),r}function la(e,t){return function(n,o){const i=this,s=i.__v_raw,a=He(s),l=t?xd:e?kd:Tt;return!e&&Rt(a,"iterate",Ei),s.forEach((u,c)=>n.call(o,l(u),l(c),i))}}function ua(e,t,r){return function(...n){const o=this.__v_raw,i=He(o),s=bo(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...n),c=r?xd:t?kd:Tt;return!t&&Rt(i,"iterate",l?Zc:Ei),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function In(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sS(){const e={get(i){return oa(this,i)},get size(){return aa(this)},has:sa,add:ng,set:ig,delete:og,clear:sg,forEach:la(!1,!1)},t={get(i){return oa(this,i,!1,!0)},get size(){return aa(this)},has:sa,add(i){return ng.call(this,i,!0)},set(i,s){return ig.call(this,i,s,!0)},delete:og,clear:sg,forEach:la(!1,!0)},r={get(i){return oa(this,i,!0)},get size(){return aa(this,!0)},has(i){return sa.call(this,i,!0)},add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear"),forEach:la(!0,!1)},n={get(i){return oa(this,i,!0,!0)},get size(){return aa(this,!0)},has(i){return sa.call(this,i,!0)},add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear"),forEach:la(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ua(i,!1,!1),r[i]=ua(i,!0,!1),t[i]=ua(i,!1,!0),n[i]=ua(i,!0,!0)}),[e,r,t,n]}const[aS,lS,uS,cS]=sS();function Id(e,t){const r=t?e?cS:uS:e?lS:aS;return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(je(r,o)&&o in n?r:n,o,i)}const fS={get:Id(!1,!1)},hS={get:Id(!1,!0)},dS={get:Id(!0,!1)};const t_=new WeakMap,r_=new WeakMap,n_=new WeakMap,pS=new WeakMap;function gS(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mS(e){return e.__v_skip||!Object.isExtensible(e)?0:gS(BE(e))}function Cd(e){return Oi(e)?e:Rd(e,!1,nS,fS,t_)}function yS(e){return Rd(e,!1,oS,hS,r_)}function i_(e){return Rd(e,!0,iS,dS,n_)}function Rd(e,t,r,n,o){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=mS(e);if(s===0)return e;const a=new Proxy(e,s===2?n:r);return o.set(e,a),a}function wo(e){return Oi(e)?wo(e.__v_raw):!!(e&&e.__v_isReactive)}function Oi(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function Od(e){return e?!!e.__v_raw:!1}function He(e){const t=e&&e.__v_raw;return t?He(t):e}function _S(e){return!je(e,"__v_skip")&&Object.isExtensible(e)&&$y(e,"__v_skip",!0),e}const Tt=e=>Je(e)?Cd(e):e,kd=e=>Je(e)?i_(e):e;function It(e){return e?e.__v_isRef===!0:!1}function o3(e){return bS(e,!1)}function bS(e,t){return It(e)?e:new wS(e,t)}class wS{constructor(t,r){this.dep=new Td,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:He(t),this._value=r?t:Tt(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||or(t)||Oi(t);t=n?t:He(t),Un(t,r)&&(this._rawValue=t,this._value=n?t:Tt(t),this.dep.trigger())}}function vS(e){return It(e)?e.value:e}const ES={get:(e,t,r)=>t==="__v_raw"?e:vS(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return It(o)&&!It(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function o_(e){return wo(e)?e:new Proxy(e,ES)}class SS{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Td(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ms-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Qe!==this)return Ky(this),!0}get value(){const t=this.dep.track();return Gy(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function AS(e,t,r=!1){let n,o;return Be(e)?n=e:(n=e.get,o=e.set),new SS(n,o,r)}const ca={},sl=new WeakMap;let ui;function TS(e,t=!1,r=ui){if(r){let n=sl.get(r);n||sl.set(r,n=[]),n.push(e)}}function xS(e,t,r=ze){const{immediate:n,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=r,u=M=>o?M:or(M)||o===!1||o===0?en(M,1):en(M);let c,d,p,m,_=!1,b=!1;if(It(e)?(d=()=>e.value,_=or(e)):wo(e)?(d=()=>u(e),_=!0):De(e)?(b=!0,_=e.some(M=>wo(M)||or(M)),d=()=>e.map(M=>{if(It(M))return M.value;if(wo(M))return u(M);if(Be(M))return l?l(M,2):M()})):Be(e)?t?d=l?()=>l(e,2):e:d=()=>{if(p){Vn();try{p()}finally{qn()}}const M=ui;ui=c;try{return l?l(e,3,[m]):e(m)}finally{ui=M}}:d=Nr,t&&o){const M=d,$=o===!0?1/0:o;d=()=>en(M(),$)}const T=GE(),k=()=>{c.stop(),T&&_d(T.effects,c)};if(i&&t){const M=t;t=(...$)=>{M(...$),k()}}let C=b?new Array(e.length).fill(ca):ca;const A=M=>{if(!(!(c.flags&1)||!c.dirty&&!M))if(t){const $=c.run();if(o||_||(b?$.some((R,D)=>Un(R,C[D])):Un($,C))){p&&p();const R=ui;ui=c;try{const D=[$,C===ca?void 0:b&&C[0]===ca?[]:C,m];l?l(t,3,D):t(...D),C=$}finally{ui=R}}}else c.run()};return a&&a(A),c=new Vy(d),c.scheduler=s?()=>s(A,!1):A,m=M=>TS(M,!1,c),p=c.onStop=()=>{const M=sl.get(c);if(M){if(l)l(M,4);else for(const $ of M)$();sl.delete(c)}},t?n?A(!0):C=c.run():s?s(A.bind(null,!0),!0):c.run(),k.pause=c.pause.bind(c),k.resume=c.resume.bind(c),k.stop=k,k}function en(e,t=1/0,r){if(t<=0||!Je(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,It(e))en(e.value,t,r);else if(De(e))for(let n=0;n{en(n,t,r)});else if(Dy(e)){for(const n in e)en(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&en(e[n],t,r)}return e}/** +* @vue/runtime-core v3.5.10 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Vs(e,t,r,n){try{return n?e(...n):e()}catch(o){Vl(o,t,r)}}function Ur(e,t,r,n){if(Be(e)){const o=Vs(e,t,r,n);return o&&Py(o)&&o.catch(i=>{Vl(i,t,r)}),o}if(De(e)){const o=[];for(let i=0;i>>1,o=Mt[n],i=Ls(o);i=Ls(r)?Mt.push(e):Mt.splice(RS(t),0,e),e.flags|=1,a_()}}function a_(){!Ps&&!ef&&(ef=!0,Md=s_.then(u_))}function OS(e){De(e)?vo.push(...e):Ln&&e.id===-1?Ln.splice(io+1,0,e):e.flags&1||(vo.push(e),e.flags|=1),a_()}function ag(e,t,r=Ps?xr+1:0){for(;rLs(r)-Ls(n));if(vo.length=0,Ln){Ln.push(...t);return}for(Ln=t,io=0;ioe.id==null?e.flags&2?-1:1/0:e.id;function u_(e){ef=!1,Ps=!0;try{for(xr=0;xr{n._d&&gg(-1);const i=al(t);let s;try{s=e(...o)}finally{al(i),n._d&&gg(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function s3(e,t){if(xt===null)return e;const r=Gl(xt),n=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport;function Pd(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Pd(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function a3(e,t){return Be(e)?yt({name:e.name},t,{setup:e}):e}function f_(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function tf(e,t,r,n,o=!1){if(De(e)){e.forEach((_,b)=>tf(_,t&&(De(t)?t[b]:t),r,n,o));return}if(Eo(n)&&!o)return;const i=n.shapeFlag&4?Gl(n.component):n.el,s=o?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ze?a.refs={}:a.refs,d=a.setupState,p=He(d),m=d===ze?()=>!1:_=>je(p,_);if(u!=null&&u!==l&&(ft(u)?(c[u]=null,m(u)&&(d[u]=null)):It(u)&&(u.value=null)),Be(l))Vs(l,a,12,[s,c]);else{const _=ft(l),b=It(l);if(_||b){const T=()=>{if(e.f){const k=_?m(l)?d[l]:c[l]:l.value;o?De(k)&&_d(k,i):De(k)?k.includes(i)||k.push(i):_?(c[l]=[i],m(l)&&(d[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else _?(c[l]=s,m(l)&&(d[l]=s)):b&&(l.value=s,e.k&&(c[e.k]=s))};s?(T.id=-1,Vt(T,r)):T()}}}const Eo=e=>!!e.type.__asyncLoader,h_=e=>e.type.__isKeepAlive;function PS(e,t){d_(e,"a",t)}function LS(e,t){d_(e,"da",t)}function d_(e,t,r=Nt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ql(t,n,r),r){let o=r.parent;for(;o&&o.parent;)h_(o.parent.vnode)&&DS(n,t,r,o),o=o.parent}}function DS(e,t,r,n){const o=ql(t,e,n,!0);p_(()=>{_d(n[t],o)},r)}function ql(e,t,r=Nt,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Vn();const a=qs(r),l=Ur(t,r,e,s);return a(),qn(),l});return n?o.unshift(i):o.push(i),i}}const wn=e=>(t,r=Nt)=>{(!zl||e==="sp")&&ql(e,(...n)=>t(...n),r)},BS=wn("bm"),$S=wn("m"),US=wn("bu"),FS=wn("u"),jS=wn("bum"),p_=wn("um"),WS=wn("sp"),HS=wn("rtg"),VS=wn("rtc");function qS(e,t=Nt){ql("ec",e,t)}const KS=Symbol.for("v-ndc");function l3(e,t,r,n){let o;const i=r,s=De(e);if(s||ft(e)){const a=s&&wo(e);let l=!1;a&&(l=!or(e),e=Wl(e)),o=new Array(e.length);for(let u=0,c=e.length;ut(a,l,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l$d(t)?!(t.type===Fn||t.type===nr&&!g_(t.children)):!0)?e:null}const rf=e=>e?L_(e)?Gl(e):rf(e.parent):null,Ts=yt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>rf(e.parent),$root:e=>rf(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ld(e),$forceUpdate:e=>e.f||(e.f=()=>{Nd(e.update)}),$nextTick:e=>e.n||(e.n=CS.bind(e.proxy)),$watch:e=>pA.bind(e)}),Fu=(e,t)=>e!==ze&&!e.__isScriptSetup&&je(e,t),YS={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const m=s[t];if(m!==void 0)switch(m){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(Fu(n,t))return s[t]=1,n[t];if(o!==ze&&je(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&je(u,t))return s[t]=3,i[t];if(r!==ze&&je(r,t))return s[t]=4,r[t];nf&&(s[t]=0)}}const c=Ts[t];let d,p;if(c)return t==="$attrs"&&Rt(e.attrs,"get",""),c(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(r!==ze&&je(r,t))return s[t]=4,r[t];if(p=l.config.globalProperties,je(p,t))return p[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return Fu(o,t)?(o[t]=r,!0):n!==ze&&je(n,t)?(n[t]=r,!0):je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:i}},s){let a;return!!r[s]||e!==ze&&je(e,s)||Fu(t,s)||(a=i[0])&&je(a,s)||je(n,s)||je(Ts,s)||je(o.config.globalProperties,s)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:je(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function lg(e){return De(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let nf=!0;function zS(e){const t=Ld(e),r=e.proxy,n=e.ctx;nf=!1,t.beforeCreate&&ug(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:m,updated:_,activated:b,deactivated:T,beforeDestroy:k,beforeUnmount:C,destroyed:A,unmounted:M,render:$,renderTracked:R,renderTriggered:D,errorCaptured:j,serverPrefetch:z,expose:se,inheritAttrs:re,components:L,directives:B,filters:oe}=t;if(u&&GS(u,n,null),s)for(const ae in s){const G=s[ae];Be(G)&&(n[ae]=G.bind(r))}if(o){const ae=o.call(r,r);Je(ae)&&(e.data=Cd(ae))}if(nf=!0,i)for(const ae in i){const G=i[ae],pe=Be(G)?G.bind(r,r):Be(G.get)?G.get.bind(r,r):Nr,de=!Be(G)&&Be(G.set)?G.set.bind(r):Nr,ge=LA({get:pe,set:de});Object.defineProperty(n,ae,{enumerable:!0,configurable:!0,get:()=>ge.value,set:O=>ge.value=O})}if(a)for(const ae in a)m_(a[ae],n,r,ae);if(l){const ae=Be(l)?l.call(r):l;Reflect.ownKeys(ae).forEach(G=>{tA(G,ae[G])})}c&&ug(c,e,"c");function ue(ae,G){De(G)?G.forEach(pe=>ae(pe.bind(r))):G&&ae(G.bind(r))}if(ue(BS,d),ue($S,p),ue(US,m),ue(FS,_),ue(PS,b),ue(LS,T),ue(qS,j),ue(VS,R),ue(HS,D),ue(jS,C),ue(p_,M),ue(WS,z),De(se))if(se.length){const ae=e.exposed||(e.exposed={});se.forEach(G=>{Object.defineProperty(ae,G,{get:()=>r[G],set:pe=>r[G]=pe})})}else e.exposed||(e.exposed={});$&&e.render===Nr&&(e.render=$),re!=null&&(e.inheritAttrs=re),L&&(e.components=L),B&&(e.directives=B),z&&f_(e)}function GS(e,t,r=Nr){De(e)&&(e=of(e));for(const n in e){const o=e[n];let i;Je(o)?"default"in o?i=Pa(o.from||n,o.default,!0):i=Pa(o.from||n):i=Pa(o),It(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[n]=i}}function ug(e,t,r){Ur(De(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function m_(e,t,r,n){let o=n.includes(".")?R_(r,n):()=>r[n];if(ft(e)){const i=t[e];Be(i)&&Wu(o,i)}else if(Be(e))Wu(o,e.bind(r));else if(Je(e))if(De(e))e.forEach(i=>m_(i,t,r,n));else{const i=Be(e.handler)?e.handler.bind(r):t[e.handler];Be(i)&&Wu(o,i,e)}}function Ld(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(u=>ll(l,u,s,!0)),ll(l,t,s)),Je(t)&&i.set(t,l),l}function ll(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&ll(e,i,r,!0),o&&o.forEach(s=>ll(e,s,r,!0));for(const s in t)if(!(n&&s==="expose")){const a=QS[s]||r&&r[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const QS={data:cg,props:fg,emits:fg,methods:gs,computed:gs,beforeCreate:kt,created:kt,beforeMount:kt,mounted:kt,beforeUpdate:kt,updated:kt,beforeDestroy:kt,beforeUnmount:kt,destroyed:kt,unmounted:kt,activated:kt,deactivated:kt,errorCaptured:kt,serverPrefetch:kt,components:gs,directives:gs,watch:JS,provide:cg,inject:XS};function cg(e,t){return t?e?function(){return yt(Be(e)?e.call(this,this):e,Be(t)?t.call(this,this):t)}:t:e}function XS(e,t){return gs(of(e),of(t))}function of(e){if(De(e)){const t={};for(let r=0;r1)return r&&Be(t)?t.call(n&&n.proxy):t}}const __={},b_=()=>Object.create(__),w_=e=>Object.getPrototypeOf(e)===__;function rA(e,t,r,n=!1){const o={},i=b_();e.propsDefaults=Object.create(null),v_(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);r?e.props=n?o:yS(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function nA(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=He(o),[l]=e.propsOptions;let u=!1;if((n||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[p,m]=E_(d,t,!0);yt(s,p),m&&a.push(...m)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return Je(e)&&n.set(e,_o),_o;if(De(i))for(let c=0;ce[0]==="_"||e==="$stable",Dd=e=>De(e)?e.map(Rr):[Rr(e)],oA=(e,t,r)=>{if(t._n)return t;const n=kS((...o)=>Dd(t(...o)),r);return n._c=!1,n},A_=(e,t,r)=>{const n=e._ctx;for(const o in e){if(S_(o))continue;const i=e[o];if(Be(i))t[o]=oA(o,i,n);else if(i!=null){const s=Dd(i);t[o]=()=>s}}},T_=(e,t)=>{const r=Dd(t);e.slots.default=()=>r},x_=(e,t,r)=>{for(const n in t)(r||n!=="_")&&(e[n]=t[n])},sA=(e,t,r)=>{const n=e.slots=b_();if(e.vnode.shapeFlag&32){const o=t._;o?(x_(n,t,r),r&&$y(n,"_",o,!0)):A_(t,n)}else t&&T_(e,t)},aA=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,s=ze;if(n.shapeFlag&32){const a=t._;a?r&&a===1?i=!1:x_(o,t,r):(i=!t.$stable,A_(t,o)),s=t}else t&&(T_(e,t),s={default:1});if(i)for(const a in o)!S_(a)&&s[a]==null&&delete o[a]},Vt=vA;function lA(e){return uA(e)}function uA(e,t){const r=Uy();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:m=Nr,insertStaticContent:_}=e,b=(v,S,E,N=null,P=null,J=null,te=void 0,U=null,q=!!S.dynamicChildren)=>{if(v===S)return;v&&!rs(v,S)&&(N=V(v),O(v,P,J,!0),v=null),S.patchFlag===-2&&(q=!1,S.dynamicChildren=null);const{type:x,ref:K,shapeFlag:Y}=S;switch(x){case Yl:T(v,S,E,N);break;case Fn:k(v,S,E,N);break;case La:v==null&&C(S,E,N,te);break;case nr:L(v,S,E,N,P,J,te,U,q);break;default:Y&1?$(v,S,E,N,P,J,te,U,q):Y&6?B(v,S,E,N,P,J,te,U,q):(Y&64||Y&128)&&x.process(v,S,E,N,P,J,te,U,q,he)}K!=null&&P&&tf(K,v&&v.ref,J,S||v,!S)},T=(v,S,E,N)=>{if(v==null)n(S.el=a(S.children),E,N);else{const P=S.el=v.el;S.children!==v.children&&u(P,S.children)}},k=(v,S,E,N)=>{v==null?n(S.el=l(S.children||""),E,N):S.el=v.el},C=(v,S,E,N)=>{[v.el,v.anchor]=_(v.children,S,E,N,v.el,v.anchor)},A=({el:v,anchor:S},E,N)=>{let P;for(;v&&v!==S;)P=p(v),n(v,E,N),v=P;n(S,E,N)},M=({el:v,anchor:S})=>{let E;for(;v&&v!==S;)E=p(v),o(v),v=E;o(S)},$=(v,S,E,N,P,J,te,U,q)=>{S.type==="svg"?te="svg":S.type==="math"&&(te="mathml"),v==null?R(S,E,N,P,J,te,U,q):z(v,S,P,J,te,U,q)},R=(v,S,E,N,P,J,te,U)=>{let q,x;const{props:K,shapeFlag:Y,transition:le,dirs:y}=v;if(q=v.el=s(v.type,J,K&&K.is,K),Y&8?c(q,v.children):Y&16&&j(v.children,q,null,N,P,ju(v,J),te,U),y&&Zn(v,null,N,"created"),D(q,v,v.scopeId,te,N),K){for(const f in K)f!=="value"&&!As(f)&&i(q,f,null,K[f],J,N);"value"in K&&i(q,"value",null,K.value,J),(x=K.onVnodeBeforeMount)&&Er(x,N,v)}y&&Zn(v,null,N,"beforeMount");const h=cA(P,le);h&&le.beforeEnter(q),n(q,S,E),((x=K&&K.onVnodeMounted)||h||y)&&Vt(()=>{x&&Er(x,N,v),h&&le.enter(q),y&&Zn(v,null,N,"mounted")},P)},D=(v,S,E,N,P)=>{if(E&&m(v,E),N)for(let J=0;J{for(let x=q;x{const U=S.el=v.el;let{patchFlag:q,dynamicChildren:x,dirs:K}=S;q|=v.patchFlag&16;const Y=v.props||ze,le=S.props||ze;let y;if(E&&ei(E,!1),(y=le.onVnodeBeforeUpdate)&&Er(y,E,S,v),K&&Zn(S,v,E,"beforeUpdate"),E&&ei(E,!0),(Y.innerHTML&&le.innerHTML==null||Y.textContent&&le.textContent==null)&&c(U,""),x?se(v.dynamicChildren,x,U,E,N,ju(S,P),J):te||G(v,S,U,null,E,N,ju(S,P),J,!1),q>0){if(q&16)re(U,Y,le,E,P);else if(q&2&&Y.class!==le.class&&i(U,"class",null,le.class,P),q&4&&i(U,"style",Y.style,le.style,P),q&8){const h=S.dynamicProps;for(let f=0;f{y&&Er(y,E,S,v),K&&Zn(S,v,E,"updated")},N)},se=(v,S,E,N,P,J,te)=>{for(let U=0;U{if(S!==E){if(S!==ze)for(const J in S)!As(J)&&!(J in E)&&i(v,J,S[J],null,P,N);for(const J in E){if(As(J))continue;const te=E[J],U=S[J];te!==U&&J!=="value"&&i(v,J,U,te,P,N)}"value"in E&&i(v,"value",S.value,E.value,P)}},L=(v,S,E,N,P,J,te,U,q)=>{const x=S.el=v?v.el:a(""),K=S.anchor=v?v.anchor:a("");let{patchFlag:Y,dynamicChildren:le,slotScopeIds:y}=S;y&&(U=U?U.concat(y):y),v==null?(n(x,E,N),n(K,E,N),j(S.children||[],E,K,P,J,te,U,q)):Y>0&&Y&64&&le&&v.dynamicChildren?(se(v.dynamicChildren,le,E,P,J,te,U),(S.key!=null||P&&S===P.subTree)&&I_(v,S,!0)):G(v,S,E,K,P,J,te,U,q)},B=(v,S,E,N,P,J,te,U,q)=>{S.slotScopeIds=U,v==null?S.shapeFlag&512?P.ctx.activate(S,E,N,te,q):oe(S,E,N,P,J,te,q):ne(v,S,q)},oe=(v,S,E,N,P,J,te)=>{const U=v.component=RA(v,N,P);if(h_(v)&&(U.ctx.renderer=he),OA(U,!1,te),U.asyncDep){if(P&&P.registerDep(U,ue,te),!v.el){const q=U.subTree=br(Fn);k(null,q,S,E)}}else ue(U,v,S,E,P,J,te)},ne=(v,S,E)=>{const N=S.component=v.component;if(bA(v,S,E))if(N.asyncDep&&!N.asyncResolved){ae(N,S,E);return}else N.next=S,N.update();else S.el=v.el,N.vnode=S},ue=(v,S,E,N,P,J,te)=>{const U=()=>{if(v.isMounted){let{next:Y,bu:le,u:y,parent:h,vnode:f}=v;{const ce=C_(v);if(ce){Y&&(Y.el=f.el,ae(v,Y,te)),ce.asyncDep.then(()=>{v.isUnmounted||U()});return}}let g=Y,w;ei(v,!1),Y?(Y.el=f.el,ae(v,Y,te)):Y=f,le&&Na(le),(w=Y.props&&Y.props.onVnodeBeforeUpdate)&&Er(w,h,Y,f),ei(v,!0);const I=Hu(v),W=v.subTree;v.subTree=I,b(W,I,d(W.el),V(W),v,P,J),Y.el=I.el,g===null&&wA(v,I.el),y&&Vt(y,P),(w=Y.props&&Y.props.onVnodeUpdated)&&Vt(()=>Er(w,h,Y,f),P)}else{let Y;const{el:le,props:y}=S,{bm:h,m:f,parent:g,root:w,type:I}=v,W=Eo(S);if(ei(v,!1),h&&Na(h),!W&&(Y=y&&y.onVnodeBeforeMount)&&Er(Y,g,S),ei(v,!0),le&&ee){const ce=()=>{v.subTree=Hu(v),ee(le,v.subTree,v,P,null)};W&&I.__asyncHydrate?I.__asyncHydrate(le,v,ce):ce()}else{w.ce&&w.ce._injectChildStyle(I);const ce=v.subTree=Hu(v);b(null,ce,E,N,v,P,J),S.el=ce.el}if(f&&Vt(f,P),!W&&(Y=y&&y.onVnodeMounted)){const ce=S;Vt(()=>Er(Y,g,ce),P)}(S.shapeFlag&256||g&&Eo(g.vnode)&&g.vnode.shapeFlag&256)&&v.a&&Vt(v.a,P),v.isMounted=!0,S=E=N=null}};v.scope.on();const q=v.effect=new Vy(U);v.scope.off();const x=v.update=q.run.bind(q),K=v.job=q.runIfDirty.bind(q);K.i=v,K.id=v.uid,q.scheduler=()=>Nd(K),ei(v,!0),x()},ae=(v,S,E)=>{S.component=v;const N=v.vnode.props;v.vnode=S,v.next=null,nA(v,S.props,N,E),aA(v,S.children,E),Vn(),ag(v),qn()},G=(v,S,E,N,P,J,te,U,q=!1)=>{const x=v&&v.children,K=v?v.shapeFlag:0,Y=S.children,{patchFlag:le,shapeFlag:y}=S;if(le>0){if(le&128){de(x,Y,E,N,P,J,te,U,q);return}else if(le&256){pe(x,Y,E,N,P,J,te,U,q);return}}y&8?(K&16&&ye(x,P,J),Y!==x&&c(E,Y)):K&16?y&16?de(x,Y,E,N,P,J,te,U,q):ye(x,P,J,!0):(K&8&&c(E,""),y&16&&j(Y,E,N,P,J,te,U,q))},pe=(v,S,E,N,P,J,te,U,q)=>{v=v||_o,S=S||_o;const x=v.length,K=S.length,Y=Math.min(x,K);let le;for(le=0;leK?ye(v,P,J,!0,!1,Y):j(S,E,N,P,J,te,U,q,Y)},de=(v,S,E,N,P,J,te,U,q)=>{let x=0;const K=S.length;let Y=v.length-1,le=K-1;for(;x<=Y&&x<=le;){const y=v[x],h=S[x]=q?Dn(S[x]):Rr(S[x]);if(rs(y,h))b(y,h,E,null,P,J,te,U,q);else break;x++}for(;x<=Y&&x<=le;){const y=v[Y],h=S[le]=q?Dn(S[le]):Rr(S[le]);if(rs(y,h))b(y,h,E,null,P,J,te,U,q);else break;Y--,le--}if(x>Y){if(x<=le){const y=le+1,h=yle)for(;x<=Y;)O(v[x],P,J,!0),x++;else{const y=x,h=x,f=new Map;for(x=h;x<=le;x++){const Te=S[x]=q?Dn(S[x]):Rr(S[x]);Te.key!=null&&f.set(Te.key,x)}let g,w=0;const I=le-h+1;let W=!1,ce=0;const xe=new Array(I);for(x=0;x=I){O(Te,P,J,!0);continue}let Oe;if(Te.key!=null)Oe=f.get(Te.key);else for(g=h;g<=le;g++)if(xe[g-h]===0&&rs(Te,S[g])){Oe=g;break}Oe===void 0?O(Te,P,J,!0):(xe[Oe-h]=x+1,Oe>=ce?ce=Oe:W=!0,b(Te,S[Oe],E,null,P,J,te,U,q),w++)}const ke=W?fA(xe):_o;for(g=ke.length-1,x=I-1;x>=0;x--){const Te=h+x,Oe=S[Te],Re=Te+1{const{el:J,type:te,transition:U,children:q,shapeFlag:x}=v;if(x&6){ge(v.component.subTree,S,E,N);return}if(x&128){v.suspense.move(S,E,N);return}if(x&64){te.move(v,S,E,he);return}if(te===nr){n(J,S,E);for(let Y=0;YU.enter(J),P);else{const{leave:Y,delayLeave:le,afterLeave:y}=U,h=()=>n(J,S,E),f=()=>{Y(J,()=>{h(),y&&y()})};le?le(J,h,f):f()}else n(J,S,E)},O=(v,S,E,N=!1,P=!1)=>{const{type:J,props:te,ref:U,children:q,dynamicChildren:x,shapeFlag:K,patchFlag:Y,dirs:le,cacheIndex:y}=v;if(Y===-2&&(P=!1),U!=null&&tf(U,null,E,v,!0),y!=null&&(S.renderCache[y]=void 0),K&256){S.ctx.deactivate(v);return}const h=K&1&&le,f=!Eo(v);let g;if(f&&(g=te&&te.onVnodeBeforeUnmount)&&Er(g,S,v),K&6)ve(v.component,E,N);else{if(K&128){v.suspense.unmount(E,N);return}h&&Zn(v,null,S,"beforeUnmount"),K&64?v.type.remove(v,S,E,he,N):x&&!x.hasOnce&&(J!==nr||Y>0&&Y&64)?ye(x,S,E,!1,!0):(J===nr&&Y&384||!P&&K&16)&&ye(q,S,E),N&&ie(v)}(f&&(g=te&&te.onVnodeUnmounted)||h)&&Vt(()=>{g&&Er(g,S,v),h&&Zn(v,null,S,"unmounted")},E)},ie=v=>{const{type:S,el:E,anchor:N,transition:P}=v;if(S===nr){me(E,N);return}if(S===La){M(v);return}const J=()=>{o(E),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(v.shapeFlag&1&&P&&!P.persisted){const{leave:te,delayLeave:U}=P,q=()=>te(E,J);U?U(v.el,J,q):q()}else J()},me=(v,S)=>{let E;for(;v!==S;)E=p(v),o(v),v=E;o(S)},ve=(v,S,E)=>{const{bum:N,scope:P,job:J,subTree:te,um:U,m:q,a:x}=v;dg(q),dg(x),N&&Na(N),P.stop(),J&&(J.flags|=8,O(te,v,S,E)),U&&Vt(U,S),Vt(()=>{v.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},ye=(v,S,E,N=!1,P=!1,J=0)=>{for(let te=J;te{if(v.shapeFlag&6)return V(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const S=p(v.anchor||v.el),E=S&&S[MS];return E?p(E):S};let F=!1;const Z=(v,S,E)=>{v==null?S._vnode&&O(S._vnode,null,null,!0):b(S._vnode||null,v,S,null,null,null,E),S._vnode=v,F||(F=!0,ag(),l_(),F=!1)},he={p:b,um:O,m:ge,r:ie,mt:oe,mc:j,pc:G,pbc:se,n:V,o:e};let fe,ee;return{render:Z,hydrate:fe,createApp:eA(Z,fe)}}function ju({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function ei({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function cA(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function I_(e,t,r=!1){const n=e.children,o=t.children;if(De(n)&&De(o))for(let i=0;i>1,e[r[a]]0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,s=r[i-1];i-- >0;)r[i]=s,s=t[s];return r}function C_(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:C_(t)}function dg(e){if(e)for(let t=0;tPa(hA);function c3(e,t){return Bd(e,null,t)}function Wu(e,t,r){return Bd(e,t,r)}function Bd(e,t,r=ze){const{immediate:n,deep:o,flush:i,once:s}=r,a=yt({},r);let l;if(zl)if(i==="sync"){const p=dA();l=p.__watcherHandles||(p.__watcherHandles=[])}else if(!t||n)a.once=!0;else{const p=()=>{};return p.stop=Nr,p.resume=Nr,p.pause=Nr,p}const u=Nt;a.call=(p,m,_)=>Ur(p,u,m,_);let c=!1;i==="post"?a.scheduler=p=>{Vt(p,u&&u.suspense)}:i!=="sync"&&(c=!0,a.scheduler=(p,m)=>{m?p():Nd(p)}),a.augmentJob=p=>{t&&(p.flags|=4),c&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=xS(e,t,a);return l&&l.push(d),d}function pA(e,t,r){const n=this.proxy,o=ft(e)?e.includes(".")?R_(n,e):()=>n[e]:e.bind(n,n);let i;Be(t)?i=t:(i=t.handler,r=t);const s=qs(this),a=Bd(o,i.bind(n),r);return s(),a}function R_(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${$n(t)}Modifiers`]||e[`${Bi(t)}Modifiers`];function mA(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||ze;let o=r;const i=t.startsWith("update:"),s=i&&gA(n,t.slice(7));s&&(s.trim&&(o=r.map(c=>ft(c)?c.trim():c)),s.number&&(o=r.map(Qc)));let a,l=n[a=Lu(t)]||n[a=Lu($n(t))];!l&&i&&(l=n[a=Lu(Bi(t))]),l&&Ur(l,e,6,o);const u=n[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ur(u,e,6,o)}}function O_(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!Be(e)){const l=u=>{const c=O_(u,t,!0);c&&(a=!0,yt(s,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Je(e)&&n.set(e,null),null):(De(i)?i.forEach(l=>s[l]=null):yt(s,i),Je(e)&&n.set(e,s),s)}function Kl(e,t){return!e||!$l(t)?!1:(t=t.slice(2).replace(/Once$/,""),je(e,t[0].toLowerCase()+t.slice(1))||je(e,Bi(t))||je(e,t))}function Hu(e){const{type:t,vnode:r,proxy:n,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:u,renderCache:c,props:d,data:p,setupState:m,ctx:_,inheritAttrs:b}=e,T=al(e);let k,C;try{if(r.shapeFlag&4){const M=o||n,$=M;k=Rr(u.call($,M,c,d,m,p,_)),C=a}else{const M=t;k=Rr(M.length>1?M(d,{attrs:a,slots:s,emit:l}):M(d,null)),C=t.props?a:yA(a)}}catch(M){xs.length=0,Vl(M,e,1),k=br(Fn)}let A=k;if(C&&b!==!1){const M=Object.keys(C),{shapeFlag:$}=A;M.length&&$&7&&(i&&M.some(yd)&&(C=_A(C,i)),A=Oo(A,C,!1,!0))}return r.dirs&&(A=Oo(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(r.dirs):r.dirs),r.transition&&Pd(A,r.transition),k=A,al(T),k}const yA=e=>{let t;for(const r in e)(r==="class"||r==="style"||$l(r))&&((t||(t={}))[r]=e[r]);return t},_A=(e,t)=>{const r={};for(const n in e)(!yd(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function bA(e,t,r){const{props:n,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?pg(n,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function vA(e,t){t&&t.pendingBranch?De(e)?t.effects.push(...e):t.effects.push(e):OS(e)}const nr=Symbol.for("v-fgt"),Yl=Symbol.for("v-txt"),Fn=Symbol.for("v-cmt"),La=Symbol.for("v-stc"),xs=[];let zt=null;function af(e=!1){xs.push(zt=e?null:[])}function EA(){xs.pop(),zt=xs[xs.length-1]||null}let Ds=1;function gg(e){Ds+=e,e<0&&zt&&(zt.hasOnce=!0)}function M_(e){return e.dynamicChildren=Ds>0?zt||_o:null,EA(),Ds>0&&zt&&zt.push(e),e}function f3(e,t,r,n,o,i){return M_(P_(e,t,r,n,o,i,!0))}function lf(e,t,r,n,o){return M_(br(e,t,r,n,o,!0))}function $d(e){return e?e.__v_isVNode===!0:!1}function rs(e,t){return e.type===t.type&&e.key===t.key}const N_=({key:e})=>e??null,Da=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?ft(e)||It(e)||Be(e)?{i:xt,r:e,k:t,f:!!r}:e:null);function P_(e,t=null,r=null,n=0,o=null,i=e===nr?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&N_(t),ref:t&&Da(t),scopeId:c_,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:xt};return a?(Ud(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=ft(r)?8:16),Ds>0&&!s&&zt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&zt.push(l),l}const br=SA;function SA(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===KS)&&(e=Fn),$d(e)){const a=Oo(e,t,!0);return r&&Ud(a,r),Ds>0&&!i&&zt&&(a.shapeFlag&6?zt[zt.indexOf(e)]=a:zt.push(a)),a.patchFlag=-2,a}if(PA(e)&&(e=e.__vccOpts),t){t=AA(t);let{class:a,style:l}=t;a&&!ft(a)&&(t.class=vd(a)),Je(l)&&(Od(l)&&!De(l)&&(l=yt({},l)),t.style=wd(l))}const s=ft(e)?1:k_(e)?128:NS(e)?64:Je(e)?4:Be(e)?2:0;return P_(e,t,r,n,o,s,i,!0)}function AA(e){return e?Od(e)||w_(e)?yt({},e):e:null}function Oo(e,t,r=!1,n=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?xA(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&N_(u),ref:t&&t.ref?r&&i?De(i)?i.concat(Da(t)):[i,Da(t)]:Da(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==nr?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oo(e.ssContent),ssFallback:e.ssFallback&&Oo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Pd(c,l.clone(c)),c}function TA(e=" ",t=0){return br(Yl,null,e,t)}function h3(e,t){const r=br(La,null,e);return r.staticCount=t,r}function d3(e="",t=!1){return t?(af(),lf(Fn,null,e)):br(Fn,null,e)}function Rr(e){return e==null||typeof e=="boolean"?br(Fn):De(e)?br(nr,null,e.slice()):$d(e)?Dn(e):br(Yl,null,String(e))}function Dn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Oo(e)}function Ud(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(De(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Ud(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!w_(t)?t._ctx=xt:o===3&&xt&&(xt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Be(t)?(t={default:t,_ctx:xt},r=32):(t=String(t),n&64?(r=16,t=[TA(t)]):r=8);e.children=t,e.shapeFlag|=r}function xA(...e){const t={};for(let r=0;r{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};ul=t("__VUE_INSTANCE_SETTERS__",r=>Nt=r),uf=t("__VUE_SSR_SETTERS__",r=>zl=r)}const qs=e=>{const t=Nt;return ul(e),e.scope.on(),()=>{e.scope.off(),ul(t)}},mg=()=>{Nt&&Nt.scope.off(),ul(null)};function L_(e){return e.vnode.shapeFlag&4}let zl=!1;function OA(e,t=!1,r=!1){t&&uf(t);const{props:n,children:o}=e.vnode,i=L_(e);rA(e,n,i,t),sA(e,o,r);const s=i?kA(e,t):void 0;return t&&uf(!1),s}function kA(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,YS);const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?NA(e):null,i=qs(e);Vn();const s=Vs(n,e,0,[e.props,o]);if(qn(),i(),Py(s)){if(Eo(e)||f_(e),s.then(mg,mg),t)return s.then(a=>{yg(e,a,t)}).catch(a=>{Vl(a,e,0)});e.asyncDep=s}else yg(e,s,t)}else D_(e,t)}function yg(e,t,r){Be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=o_(t)),D_(e,r)}let _g;function D_(e,t,r){const n=e.type;if(!e.render){if(!t&&_g&&!n.render){const o=n.template||Ld(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=n,u=yt(yt({isCustomElement:i,delimiters:a},s),l);n.render=_g(o,u)}}e.render=n.render||Nr}{const o=qs(e);Vn();try{zS(e)}finally{qn(),o()}}}const MA={get(e,t){return Rt(e,"get",""),e[t]}};function NA(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,MA),slots:e.slots,emit:e.emit,expose:t}}function Gl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(o_(_S(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ts)return Ts[r](e)},has(t,r){return r in t||r in Ts}})):e.proxy}function PA(e){return Be(e)&&"__vccOpts"in e}const LA=(e,t)=>AS(e,t,zl),DA="3.5.10";/** +* @vue/runtime-dom v3.5.10 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let cf;const bg=typeof window<"u"&&window.trustedTypes;if(bg)try{cf=bg.createPolicy("vue",{createHTML:e=>e})}catch{}const B_=cf?e=>cf.createHTML(e):e=>e,BA="http://www.w3.org/2000/svg",$A="http://www.w3.org/1998/Math/MathML",Qr=typeof document<"u"?document:null,wg=Qr&&Qr.createElement("template"),UA={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Qr.createElementNS(BA,e):t==="mathml"?Qr.createElementNS($A,e):r?Qr.createElement(e,{is:r}):Qr.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Qr.createTextNode(e),createComment:e=>Qr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const s=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{wg.innerHTML=B_(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const a=wg.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},FA=Symbol("_vtc");function jA(e,t,r){const n=e[FA];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const cl=Symbol("_vod"),$_=Symbol("_vsh"),p3={beforeMount(e,{value:t},{transition:r}){e[cl]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):ns(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),ns(e,!0),n.enter(e)):n.leave(e,()=>{ns(e,!1)}):ns(e,t))},beforeUnmount(e,{value:t}){ns(e,t)}};function ns(e,t){e.style.display=t?e[cl]:"none",e[$_]=!t}const WA=Symbol(""),HA=/(^|;)\s*display\s*:/;function VA(e,t,r){const n=e.style,o=ft(r);let i=!1;if(r&&!o){if(t)if(ft(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();r[a]==null&&Ba(n,a,"")}else for(const s in t)r[s]==null&&Ba(n,s,"");for(const s in r)s==="display"&&(i=!0),Ba(n,s,r[s])}else if(o){if(t!==r){const s=n[WA];s&&(r+=";"+s),n.cssText=r,i=HA.test(r)}}else t&&e.removeAttribute("style");cl in e&&(e[cl]=i?n.display:"",e[$_]&&(n.display="none"))}const vg=/\s*!important$/;function Ba(e,t,r){if(De(r))r.forEach(n=>Ba(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=qA(e,t);vg.test(r)?e.setProperty(Bi(n),r.replace(vg,""),"important"):e[n]=r}}const Eg=["Webkit","Moz","ms"],Vu={};function qA(e,t){const r=Vu[t];if(r)return r;let n=$n(t);if(n!=="filter"&&n in e)return Vu[t]=n;n=By(n);for(let o=0;oqu||(GA.then(()=>qu=0),qu=Date.now());function XA(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Ur(JA(n,r.value),t,5,[n])};return r.value=e,r.attached=QA(),r}function JA(e,t){if(De(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const Cg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ZA=(e,t,r,n,o,i)=>{const s=o==="svg";t==="class"?jA(e,n,s):t==="style"?VA(e,r,n):$l(t)?yd(t)||YA(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):eT(e,t,n,s))?(Tg(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ag(e,t,n,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ft(n))?Tg(e,$n(t),n):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ag(e,t,n,s))};function eT(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Cg(t)&&Be(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Cg(t)&&ft(r)?!1:t in e}const fl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return De(t)?r=>Na(t,r):t};function tT(e){e.target.composing=!0}function Rg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ao=Symbol("_assign"),g3={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Ao]=fl(o);const i=n||o.props&&o.props.type==="number";di(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;r&&(a=a.trim()),i&&(a=Qc(a)),e[Ao](a)}),r&&di(e,"change",()=>{e.value=e.value.trim()}),t||(di(e,"compositionstart",tT),di(e,"compositionend",Rg),di(e,"change",Rg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:o,number:i}},s){if(e[Ao]=fl(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Qc(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(n&&t===r||o&&e.value.trim()===l)||(e.value=l))}},m3={deep:!0,created(e,t,r){e[Ao]=fl(r),di(e,"change",()=>{const n=e._modelValue,o=rT(e),i=e.checked,s=e[Ao];if(De(n)){const a=jy(n,o),l=a!==-1;if(i&&!l)s(n.concat(o));else if(!i&&l){const u=[...n];u.splice(a,1),s(u)}}else if(Ul(n)){const a=new Set(n);i?a.add(o):a.delete(o),s(a)}else s(U_(e,i))})},mounted:Og,beforeUpdate(e,t,r){e[Ao]=fl(r),Og(e,t,r)}};function Og(e,{value:t},r){e._modelValue=t;let n;De(t)?n=jy(t,r.props.value)>-1:Ul(t)?n=t.has(r.props.value):n=jl(t,U_(e,!0)),e.checked!==n&&(e.checked=n)}function rT(e){return"_value"in e?e._value:e.value}function U_(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const nT=yt({patchProp:ZA},UA);let kg;function iT(){return kg||(kg=lA(nT))}const y3=(...e)=>{const t=iT().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=sT(n);if(!o)return;const i=t._component;!Be(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=r(o,!1,oT(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function oT(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function sT(e){return ft(e)?document.querySelector(e):e}var Pt="top",Gt="bottom",Qt="right",Lt="left",Ql="auto",Vo=[Pt,Gt,Qt,Lt],ki="start",ko="end",F_="clippingParents",Fd="viewport",oo="popper",j_="reference",ff=Vo.reduce(function(e,t){return e.concat([t+"-"+ki,t+"-"+ko])},[]),jd=[].concat(Vo,[Ql]).reduce(function(e,t){return e.concat([t,t+"-"+ki,t+"-"+ko])},[]),W_="beforeRead",H_="read",V_="afterRead",q_="beforeMain",K_="main",Y_="afterMain",z_="beforeWrite",G_="write",Q_="afterWrite",X_=[W_,H_,V_,q_,K_,Y_,z_,G_,Q_];function Fr(e){return e?(e.nodeName||"").toLowerCase():null}function Xt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Mi(e){var t=Xt(e).Element;return e instanceof t||e instanceof Element}function sr(e){var t=Xt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Wd(e){if(typeof ShadowRoot>"u")return!1;var t=Xt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function aT(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!sr(i)||!Fr(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(s){var a=o[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function lT(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),a=s.reduce(function(l,u){return l[u]="",l},{});!sr(o)||!Fr(o)||(Object.assign(o.style,a),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const Hd={name:"applyStyles",enabled:!0,phase:"write",fn:aT,effect:lT,requires:["computeStyles"]};function Pr(e){return e.split("-")[0]}var Si=Math.max,hl=Math.min,Mo=Math.round;function hf(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function J_(){return!/^((?!chrome|android).)*safari/i.test(hf())}function No(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&sr(e)&&(o=e.offsetWidth>0&&Mo(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Mo(n.height)/e.offsetHeight||1);var s=Mi(e)?Xt(e):window,a=s.visualViewport,l=!J_()&&r,u=(n.left+(l&&a?a.offsetLeft:0))/o,c=(n.top+(l&&a?a.offsetTop:0))/i,d=n.width/o,p=n.height/i;return{width:d,height:p,top:c,right:u+d,bottom:c+p,left:u,x:u,y:c}}function Vd(e){var t=No(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Z_(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Wd(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function fn(e){return Xt(e).getComputedStyle(e)}function uT(e){return["table","td","th"].indexOf(Fr(e))>=0}function Kn(e){return((Mi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Xl(e){return Fr(e)==="html"?e:e.assignedSlot||e.parentNode||(Wd(e)?e.host:null)||Kn(e)}function Mg(e){return!sr(e)||fn(e).position==="fixed"?null:e.offsetParent}function cT(e){var t=/firefox/i.test(hf()),r=/Trident/i.test(hf());if(r&&sr(e)){var n=fn(e);if(n.position==="fixed")return null}var o=Xl(e);for(Wd(o)&&(o=o.host);sr(o)&&["html","body"].indexOf(Fr(o))<0;){var i=fn(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Ks(e){for(var t=Xt(e),r=Mg(e);r&&uT(r)&&fn(r).position==="static";)r=Mg(r);return r&&(Fr(r)==="html"||Fr(r)==="body"&&fn(r).position==="static")?t:r||cT(e)||t}function qd(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Is(e,t,r){return Si(e,hl(t,r))}function fT(e,t,r){var n=Is(e,t,r);return n>r?r:n}function eb(){return{top:0,right:0,bottom:0,left:0}}function tb(e){return Object.assign({},eb(),e)}function rb(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var hT=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,tb(typeof t!="number"?t:rb(t,Vo))};function dT(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,a=Pr(r.placement),l=qd(a),u=[Lt,Qt].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!s)){var d=hT(o.padding,r),p=Vd(i),m=l==="y"?Pt:Lt,_=l==="y"?Gt:Qt,b=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],T=s[l]-r.rects.reference[l],k=Ks(i),C=k?l==="y"?k.clientHeight||0:k.clientWidth||0:0,A=b/2-T/2,M=d[m],$=C-p[c]-d[_],R=C/2-p[c]/2+A,D=Is(M,R,$),j=l;r.modifiersData[n]=(t={},t[j]=D,t.centerOffset=D-R,t)}}function pT(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Z_(t.elements.popper,o)&&(t.elements.arrow=o))}const nb={name:"arrow",enabled:!0,phase:"main",fn:dT,effect:pT,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Po(e){return e.split("-")[1]}var gT={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mT(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Mo(r*o)/o||0,y:Mo(n*o)/o||0}}function Ng(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=s.x,m=p===void 0?0:p,_=s.y,b=_===void 0?0:_,T=typeof c=="function"?c({x:m,y:b}):{x:m,y:b};m=T.x,b=T.y;var k=s.hasOwnProperty("x"),C=s.hasOwnProperty("y"),A=Lt,M=Pt,$=window;if(u){var R=Ks(r),D="clientHeight",j="clientWidth";if(R===Xt(r)&&(R=Kn(r),fn(R).position!=="static"&&a==="absolute"&&(D="scrollHeight",j="scrollWidth")),R=R,o===Pt||(o===Lt||o===Qt)&&i===ko){M=Gt;var z=d&&R===$&&$.visualViewport?$.visualViewport.height:R[D];b-=z-n.height,b*=l?1:-1}if(o===Lt||(o===Pt||o===Gt)&&i===ko){A=Qt;var se=d&&R===$&&$.visualViewport?$.visualViewport.width:R[j];m-=se-n.width,m*=l?1:-1}}var re=Object.assign({position:a},u&&gT),L=c===!0?mT({x:m,y:b},Xt(r)):{x:m,y:b};if(m=L.x,b=L.y,l){var B;return Object.assign({},re,(B={},B[M]=C?"0":"",B[A]=k?"0":"",B.transform=($.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",B))}return Object.assign({},re,(t={},t[M]=C?b+"px":"",t[A]=k?m+"px":"",t.transform="",t))}function yT(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,s=i===void 0?!0:i,a=r.roundOffsets,l=a===void 0?!0:a,u={placement:Pr(t.placement),variation:Po(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ng(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ng(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Kd={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yT,data:{}};var fa={passive:!0};function _T(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,s=n.resize,a=s===void 0?!0:s,l=Xt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",r.update,fa)}),a&&l.addEventListener("resize",r.update,fa),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",r.update,fa)}),a&&l.removeEventListener("resize",r.update,fa)}}const Yd={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_T,data:{}};var bT={left:"right",right:"left",bottom:"top",top:"bottom"};function $a(e){return e.replace(/left|right|bottom|top/g,function(t){return bT[t]})}var wT={start:"end",end:"start"};function Pg(e){return e.replace(/start|end/g,function(t){return wT[t]})}function zd(e){var t=Xt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Gd(e){return No(Kn(e)).left+zd(e).scrollLeft}function vT(e,t){var r=Xt(e),n=Kn(e),o=r.visualViewport,i=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;var u=J_();(u||!u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a+Gd(e),y:l}}function ET(e){var t,r=Kn(e),n=zd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Si(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Si(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+Gd(e),l=-n.scrollTop;return fn(o||r).direction==="rtl"&&(a+=Si(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function Qd(e){var t=fn(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function ib(e){return["html","body","#document"].indexOf(Fr(e))>=0?e.ownerDocument.body:sr(e)&&Qd(e)?e:ib(Xl(e))}function Cs(e,t){var r;t===void 0&&(t=[]);var n=ib(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Xt(n),s=o?[i].concat(i.visualViewport||[],Qd(n)?n:[]):n,a=t.concat(s);return o?a:a.concat(Cs(Xl(s)))}function df(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ST(e,t){var r=No(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Lg(e,t,r){return t===Fd?df(vT(e,r)):Mi(t)?ST(t,r):df(ET(Kn(e)))}function AT(e){var t=Cs(Xl(e)),r=["absolute","fixed"].indexOf(fn(e).position)>=0,n=r&&sr(e)?Ks(e):e;return Mi(n)?t.filter(function(o){return Mi(o)&&Z_(o,n)&&Fr(o)!=="body"}):[]}function TT(e,t,r,n){var o=t==="clippingParents"?AT(e):[].concat(t),i=[].concat(o,[r]),s=i[0],a=i.reduce(function(l,u){var c=Lg(e,u,n);return l.top=Si(c.top,l.top),l.right=hl(c.right,l.right),l.bottom=hl(c.bottom,l.bottom),l.left=Si(c.left,l.left),l},Lg(e,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ob(e){var t=e.reference,r=e.element,n=e.placement,o=n?Pr(n):null,i=n?Po(n):null,s=t.x+t.width/2-r.width/2,a=t.y+t.height/2-r.height/2,l;switch(o){case Pt:l={x:s,y:t.y-r.height};break;case Gt:l={x:s,y:t.y+t.height};break;case Qt:l={x:t.x+t.width,y:a};break;case Lt:l={x:t.x-r.width,y:a};break;default:l={x:t.x,y:t.y}}var u=o?qd(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case ki:l[u]=l[u]-(t[c]/2-r[c]/2);break;case ko:l[u]=l[u]+(t[c]/2-r[c]/2);break}}return l}function Lo(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,s=i===void 0?e.strategy:i,a=r.boundary,l=a===void 0?F_:a,u=r.rootBoundary,c=u===void 0?Fd:u,d=r.elementContext,p=d===void 0?oo:d,m=r.altBoundary,_=m===void 0?!1:m,b=r.padding,T=b===void 0?0:b,k=tb(typeof T!="number"?T:rb(T,Vo)),C=p===oo?j_:oo,A=e.rects.popper,M=e.elements[_?C:p],$=TT(Mi(M)?M:M.contextElement||Kn(e.elements.popper),l,c,s),R=No(e.elements.reference),D=ob({reference:R,element:A,strategy:"absolute",placement:o}),j=df(Object.assign({},A,D)),z=p===oo?j:R,se={top:$.top-z.top+k.top,bottom:z.bottom-$.bottom+k.bottom,left:$.left-z.left+k.left,right:z.right-$.right+k.right},re=e.modifiersData.offset;if(p===oo&&re){var L=re[o];Object.keys(se).forEach(function(B){var oe=[Qt,Gt].indexOf(B)>=0?1:-1,ne=[Pt,Gt].indexOf(B)>=0?"y":"x";se[B]+=L[ne]*oe})}return se}function xT(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,s=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?jd:l,c=Po(n),d=c?a?ff:ff.filter(function(_){return Po(_)===c}):Vo,p=d.filter(function(_){return u.indexOf(_)>=0});p.length===0&&(p=d);var m=p.reduce(function(_,b){return _[b]=Lo(e,{placement:b,boundary:o,rootBoundary:i,padding:s})[Pr(b)],_},{});return Object.keys(m).sort(function(_,b){return m[_]-m[b]})}function IT(e){if(Pr(e)===Ql)return[];var t=$a(e);return[Pg(e),t,Pg(t)]}function CT(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,s=r.altAxis,a=s===void 0?!0:s,l=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.flipVariations,_=m===void 0?!0:m,b=r.allowedAutoPlacements,T=t.options.placement,k=Pr(T),C=k===T,A=l||(C||!_?[$a(T)]:IT(T)),M=[T].concat(A).reduce(function(me,ve){return me.concat(Pr(ve)===Ql?xT(t,{placement:ve,boundary:c,rootBoundary:d,padding:u,flipVariations:_,allowedAutoPlacements:b}):ve)},[]),$=t.rects.reference,R=t.rects.popper,D=new Map,j=!0,z=M[0],se=0;se=0,ne=oe?"width":"height",ue=Lo(t,{placement:re,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),ae=oe?B?Qt:Lt:B?Gt:Pt;$[ne]>R[ne]&&(ae=$a(ae));var G=$a(ae),pe=[];if(i&&pe.push(ue[L]<=0),a&&pe.push(ue[ae]<=0,ue[G]<=0),pe.every(function(me){return me})){z=re,j=!1;break}D.set(re,pe)}if(j)for(var de=_?3:1,ge=function(ve){var ye=M.find(function(V){var F=D.get(V);if(F)return F.slice(0,ve).every(function(Z){return Z})});if(ye)return z=ye,"break"},O=de;O>0;O--){var ie=ge(O);if(ie==="break")break}t.placement!==z&&(t.modifiersData[n]._skip=!0,t.placement=z,t.reset=!0)}}const sb={name:"flip",enabled:!0,phase:"main",fn:CT,requiresIfExists:["offset"],data:{_skip:!1}};function Dg(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Bg(e){return[Pt,Qt,Gt,Lt].some(function(t){return e[t]>=0})}function RT(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=Lo(t,{elementContext:"reference"}),a=Lo(t,{altBoundary:!0}),l=Dg(s,n),u=Dg(a,o,i),c=Bg(l),d=Bg(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const ab={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:RT};function OT(e,t,r){var n=Pr(e),o=[Lt,Pt].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[Lt,Qt].indexOf(n)>=0?{x:a,y:s}:{x:s,y:a}}function kT(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,s=jd.reduce(function(c,d){return c[d]=OT(d,t.rects,i),c},{}),a=s[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=s}const lb={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:kT};function MT(e){var t=e.state,r=e.name;t.modifiersData[r]=ob({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Xd={name:"popperOffsets",enabled:!0,phase:"read",fn:MT,data:{}};function NT(e){return e==="x"?"y":"x"}function PT(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,s=r.altAxis,a=s===void 0?!1:s,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,d=r.padding,p=r.tether,m=p===void 0?!0:p,_=r.tetherOffset,b=_===void 0?0:_,T=Lo(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),k=Pr(t.placement),C=Po(t.placement),A=!C,M=qd(k),$=NT(M),R=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,z=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,se=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),re=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(R){if(i){var B,oe=M==="y"?Pt:Lt,ne=M==="y"?Gt:Qt,ue=M==="y"?"height":"width",ae=R[M],G=ae+T[oe],pe=ae-T[ne],de=m?-j[ue]/2:0,ge=C===ki?D[ue]:j[ue],O=C===ki?-j[ue]:-D[ue],ie=t.elements.arrow,me=m&&ie?Vd(ie):{width:0,height:0},ve=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:eb(),ye=ve[oe],V=ve[ne],F=Is(0,D[ue],me[ue]),Z=A?D[ue]/2-de-F-ye-se.mainAxis:ge-F-ye-se.mainAxis,he=A?-D[ue]/2+de+F+V+se.mainAxis:O+F+V+se.mainAxis,fe=t.elements.arrow&&Ks(t.elements.arrow),ee=fe?M==="y"?fe.clientTop||0:fe.clientLeft||0:0,v=(B=re==null?void 0:re[M])!=null?B:0,S=ae+Z-v-ee,E=ae+he-v,N=Is(m?hl(G,S):G,ae,m?Si(pe,E):pe);R[M]=N,L[M]=N-ae}if(a){var P,J=M==="x"?Pt:Lt,te=M==="x"?Gt:Qt,U=R[$],q=$==="y"?"height":"width",x=U+T[J],K=U-T[te],Y=[Pt,Lt].indexOf(k)!==-1,le=(P=re==null?void 0:re[$])!=null?P:0,y=Y?x:U-D[q]-j[q]-le+se.altAxis,h=Y?U+D[q]+j[q]-le-se.altAxis:K,f=m&&Y?fT(y,U,h):Is(m?y:x,U,m?h:K);R[$]=f,L[$]=f-U}t.modifiersData[n]=L}}const ub={name:"preventOverflow",enabled:!0,phase:"main",fn:PT,requiresIfExists:["offset"]};function LT(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function DT(e){return e===Xt(e)||!sr(e)?zd(e):LT(e)}function BT(e){var t=e.getBoundingClientRect(),r=Mo(t.width)/e.offsetWidth||1,n=Mo(t.height)/e.offsetHeight||1;return r!==1||n!==1}function $T(e,t,r){r===void 0&&(r=!1);var n=sr(t),o=sr(t)&&BT(t),i=Kn(t),s=No(e,o,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Fr(t)!=="body"||Qd(i))&&(a=DT(t)),sr(t)?(l=No(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Gd(i))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function UT(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!r.has(a)){var l=t.get(a);l&&o(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function FT(e){var t=UT(e);return X_.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function jT(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function WT(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var $g={placement:"bottom",modifiers:[],strategy:"absolute"};function Ug(){for(var e=arguments.length,t=new Array(e),r=0;r(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),GT=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),QT=e=>{do e+=Math.floor(Math.random()*YT);while(document.getElementById(e));return e},XT=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:r}=window.getComputedStyle(e);const n=Number.parseFloat(t),o=Number.parseFloat(r);return!n&&!o?0:(t=t.split(",")[0],r=r.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(r))*zT)},hb=e=>{e.dispatchEvent(new Event(pf))},un=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),jn=e=>un(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(fb(e)):null,qo=e=>{if(!un(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",r=e.closest("details:not([open])");if(!r)return t;if(r!==e){const n=e.closest("summary");if(n&&n.parentNode!==r||n===null)return!1}return t},Wn=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",db=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?db(e.parentNode):null},dl=()=>{},Ys=e=>{e.offsetHeight},pb=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Yu=[],JT=e=>{document.readyState==="loading"?(Yu.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Yu)t()}),Yu.push(e)):e()},ar=()=>document.documentElement.dir==="rtl",ur=e=>{JT(()=>{const t=pb();if(t){const r=e.NAME,n=t.fn[r];t.fn[r]=e.jQueryInterface,t.fn[r].Constructor=e,t.fn[r].noConflict=()=>(t.fn[r]=n,e.jQueryInterface)}})},Ut=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,gb=(e,t,r=!0)=>{if(!r){Ut(e);return}const o=XT(t)+5;let i=!1;const s=({target:a})=>{a===t&&(i=!0,t.removeEventListener(pf,s),Ut(e))};t.addEventListener(pf,s),setTimeout(()=>{i||hb(t)},o)},Zd=(e,t,r,n)=>{const o=e.length;let i=e.indexOf(t);return i===-1?!r&&n?e[o-1]:e[0]:(i+=r?1:-1,n&&(i=(i+o)%o),e[Math.max(0,Math.min(i,o-1))])},ZT=/[^.]*(?=\..*)\.|.*/,ex=/\..*/,tx=/::\d+$/,zu={};let Fg=1;const mb={mouseenter:"mouseover",mouseleave:"mouseout"},rx=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function yb(e,t){return t&&`${t}::${Fg++}`||e.uidEvent||Fg++}function _b(e){const t=yb(e);return e.uidEvent=t,zu[t]=zu[t]||{},zu[t]}function nx(e,t){return function r(n){return ep(n,{delegateTarget:e}),r.oneOff&&Se.off(e,n.type,t),t.apply(e,[n])}}function ix(e,t,r){return function n(o){const i=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of i)if(a===s)return ep(o,{delegateTarget:s}),n.oneOff&&Se.off(e,o.type,t,r),r.apply(s,[o])}}function bb(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function wb(e,t,r){const n=typeof t=="string",o=n?r:t||r;let i=vb(e);return rx.has(i)||(i=e),[n,o,i]}function jg(e,t,r,n,o){if(typeof t!="string"||!e)return;let[i,s,a]=wb(t,r,n);t in mb&&(s=(_=>function(b){if(!b.relatedTarget||b.relatedTarget!==b.delegateTarget&&!b.delegateTarget.contains(b.relatedTarget))return _.call(this,b)})(s));const l=_b(e),u=l[a]||(l[a]={}),c=bb(u,s,i?r:null);if(c){c.oneOff=c.oneOff&&o;return}const d=yb(s,t.replace(ZT,"")),p=i?ix(e,r,s):nx(e,s);p.delegationSelector=i?r:null,p.callable=s,p.oneOff=o,p.uidEvent=d,u[d]=p,e.addEventListener(a,p,i)}function gf(e,t,r,n,o){const i=bb(t[r],n,o);i&&(e.removeEventListener(r,i,!!o),delete t[r][i.uidEvent])}function ox(e,t,r,n){const o=t[r]||{};for(const[i,s]of Object.entries(o))i.includes(n)&&gf(e,t,r,s.callable,s.delegationSelector)}function vb(e){return e=e.replace(ex,""),mb[e]||e}const Se={on(e,t,r,n){jg(e,t,r,n,!1)},one(e,t,r,n){jg(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[o,i,s]=wb(t,r,n),a=s!==t,l=_b(e),u=l[s]||{},c=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;gf(e,l,s,i,o?r:null);return}if(c)for(const d of Object.keys(l))ox(e,l,d,t.slice(1));for(const[d,p]of Object.entries(u)){const m=d.replace(tx,"");(!a||t.includes(m))&&gf(e,l,s,p.callable,p.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=pb(),o=vb(t),i=t!==o;let s=null,a=!0,l=!0,u=!1;i&&n&&(s=n.Event(t,r),n(e).trigger(s),a=!s.isPropagationStopped(),l=!s.isImmediatePropagationStopped(),u=s.isDefaultPrevented());const c=ep(new Event(t,{bubbles:a,cancelable:!0}),r);return u&&c.preventDefault(),l&&e.dispatchEvent(c),c.defaultPrevented&&s&&s.preventDefault(),c}};function ep(e,t={}){for(const[r,n]of Object.entries(t))try{e[r]=n}catch{Object.defineProperty(e,r,{configurable:!0,get(){return n}})}return e}function Wg(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Gu(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const cn={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${Gu(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Gu(t)}`)},getDataAttributes(e){if(!e)return{};const t={},r=Object.keys(e.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of r){let o=n.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),t[o]=Wg(e.dataset[n])}return t},getDataAttribute(e,t){return Wg(e.getAttribute(`data-bs-${Gu(t)}`))}};class zs{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,r){const n=un(r)?cn.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...un(r)?cn.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[n,o]of Object.entries(r)){const i=t[n],s=un(i)?"element":GT(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${o}".`)}}}const sx="5.3.3";class wr extends zs{constructor(t,r){super(),t=jn(t),t&&(this._element=t,this._config=this._getConfig(r),Ku.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ku.remove(this._element,this.constructor.DATA_KEY),Se.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){gb(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Ku.get(jn(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return sx}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Qu=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let r=e.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),t=r&&r!=="#"?r.trim():null}return t?t.split(",").map(r=>fb(r)).join(","):null},Pe={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(r=>r.matches(t))},parents(e,t){const r=[];let n=e.parentNode.closest(t);for(;n;)r.push(n),n=n.parentNode.closest(t);return r},prev(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(r=>!Wn(r)&&qo(r))},getSelectorFromElement(e){const t=Qu(e);return t&&Pe.findOne(t)?t:null},getElementFromSelector(e){const t=Qu(e);return t?Pe.findOne(t):null},getMultipleElementsFromSelector(e){const t=Qu(e);return t?Pe.find(t):[]}},Zl=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Se.on(document,r,`[data-bs-dismiss="${n}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Wn(this))return;const i=Pe.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(i)[t]()})},ax="alert",lx="bs.alert",Eb=`.${lx}`,ux=`close${Eb}`,cx=`closed${Eb}`,fx="fade",hx="show";class eu extends wr{static get NAME(){return ax}close(){if(Se.trigger(this._element,ux).defaultPrevented)return;this._element.classList.remove(hx);const r=this._element.classList.contains(fx);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Se.trigger(this._element,cx),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=eu.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Zl(eu,"close");ur(eu);const dx="button",px="bs.button",gx=`.${px}`,mx=".data-api",yx="active",Hg='[data-bs-toggle="button"]',_x=`click${gx}${mx}`;class tu extends wr{static get NAME(){return dx}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(yx))}static jQueryInterface(t){return this.each(function(){const r=tu.getOrCreateInstance(this);t==="toggle"&&r[t]()})}}Se.on(document,_x,Hg,e=>{e.preventDefault();const t=e.target.closest(Hg);tu.getOrCreateInstance(t).toggle()});ur(tu);const bx="swipe",Ko=".bs.swipe",vx=`touchstart${Ko}`,Ex=`touchmove${Ko}`,Sx=`touchend${Ko}`,Ax=`pointerdown${Ko}`,Tx=`pointerup${Ko}`,xx="touch",Ix="pen",Cx="pointer-event",Rx=40,Ox={endCallback:null,leftCallback:null,rightCallback:null},kx={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class pl extends zs{constructor(t,r){super(),this._element=t,!(!t||!pl.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ox}static get DefaultType(){return kx}static get NAME(){return bx}dispose(){Se.off(this._element,Ko)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Ut(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Rx)return;const r=t/this._deltaX;this._deltaX=0,r&&Ut(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Se.on(this._element,Ax,t=>this._start(t)),Se.on(this._element,Tx,t=>this._end(t)),this._element.classList.add(Cx)):(Se.on(this._element,vx,t=>this._start(t)),Se.on(this._element,Ex,t=>this._move(t)),Se.on(this._element,Sx,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Ix||t.pointerType===xx)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Mx="carousel",Nx="bs.carousel",Yn=`.${Nx}`,Sb=".data-api",Px="ArrowLeft",Lx="ArrowRight",Dx=500,is="next",Zi="prev",so="left",Ua="right",Bx=`slide${Yn}`,Xu=`slid${Yn}`,$x=`keydown${Yn}`,Ux=`mouseenter${Yn}`,Fx=`mouseleave${Yn}`,jx=`dragstart${Yn}`,Wx=`load${Yn}${Sb}`,Hx=`click${Yn}${Sb}`,Ab="carousel",ha="active",Vx="slide",qx="carousel-item-end",Kx="carousel-item-start",Yx="carousel-item-next",zx="carousel-item-prev",Tb=".active",xb=".carousel-item",Gx=Tb+xb,Qx=".carousel-item img",Xx=".carousel-indicators",Jx="[data-bs-slide], [data-bs-slide-to]",Zx='[data-bs-ride="carousel"]',eI={[Px]:Ua,[Lx]:so},tI={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},rI={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Gs extends wr{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Pe.findOne(Xx,this._element),this._addEventListeners(),this._config.ride===Ab&&this.cycle()}static get Default(){return tI}static get DefaultType(){return rI}static get NAME(){return Mx}next(){this._slide(is)}nextWhenVisible(){!document.hidden&&qo(this._element)&&this.next()}prev(){this._slide(Zi)}pause(){this._isSliding&&hb(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){Se.one(this._element,Xu,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){Se.one(this._element,Xu,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const o=t>n?is:Zi;this._slide(o,r[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Se.on(this._element,$x,t=>this._keydown(t)),this._config.pause==="hover"&&(Se.on(this._element,Ux,()=>this.pause()),Se.on(this._element,Fx,()=>this._maybeEnableCycle())),this._config.touch&&pl.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Pe.find(Qx,this._element))Se.on(n,jx,o=>o.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(so)),rightCallback:()=>this._slide(this._directionToOrder(Ua)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Dx+this._config.interval))}};this._swipeHelper=new pl(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=eI[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=Pe.findOne(Tb,this._indicatorsElement);r.classList.remove(ha),r.removeAttribute("aria-current");const n=Pe.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(ha),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const r=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(t,r=null){if(this._isSliding)return;const n=this._getActive(),o=t===is,i=r||Zd(this._getItems(),n,o,this._config.wrap);if(i===n)return;const s=this._getItemIndex(i),a=m=>Se.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:s});if(a(Bx).defaultPrevented||!n||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const c=o?Kx:qx,d=o?Yx:zx;i.classList.add(d),Ys(i),n.classList.add(c),i.classList.add(c);const p=()=>{i.classList.remove(c,d),i.classList.add(ha),n.classList.remove(ha,d,c),this._isSliding=!1,a(Xu)};this._queueCallback(p,n,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(Vx)}_getActive(){return Pe.findOne(Gx,this._element)}_getItems(){return Pe.find(xb,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ar()?t===so?Zi:is:t===so?is:Zi}_orderToDirection(t){return ar()?t===Zi?so:Ua:t===Zi?Ua:so}static jQueryInterface(t){return this.each(function(){const r=Gs.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Se.on(document,Hx,Jx,function(e){const t=Pe.getElementFromSelector(this);if(!t||!t.classList.contains(Ab))return;e.preventDefault();const r=Gs.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(cn.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Se.on(window,Wx,()=>{const e=Pe.find(Zx);for(const t of e)Gs.getOrCreateInstance(t)});ur(Gs);const nI="collapse",iI="bs.collapse",Qs=`.${iI}`,oI=".data-api",sI=`show${Qs}`,aI=`shown${Qs}`,lI=`hide${Qs}`,uI=`hidden${Qs}`,cI=`click${Qs}${oI}`,Ju="show",ho="collapse",da="collapsing",fI="collapsed",hI=`:scope .${ho} .${ho}`,dI="collapse-horizontal",pI="width",gI="height",mI=".collapse.show, .collapse.collapsing",mf='[data-bs-toggle="collapse"]',yI={parent:null,toggle:!0},_I={parent:"(null|element)",toggle:"boolean"};class Bs extends wr{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=Pe.find(mf);for(const o of n){const i=Pe.getSelectorFromElement(o),s=Pe.find(i).filter(a=>a===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return yI}static get DefaultType(){return _I}static get NAME(){return nI}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(mI).filter(a=>a!==this._element).map(a=>Bs.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||Se.trigger(this._element,sI).defaultPrevented)return;for(const a of t)a.hide();const n=this._getDimension();this._element.classList.remove(ho),this._element.classList.add(da),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(da),this._element.classList.add(ho,Ju),this._element.style[n]="",Se.trigger(this._element,aI)},s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||Se.trigger(this._element,lI).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Ys(this._element),this._element.classList.add(da),this._element.classList.remove(ho,Ju);for(const o of this._triggerArray){const i=Pe.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(da),this._element.classList.add(ho),Se.trigger(this._element,uI)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ju)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=jn(t.parent),t}_getDimension(){return this._element.classList.contains(dI)?pI:gI}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(mf);for(const r of t){const n=Pe.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=Pe.find(hI,this._config.parent);return Pe.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(fI,!r),n.setAttribute("aria-expanded",r)}static jQueryInterface(t){const r={};return typeof t=="string"&&/show|hide/.test(t)&&(r.toggle=!1),this.each(function(){const n=Bs.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Se.on(document,cI,mf,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Pe.getMultipleElementsFromSelector(this))Bs.getOrCreateInstance(t,{toggle:!1}).toggle()});ur(Bs);const Vg="dropdown",bI="bs.dropdown",$i=`.${bI}`,tp=".data-api",wI="Escape",qg="Tab",vI="ArrowUp",Kg="ArrowDown",EI=2,SI=`hide${$i}`,AI=`hidden${$i}`,TI=`show${$i}`,xI=`shown${$i}`,Ib=`click${$i}${tp}`,Cb=`keydown${$i}${tp}`,II=`keyup${$i}${tp}`,ao="show",CI="dropup",RI="dropend",OI="dropstart",kI="dropup-center",MI="dropdown-center",gi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',NI=`${gi}.${ao}`,Fa=".dropdown-menu",PI=".navbar",LI=".navbar-nav",DI=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",BI=ar()?"top-end":"top-start",$I=ar()?"top-start":"top-end",UI=ar()?"bottom-end":"bottom-start",FI=ar()?"bottom-start":"bottom-end",jI=ar()?"left-start":"right-start",WI=ar()?"right-start":"left-start",HI="top",VI="bottom",qI={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},KI={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Lr extends wr{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Pe.next(this._element,Fa)[0]||Pe.prev(this._element,Fa)[0]||Pe.findOne(Fa,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qI}static get DefaultType(){return KI}static get NAME(){return Vg}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Wn(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Se.trigger(this._element,TI,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(LI))for(const n of[].concat(...document.body.children))Se.on(n,"mouseover",dl);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ao),this._element.classList.add(ao),Se.trigger(this._element,xI,t)}}hide(){if(Wn(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Se.trigger(this._element,SI,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Se.off(n,"mouseover",dl);this._popper&&this._popper.destroy(),this._menu.classList.remove(ao),this._element.classList.remove(ao),this._element.setAttribute("aria-expanded","false"),cn.removeDataAttribute(this._menu,"popper"),Se.trigger(this._element,AI,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!un(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Vg.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof cb>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:un(this._config.reference)?t=jn(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=Jd(t,this._menu,r)}_isShown(){return this._menu.classList.contains(ao)}_getPlacement(){const t=this._parent;if(t.classList.contains(RI))return jI;if(t.classList.contains(OI))return WI;if(t.classList.contains(kI))return HI;if(t.classList.contains(MI))return VI;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(CI)?r?$I:BI:r?FI:UI}_detectNavbar(){return this._element.closest(PI)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(cn.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Ut(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=Pe.find(DI,this._menu).filter(o=>qo(o));n.length&&Zd(n,r,t===Kg,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Lr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}static clearMenus(t){if(t.button===EI||t.type==="keyup"&&t.key!==qg)return;const r=Pe.find(NI);for(const n of r){const o=Lr.getInstance(n);if(!o||o._config.autoClose===!1)continue;const i=t.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(t.target)&&(t.type==="keyup"&&t.key===qg||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:o._element};t.type==="click"&&(a.clickEvent=t),o._completeHide(a)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===wI,o=[vI,Kg].includes(t.key);if(!o&&!n||r&&!n)return;t.preventDefault();const i=this.matches(gi)?this:Pe.prev(this,gi)[0]||Pe.next(this,gi)[0]||Pe.findOne(gi,t.delegateTarget.parentNode),s=Lr.getOrCreateInstance(i);if(o){t.stopPropagation(),s.show(),s._selectMenuItem(t);return}s._isShown()&&(t.stopPropagation(),s.hide(),i.focus())}}Se.on(document,Cb,gi,Lr.dataApiKeydownHandler);Se.on(document,Cb,Fa,Lr.dataApiKeydownHandler);Se.on(document,Ib,Lr.clearMenus);Se.on(document,II,Lr.clearMenus);Se.on(document,Ib,gi,function(e){e.preventDefault(),Lr.getOrCreateInstance(this).toggle()});ur(Lr);const Rb="backdrop",YI="fade",Yg="show",zg=`mousedown.bs.${Rb}`,zI={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},GI={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ob extends zs{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return zI}static get DefaultType(){return GI}static get NAME(){return Rb}show(t){if(!this._config.isVisible){Ut(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Ys(r),r.classList.add(Yg),this._emulateAnimation(()=>{Ut(t)})}hide(t){if(!this._config.isVisible){Ut(t);return}this._getElement().classList.remove(Yg),this._emulateAnimation(()=>{this.dispose(),Ut(t)})}dispose(){this._isAppended&&(Se.off(this._element,zg),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(YI),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=jn(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Se.on(t,zg,()=>{Ut(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){gb(t,this._getElement(),this._config.isAnimated)}}const QI="focustrap",XI="bs.focustrap",gl=`.${XI}`,JI=`focusin${gl}`,ZI=`keydown.tab${gl}`,eC="Tab",tC="forward",Gg="backward",rC={autofocus:!0,trapElement:null},nC={autofocus:"boolean",trapElement:"element"};class kb extends zs{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return rC}static get DefaultType(){return nC}static get NAME(){return QI}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Se.off(document,gl),Se.on(document,JI,t=>this._handleFocusin(t)),Se.on(document,ZI,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Se.off(document,gl))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=Pe.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===Gg?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===eC&&(this._lastTabNavDirection=t.shiftKey?Gg:tC)}}const Qg=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Xg=".sticky-top",pa="padding-right",Jg="margin-right";class yf{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,pa,r=>r+t),this._setElementAttributes(Qg,pa,r=>r+t),this._setElementAttributes(Xg,Jg,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,pa),this._resetElementAttributes(Qg,pa),this._resetElementAttributes(Xg,Jg)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,n){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,r);const a=window.getComputedStyle(s).getPropertyValue(r);s.style.setProperty(r,`${n(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&cn.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=o=>{const i=cn.getDataAttribute(o,r);if(i===null){o.style.removeProperty(r);return}cn.removeDataAttribute(o,r),o.style.setProperty(r,i)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(un(t)){r(t);return}for(const n of Pe.find(t,this._element))r(n)}}const iC="modal",oC="bs.modal",lr=`.${oC}`,sC=".data-api",aC="Escape",lC=`hide${lr}`,uC=`hidePrevented${lr}`,Mb=`hidden${lr}`,Nb=`show${lr}`,cC=`shown${lr}`,fC=`resize${lr}`,hC=`click.dismiss${lr}`,dC=`mousedown.dismiss${lr}`,pC=`keydown.dismiss${lr}`,gC=`click${lr}${sC}`,Zg="modal-open",mC="fade",em="show",Zu="modal-static",yC=".modal.show",_C=".modal-dialog",bC=".modal-body",wC='[data-bs-toggle="modal"]',vC={backdrop:!0,focus:!0,keyboard:!0},EC={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Do extends wr{constructor(t,r){super(t,r),this._dialog=Pe.findOne(_C,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yf,this._addEventListeners()}static get Default(){return vC}static get DefaultType(){return EC}static get NAME(){return iC}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Se.trigger(this._element,Nb,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Zg),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Se.trigger(this._element,lC).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(em),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Se.off(window,lr),Se.off(this._dialog,lr),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ob({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new kb({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const r=Pe.findOne(bC,this._dialog);r&&(r.scrollTop=0),Ys(this._element),this._element.classList.add(em);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Se.trigger(this._element,cC,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Se.on(this._element,pC,t=>{if(t.key===aC){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Se.on(window,fC,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Se.on(this._element,dC,t=>{Se.one(this._element,hC,r=>{if(!(this._element!==t.target||this._element!==r.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Zg),this._resetAdjustments(),this._scrollBar.reset(),Se.trigger(this._element,Mb)})}_isAnimated(){return this._element.classList.contains(mC)}_triggerBackdropTransition(){if(Se.trigger(this._element,uC).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(Zu)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(Zu),this._queueCallback(()=>{this._element.classList.remove(Zu),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!t){const o=ar()?"paddingLeft":"paddingRight";this._element.style[o]=`${r}px`}if(!n&&t){const o=ar()?"paddingRight":"paddingLeft";this._element.style[o]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const n=Do.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}}Se.on(document,gC,wC,function(e){const t=Pe.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Se.one(t,Nb,o=>{o.defaultPrevented||Se.one(t,Mb,()=>{qo(this)&&this.focus()})});const r=Pe.findOne(yC);r&&Do.getInstance(r).hide(),Do.getOrCreateInstance(t).toggle(this)});Zl(Do);ur(Do);const SC="offcanvas",AC="bs.offcanvas",vn=`.${AC}`,Pb=".data-api",TC=`load${vn}${Pb}`,xC="Escape",tm="show",rm="showing",nm="hiding",IC="offcanvas-backdrop",Lb=".offcanvas.show",CC=`show${vn}`,RC=`shown${vn}`,OC=`hide${vn}`,im=`hidePrevented${vn}`,Db=`hidden${vn}`,kC=`resize${vn}`,MC=`click${vn}${Pb}`,NC=`keydown.dismiss${vn}`,PC='[data-bs-toggle="offcanvas"]',LC={backdrop:!0,keyboard:!0,scroll:!1},DC={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Hn extends wr{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return LC}static get DefaultType(){return DC}static get NAME(){return SC}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Se.trigger(this._element,CC,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yf().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(rm);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(tm),this._element.classList.remove(rm),Se.trigger(this._element,RC,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Se.trigger(this._element,OC).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(nm),this._backdrop.hide();const r=()=>{this._element.classList.remove(tm,nm),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yf().reset(),Se.trigger(this._element,Db)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Se.trigger(this._element,im);return}this.hide()},r=!!this._config.backdrop;return new Ob({className:IC,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new kb({trapElement:this._element})}_addEventListeners(){Se.on(this._element,NC,t=>{if(t.key===xC){if(this._config.keyboard){this.hide();return}Se.trigger(this._element,im)}})}static jQueryInterface(t){return this.each(function(){const r=Hn.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Se.on(document,MC,PC,function(e){const t=Pe.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Wn(this))return;Se.one(t,Db,()=>{qo(this)&&this.focus()});const r=Pe.findOne(Lb);r&&r!==t&&Hn.getInstance(r).hide(),Hn.getOrCreateInstance(t).toggle(this)});Se.on(window,TC,()=>{for(const e of Pe.find(Lb))Hn.getOrCreateInstance(e).show()});Se.on(window,kC,()=>{for(const e of Pe.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Hn.getOrCreateInstance(e).hide()});Zl(Hn);ur(Hn);const BC=/^aria-[\w-]*$/i,Bb={"*":["class","dir","id","lang","role",BC],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},$C=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),UC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,FC=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?$C.has(r)?!!UC.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function jC(e,t,r){if(!e.length)return e;if(r&&typeof r=="function")return r(e);const o=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const a=s.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){s.remove();continue}const l=[].concat(...s.attributes),u=[].concat(t["*"]||[],t[a]||[]);for(const c of l)FC(c,u)||s.removeAttribute(c.nodeName)}return o.body.innerHTML}const WC="TemplateFactory",HC={allowList:Bb,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},VC={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},qC={entry:"(string|element|function|null)",selector:"(string|element)"};class KC extends zs{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return HC}static get DefaultType(){return VC}static get NAME(){return WC}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[o,i]of Object.entries(this._config.content))this._setContent(t,i,o);const r=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&r.classList.add(...n.split(" ")),r}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[r,n]of Object.entries(t))super._typeCheckConfig({selector:r,entry:n},qC)}_setContent(t,r,n){const o=Pe.findOne(n,t);if(o){if(r=this._resolvePossibleFunction(r),!r){o.remove();return}if(un(r)){this._putElementInTemplate(jn(r),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(r);return}o.textContent=r}}_maybeSanitize(t){return this._config.sanitize?jC(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Ut(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const YC="tooltip",zC=new Set(["sanitize","allowList","sanitizeFn"]),ec="fade",GC="modal",ga="show",QC=".tooltip-inner",om=`.${GC}`,sm="hide.bs.modal",os="hover",tc="focus",XC="click",JC="manual",ZC="hide",eR="hidden",tR="show",rR="shown",nR="inserted",iR="click",oR="focusin",sR="focusout",aR="mouseenter",lR="mouseleave",uR={AUTO:"auto",TOP:"top",RIGHT:ar()?"left":"right",BOTTOM:"bottom",LEFT:ar()?"right":"left"},cR={allowList:Bb,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},fR={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Yo extends wr{constructor(t,r){if(typeof cb>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,r),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return cR}static get DefaultType(){return fR}static get NAME(){return YC}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),Se.off(this._element.closest(om),sm,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=Se.trigger(this._element,this.constructor.eventName(tR)),n=(db(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),Se.trigger(this._element,this.constructor.eventName(nR))),this._popper=this._createPopper(o),o.classList.add(ga),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))Se.on(a,"mouseover",dl);const s=()=>{Se.trigger(this._element,this.constructor.eventName(rR)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Se.trigger(this._element,this.constructor.eventName(ZC)).defaultPrevented)return;if(this._getTipElement().classList.remove(ga),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))Se.off(o,"mouseover",dl);this._activeTrigger[XC]=!1,this._activeTrigger[tc]=!1,this._activeTrigger[os]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Se.trigger(this._element,this.constructor.eventName(eR)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const r=this._getTemplateFactory(t).toHtml();if(!r)return null;r.classList.remove(ec,ga),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=QT(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(ec),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new KC({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[QC]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ec)}_isShown(){return this.tip&&this.tip.classList.contains(ga)}_createPopper(t){const r=Ut(this._config.placement,[this,t,this._element]),n=uR[r.toUpperCase()];return Jd(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_resolvePossibleFunction(t){return Ut(t,[this._element])}_getPopperConfig(t){const r={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...r,...Ut(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")Se.on(this._element,this.constructor.eventName(iR),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==JC){const n=r===os?this.constructor.eventName(aR):this.constructor.eventName(oR),o=r===os?this.constructor.eventName(lR):this.constructor.eventName(sR);Se.on(this._element,n,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?tc:os]=!0,s._enter()}),Se.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?tc:os]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Se.on(this._element.closest(om),sm,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=cn.getDataAttributes(this._element);for(const n of Object.keys(r))zC.has(n)&&delete r[n];return t={...r,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:jn(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[r,n]of Object.entries(this._config))this.constructor.Default[r]!==n&&(t[r]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const r=Yo.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}ur(Yo);const hR="popover",dR=".popover-header",pR=".popover-body",gR={...Yo.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},mR={...Yo.DefaultType,content:"(null|string|element|function)"};class rp extends Yo{static get Default(){return gR}static get DefaultType(){return mR}static get NAME(){return hR}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[dR]:this._getTitle(),[pR]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=rp.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}ur(rp);const yR="scrollspy",_R="bs.scrollspy",np=`.${_R}`,bR=".data-api",wR=`activate${np}`,am=`click${np}`,vR=`load${np}${bR}`,ER="dropdown-item",eo="active",SR='[data-bs-spy="scroll"]',rc="[href]",AR=".nav, .list-group",lm=".nav-link",TR=".nav-item",xR=".list-group-item",IR=`${lm}, ${TR} > ${lm}, ${xR}`,CR=".dropdown",RR=".dropdown-toggle",OR={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},kR={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ru extends wr{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return OR}static get DefaultType(){return kR}static get NAME(){return yR}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=jn(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(r=>Number.parseFloat(r))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Se.off(this._config.target,am),Se.on(this._config.target,am,rc,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const n=this._rootElement||window,o=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:o,behavior:"smooth"});return}n.scrollTop=o}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=s=>this._targetLinks.get(`#${s.target.id}`),n=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(r(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of t){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(s));continue}const a=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(n(s),!o)return;continue}!i&&!a&&n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Pe.find(rc,this._config.target);for(const r of t){if(!r.hash||Wn(r))continue;const n=Pe.findOne(decodeURI(r.hash),this._element);qo(n)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(eo),this._activateParents(t),Se.trigger(this._element,wR,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(ER)){Pe.findOne(RR,t.closest(CR)).classList.add(eo);return}for(const r of Pe.parents(t,AR))for(const n of Pe.prev(r,IR))n.classList.add(eo)}_clearActiveClass(t){t.classList.remove(eo);const r=Pe.find(`${rc}.${eo}`,t);for(const n of r)n.classList.remove(eo)}static jQueryInterface(t){return this.each(function(){const r=ru.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Se.on(window,vR,()=>{for(const e of Pe.find(SR))ru.getOrCreateInstance(e)});ur(ru);const MR="tab",NR="bs.tab",Ui=`.${NR}`,PR=`hide${Ui}`,LR=`hidden${Ui}`,DR=`show${Ui}`,BR=`shown${Ui}`,$R=`click${Ui}`,UR=`keydown${Ui}`,FR=`load${Ui}`,jR="ArrowLeft",um="ArrowRight",WR="ArrowUp",cm="ArrowDown",nc="Home",fm="End",mi="active",hm="fade",ic="show",HR="dropdown",$b=".dropdown-toggle",VR=".dropdown-menu",oc=`:not(${$b})`,qR='.list-group, .nav, [role="tablist"]',KR=".nav-item, .list-group-item",YR=`.nav-link${oc}, .list-group-item${oc}, [role="tab"]${oc}`,Ub='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',sc=`${YR}, ${Ub}`,zR=`.${mi}[data-bs-toggle="tab"], .${mi}[data-bs-toggle="pill"], .${mi}[data-bs-toggle="list"]`;class Bo extends wr{constructor(t){super(t),this._parent=this._element.closest(qR),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Se.on(this._element,UR,r=>this._keydown(r)))}static get NAME(){return MR}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?Se.trigger(r,PR,{relatedTarget:t}):null;Se.trigger(t,DR,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(mi),this._activate(Pe.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(ic);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Se.trigger(t,BR,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(hm))}_deactivate(t,r){if(!t)return;t.classList.remove(mi),t.blur(),this._deactivate(Pe.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(ic);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Se.trigger(t,LR,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(hm))}_keydown(t){if(![jR,um,WR,cm,nc,fm].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(o=>!Wn(o));let n;if([nc,fm].includes(t.key))n=r[t.key===nc?0:r.length-1];else{const o=[um,cm].includes(t.key);n=Zd(r,t.target,o,!0)}n&&(n.focus({preventScroll:!0}),Bo.getOrCreateInstance(n).show())}_getChildren(){return Pe.find(sc,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",r),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=Pe.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const n=this._getOuterElement(t);if(!n.classList.contains(HR))return;const o=(i,s)=>{const a=Pe.findOne(i,n);a&&a.classList.toggle(s,r)};o($b,mi),o(VR,ic),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(mi)}_getInnerElement(t){return t.matches(sc)?t:Pe.findOne(sc,t)}_getOuterElement(t){return t.closest(KR)||t}static jQueryInterface(t){return this.each(function(){const r=Bo.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Se.on(document,$R,Ub,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Wn(this)&&Bo.getOrCreateInstance(this).show()});Se.on(window,FR,()=>{for(const e of Pe.find(zR))Bo.getOrCreateInstance(e)});ur(Bo);const GR="toast",QR="bs.toast",zn=`.${QR}`,XR=`mouseover${zn}`,JR=`mouseout${zn}`,ZR=`focusin${zn}`,eO=`focusout${zn}`,tO=`hide${zn}`,rO=`hidden${zn}`,nO=`show${zn}`,iO=`shown${zn}`,oO="fade",dm="hide",ma="show",ya="showing",sO={animation:"boolean",autohide:"boolean",delay:"number"},aO={animation:!0,autohide:!0,delay:5e3};class nu extends wr{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return aO}static get DefaultType(){return sO}static get NAME(){return GR}show(){if(Se.trigger(this._element,nO).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(oO);const r=()=>{this._element.classList.remove(ya),Se.trigger(this._element,iO),this._maybeScheduleHide()};this._element.classList.remove(dm),Ys(this._element),this._element.classList.add(ma,ya),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Se.trigger(this._element,tO).defaultPrevented)return;const r=()=>{this._element.classList.add(dm),this._element.classList.remove(ya,ma),Se.trigger(this._element,rO)};this._element.classList.add(ya),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ma),super.dispose()}isShown(){return this._element.classList.contains(ma)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){Se.on(this._element,XR,t=>this._onInteraction(t,!0)),Se.on(this._element,JR,t=>this._onInteraction(t,!1)),Se.on(this._element,ZR,t=>this._onInteraction(t,!0)),Se.on(this._element,eO,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=nu.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Zl(nu);ur(nu);var ip=Object.defineProperty,lO=Object.getOwnPropertyDescriptor,uO=Object.getOwnPropertyNames,cO=Object.prototype.hasOwnProperty,_t=(e,t)=>()=>(e&&(t=e(e=0)),t),Ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Fi=(e,t)=>{for(var r in t)ip(e,r,{get:t[r],enumerable:!0})},fO=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of uO(t))!cO.call(e,o)&&o!==r&&ip(e,o,{get:()=>t[o],enumerable:!(n=lO(t,o))||n.enumerable});return e},Ge=e=>fO(ip({},"__esModule",{value:!0}),e),_e=_t(()=>{}),We={};Fi(We,{_debugEnd:()=>Qf,_debugProcess:()=>Gf,_events:()=>fh,_eventsCount:()=>hh,_exiting:()=>Lf,_fatalExceptions:()=>Kf,_getActiveHandles:()=>Kb,_getActiveRequests:()=>qb,_kill:()=>$f,_linkedBinding:()=>Hb,_maxListeners:()=>ch,_preload_modules:()=>lh,_rawDebug:()=>Mf,_startProfilerIdleNotifier:()=>Xf,_stopProfilerIdleNotifier:()=>Jf,_tickCallback:()=>zf,abort:()=>rh,addListener:()=>dh,allowedNodeEnvironmentFlags:()=>Vf,arch:()=>bf,argv:()=>Ef,argv0:()=>ah,assert:()=>Yb,binding:()=>If,chdir:()=>Of,config:()=>Df,cpuUsage:()=>ms,cwd:()=>Rf,debugPort:()=>sh,default:()=>sp,dlopen:()=>Vb,domain:()=>Pf,emit:()=>_h,emitWarning:()=>xf,env:()=>vf,execArgv:()=>Sf,execPath:()=>oh,exit:()=>Wf,features:()=>qf,hasUncaughtExceptionCaptureCallback:()=>zb,hrtime:()=>ja,kill:()=>jf,listeners:()=>Qb,memoryUsage:()=>Ff,moduleLoadList:()=>Nf,nextTick:()=>jb,off:()=>gh,on:()=>zr,once:()=>ph,openStdin:()=>Hf,pid:()=>nh,platform:()=>wf,ppid:()=>ih,prependListener:()=>bh,prependOnceListener:()=>wh,reallyExit:()=>Bf,release:()=>kf,removeAllListeners:()=>yh,removeListener:()=>mh,resourceUsage:()=>Uf,setSourceMapsEnabled:()=>uh,setUncaughtExceptionCaptureCallback:()=>Yf,stderr:()=>eh,stdin:()=>th,stdout:()=>Zf,title:()=>_f,umask:()=>Cf,uptime:()=>Gb,version:()=>Af,versions:()=>Tf});function op(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function hO(){!Ai||!yi||(Ai=!1,yi.length?kr=yi.concat(kr):Rs=-1,kr.length&&Fb())}function Fb(){if(!Ai){var e=setTimeout(hO,0);Ai=!0;for(var t=kr.length;t;){for(yi=kr,kr=[];++Rs1)for(var r=1;r{_e(),we(),be(),kr=[],Ai=!1,Rs=-1,Wb.prototype.run=function(){this.fun.apply(null,this.array)},_f="browser",bf="x64",wf="browser",vf={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},Ef=["/usr/bin/node"],Sf=[],Af="v16.8.0",Tf={},xf=function(e,t){console.warn((t?t+": ":"")+e)},If=function(e){op("binding")},Cf=function(e){return 0},Rf=function(){return"/"},Of=function(e){},kf={name:"node",sourceUrl:"",headersUrl:"",libUrl:""},Mf=St,Nf=[],Pf={},Lf=!1,Df={},Bf=St,$f=St,ms=function(){return{}},Uf=ms,Ff=ms,jf=St,Wf=St,Hf=St,Vf={},qf={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Kf=St,Yf=St,zf=St,Gf=St,Qf=St,Xf=St,Jf=St,Zf=void 0,eh=void 0,th=void 0,rh=St,nh=2,ih=1,oh="/bin/usr/node",sh=9229,ah="node",lh=[],uh=St,Zr={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0},Zr.now===void 0&&(ac=Date.now(),Zr.timing&&Zr.timing.navigationStart&&(ac=Zr.timing.navigationStart),Zr.now=()=>Date.now()-ac),Wa=1e9,ja.bigint=function(e){var t=ja(e);return typeof BigInt>"u"?t[0]*Wa+t[1]:BigInt(t[0]*Wa)+BigInt(t[1])},ch=10,fh={},hh=0,dh=zr,ph=zr,gh=zr,mh=zr,yh=zr,_h=St,bh=zr,wh=zr,sp={version:Af,versions:Tf,arch:bf,platform:wf,release:kf,_rawDebug:Mf,moduleLoadList:Nf,binding:If,_linkedBinding:Hb,_events:fh,_eventsCount:hh,_maxListeners:ch,on:zr,addListener:dh,once:ph,off:gh,removeListener:mh,removeAllListeners:yh,emit:_h,prependListener:bh,prependOnceListener:wh,listeners:Qb,domain:Pf,_exiting:Lf,config:Df,dlopen:Vb,uptime:Gb,_getActiveRequests:qb,_getActiveHandles:Kb,reallyExit:Bf,_kill:$f,cpuUsage:ms,resourceUsage:Uf,memoryUsage:Ff,kill:jf,exit:Wf,openStdin:Hf,allowedNodeEnvironmentFlags:Vf,assert:Yb,features:qf,_fatalExceptions:Kf,setUncaughtExceptionCaptureCallback:Yf,hasUncaughtExceptionCaptureCallback:zb,emitWarning:xf,nextTick:jb,_tickCallback:zf,_debugProcess:Gf,_debugEnd:Qf,_startProfilerIdleNotifier:Xf,_stopProfilerIdleNotifier:Jf,stdout:Zf,stdin:th,stderr:eh,abort:rh,umask:Cf,chdir:Of,cwd:Rf,env:vf,title:_f,argv:Ef,execArgv:Sf,pid:nh,ppid:ih,execPath:oh,debugPort:sh,hrtime:ja,argv0:ah,_preload_modules:lh,setSourceMapsEnabled:uh}}),be=_t(()=>{dO()}),bt={};Fi(bt,{Buffer:()=>ml,INSPECT_MAX_BYTES:()=>Xb,default:()=>Gr,kMaxLength:()=>Jb});function pO(){if(vh)return lo;vh=!0,lo.byteLength=a,lo.toByteArray=u,lo.fromByteArray=p;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=n.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var b=m.indexOf("=");b===-1&&(b=_);var T=b===_?0:4-b%4;return[b,T]}function a(m){var _=s(m),b=_[0],T=_[1];return(b+T)*3/4-T}function l(m,_,b){return(_+b)*3/4-b}function u(m){var _,b=s(m),T=b[0],k=b[1],C=new r(l(m,T,k)),A=0,M=k>0?T-4:T,$;for($=0;$>16&255,C[A++]=_>>8&255,C[A++]=_&255;return k===2&&(_=t[m.charCodeAt($)]<<2|t[m.charCodeAt($+1)]>>4,C[A++]=_&255),k===1&&(_=t[m.charCodeAt($)]<<10|t[m.charCodeAt($+1)]<<4|t[m.charCodeAt($+2)]>>2,C[A++]=_>>8&255,C[A++]=_&255),C}function c(m){return e[m>>18&63]+e[m>>12&63]+e[m>>6&63]+e[m&63]}function d(m,_,b){for(var T,k=[],C=_;CM?M:A+C));return T===1?(_=m[b-1],k.push(e[_>>2]+e[_<<4&63]+"==")):T===2&&(_=(m[b-2]<<8)+m[b-1],k.push(e[_>>10]+e[_>>4&63]+e[_<<2&63]+"=")),k.join("")}return lo}function gO(){return Eh?ys:(Eh=!0,ys.read=function(e,t,r,n,o){var i,s,a=o*8-n-1,l=(1<>1,c=-7,d=r?o-1:0,p=r?-1:1,m=e[t+d];for(d+=p,i=m&(1<<-c)-1,m>>=-c,c+=a;c>0;i=i*256+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(i===0)i=1-u;else{if(i===l)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-u}return(m?-1:1)*s*Math.pow(2,i-n)},ys.write=function(e,t,r,n,o,i){var s,a,l,u=i*8-o-1,c=(1<>1,p=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:i-1,_=n?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,o),s=s+d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[r+m]=a&255,m+=_,a/=256,o-=8);for(s=s<0;e[r+m]=s&255,m+=_,s/=256,u-=8);e[r+m-_]|=b*128},ys)}function mO(){if(Sh)return Rn;Sh=!0;let e=pO(),t=gO(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Rn.Buffer=s,Rn.SlowBuffer=k,Rn.INSPECT_MAX_BYTES=50;let n=2147483647;Rn.kMaxLength=n,s.TYPED_ARRAY_SUPPORT=o(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{let y=new Uint8Array(1),h={foo:function(){return 42}};return Object.setPrototypeOf(h,Uint8Array.prototype),Object.setPrototypeOf(y,h),y.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function i(y){if(y>n)throw new RangeError('The value "'+y+'" is invalid for option "size"');let h=new Uint8Array(y);return Object.setPrototypeOf(h,s.prototype),h}function s(y,h,f){if(typeof y=="number"){if(typeof h=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(y)}return a(y,h,f)}s.poolSize=8192;function a(y,h,f){if(typeof y=="string")return d(y,h);if(ArrayBuffer.isView(y))return m(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(q(y,ArrayBuffer)||y&&q(y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(q(y,SharedArrayBuffer)||y&&q(y.buffer,SharedArrayBuffer)))return _(y,h,f);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let g=y.valueOf&&y.valueOf();if(g!=null&&g!==y)return s.from(g,h,f);let w=b(y);if(w)return w;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return s.from(y[Symbol.toPrimitive]("string"),h,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}s.from=function(y,h,f){return a(y,h,f)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function l(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function u(y,h,f){return l(y),y<=0?i(y):h!==void 0?typeof f=="string"?i(y).fill(h,f):i(y).fill(h):i(y)}s.alloc=function(y,h,f){return u(y,h,f)};function c(y){return l(y),i(y<0?0:T(y)|0)}s.allocUnsafe=function(y){return c(y)},s.allocUnsafeSlow=function(y){return c(y)};function d(y,h){if((typeof h!="string"||h==="")&&(h="utf8"),!s.isEncoding(h))throw new TypeError("Unknown encoding: "+h);let f=C(y,h)|0,g=i(f),w=g.write(y,h);return w!==f&&(g=g.slice(0,w)),g}function p(y){let h=y.length<0?0:T(y.length)|0,f=i(h);for(let g=0;g=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return y|0}function k(y){return+y!=y&&(y=0),s.alloc(+y)}s.isBuffer=function(y){return y!=null&&y._isBuffer===!0&&y!==s.prototype},s.compare=function(y,h){if(q(y,Uint8Array)&&(y=s.from(y,y.offset,y.byteLength)),q(h,Uint8Array)&&(h=s.from(h,h.offset,h.byteLength)),!s.isBuffer(y)||!s.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(y===h)return 0;let f=y.length,g=h.length;for(let w=0,I=Math.min(f,g);wg.length?(s.isBuffer(I)||(I=s.from(I)),I.copy(g,w)):Uint8Array.prototype.set.call(g,I,w);else if(s.isBuffer(I))I.copy(g,w);else throw new TypeError('"list" argument must be an Array of Buffers');w+=I.length}return g};function C(y,h){if(s.isBuffer(y))return y.length;if(ArrayBuffer.isView(y)||q(y,ArrayBuffer))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);let f=y.length,g=arguments.length>2&&arguments[2]===!0;if(!g&&f===0)return 0;let w=!1;for(;;)switch(h){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return N(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return te(y).length;default:if(w)return g?-1:N(y).length;h=(""+h).toLowerCase(),w=!0}}s.byteLength=C;function A(y,h,f){let g=!1;if((h===void 0||h<0)&&(h=0),h>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,h>>>=0,f<=h))return"";for(y||(y="utf8");;)switch(y){case"hex":return G(this,h,f);case"utf8":case"utf-8":return B(this,h,f);case"ascii":return ue(this,h,f);case"latin1":case"binary":return ae(this,h,f);case"base64":return L(this,h,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pe(this,h,f);default:if(g)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),g=!0}}s.prototype._isBuffer=!0;function M(y,h,f){let g=y[h];y[h]=y[f],y[f]=g}s.prototype.swap16=function(){let y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;hh&&(y+=" ... "),""},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(y,h,f,g,w){if(q(y,Uint8Array)&&(y=s.from(y,y.offset,y.byteLength)),!s.isBuffer(y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof y);if(h===void 0&&(h=0),f===void 0&&(f=y?y.length:0),g===void 0&&(g=0),w===void 0&&(w=this.length),h<0||f>y.length||g<0||w>this.length)throw new RangeError("out of range index");if(g>=w&&h>=f)return 0;if(g>=w)return-1;if(h>=f)return 1;if(h>>>=0,f>>>=0,g>>>=0,w>>>=0,this===y)return 0;let I=w-g,W=f-h,ce=Math.min(I,W),xe=this.slice(g,w),ke=y.slice(h,f);for(let Te=0;Te2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,x(f)&&(f=w?0:y.length-1),f<0&&(f=y.length+f),f>=y.length){if(w)return-1;f=y.length-1}else if(f<0)if(w)f=0;else return-1;if(typeof h=="string"&&(h=s.from(h,g)),s.isBuffer(h))return h.length===0?-1:R(y,h,f,g,w);if(typeof h=="number")return h=h&255,typeof Uint8Array.prototype.indexOf=="function"?w?Uint8Array.prototype.indexOf.call(y,h,f):Uint8Array.prototype.lastIndexOf.call(y,h,f):R(y,[h],f,g,w);throw new TypeError("val must be string, number or Buffer")}function R(y,h,f,g,w){let I=1,W=y.length,ce=h.length;if(g!==void 0&&(g=String(g).toLowerCase(),g==="ucs2"||g==="ucs-2"||g==="utf16le"||g==="utf-16le")){if(y.length<2||h.length<2)return-1;I=2,W/=2,ce/=2,f/=2}function xe(Te,Oe){return I===1?Te[Oe]:Te.readUInt16BE(Oe*I)}let ke;if(w){let Te=-1;for(ke=f;keW&&(f=W-ce),ke=f;ke>=0;ke--){let Te=!0;for(let Oe=0;Oew&&(g=w)):g=w;let I=h.length;g>I/2&&(g=I/2);let W;for(W=0;W>>0,isFinite(f)?(f=f>>>0,g===void 0&&(g="utf8")):(g=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let w=this.length-h;if((f===void 0||f>w)&&(f=w),y.length>0&&(f<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");g||(g="utf8");let I=!1;for(;;)switch(g){case"hex":return D(this,y,h,f);case"utf8":case"utf-8":return j(this,y,h,f);case"ascii":case"latin1":case"binary":return z(this,y,h,f);case"base64":return se(this,y,h,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,y,h,f);default:if(I)throw new TypeError("Unknown encoding: "+g);g=(""+g).toLowerCase(),I=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(y,h,f){return h===0&&f===y.length?e.fromByteArray(y):e.fromByteArray(y.slice(h,f))}function B(y,h,f){f=Math.min(y.length,f);let g=[],w=h;for(;w239?4:I>223?3:I>191?2:1;if(w+ce<=f){let xe,ke,Te,Oe;switch(ce){case 1:I<128&&(W=I);break;case 2:xe=y[w+1],(xe&192)===128&&(Oe=(I&31)<<6|xe&63,Oe>127&&(W=Oe));break;case 3:xe=y[w+1],ke=y[w+2],(xe&192)===128&&(ke&192)===128&&(Oe=(I&15)<<12|(xe&63)<<6|ke&63,Oe>2047&&(Oe<55296||Oe>57343)&&(W=Oe));break;case 4:xe=y[w+1],ke=y[w+2],Te=y[w+3],(xe&192)===128&&(ke&192)===128&&(Te&192)===128&&(Oe=(I&15)<<18|(xe&63)<<12|(ke&63)<<6|Te&63,Oe>65535&&Oe<1114112&&(W=Oe))}}W===null?(W=65533,ce=1):W>65535&&(W-=65536,g.push(W>>>10&1023|55296),W=56320|W&1023),g.push(W),w+=ce}return ne(g)}let oe=4096;function ne(y){let h=y.length;if(h<=oe)return String.fromCharCode.apply(String,y);let f="",g=0;for(;gg)&&(f=g);let w="";for(let I=h;If&&(y=f),h<0?(h+=f,h<0&&(h=0)):h>f&&(h=f),hf)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(y,h,f){y=y>>>0,h=h>>>0,f||de(y,h,this.length);let g=this[y],w=1,I=0;for(;++I>>0,h=h>>>0,f||de(y,h,this.length);let g=this[y+--h],w=1;for(;h>0&&(w*=256);)g+=this[y+--h]*w;return g},s.prototype.readUint8=s.prototype.readUInt8=function(y,h){return y=y>>>0,h||de(y,1,this.length),this[y]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(y,h){return y=y>>>0,h||de(y,2,this.length),this[y]|this[y+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(y,h){return y=y>>>0,h||de(y,2,this.length),this[y]<<8|this[y+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(y,h){return y=y>>>0,h||de(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(y,h){return y=y>>>0,h||de(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},s.prototype.readBigUInt64LE=Y(function(y){y=y>>>0,ee(y,"offset");let h=this[y],f=this[y+7];(h===void 0||f===void 0)&&v(y,this.length-8);let g=h+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24,w=this[++y]+this[++y]*2**8+this[++y]*2**16+f*2**24;return BigInt(g)+(BigInt(w)<>>0,ee(y,"offset");let h=this[y],f=this[y+7];(h===void 0||f===void 0)&&v(y,this.length-8);let g=h*2**24+this[++y]*2**16+this[++y]*2**8+this[++y],w=this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+f;return(BigInt(g)<>>0,h=h>>>0,f||de(y,h,this.length);let g=this[y],w=1,I=0;for(;++I=w&&(g-=Math.pow(2,8*h)),g},s.prototype.readIntBE=function(y,h,f){y=y>>>0,h=h>>>0,f||de(y,h,this.length);let g=h,w=1,I=this[y+--g];for(;g>0&&(w*=256);)I+=this[y+--g]*w;return w*=128,I>=w&&(I-=Math.pow(2,8*h)),I},s.prototype.readInt8=function(y,h){return y=y>>>0,h||de(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},s.prototype.readInt16LE=function(y,h){y=y>>>0,h||de(y,2,this.length);let f=this[y]|this[y+1]<<8;return f&32768?f|4294901760:f},s.prototype.readInt16BE=function(y,h){y=y>>>0,h||de(y,2,this.length);let f=this[y+1]|this[y]<<8;return f&32768?f|4294901760:f},s.prototype.readInt32LE=function(y,h){return y=y>>>0,h||de(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},s.prototype.readInt32BE=function(y,h){return y=y>>>0,h||de(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},s.prototype.readBigInt64LE=Y(function(y){y=y>>>0,ee(y,"offset");let h=this[y],f=this[y+7];(h===void 0||f===void 0)&&v(y,this.length-8);let g=this[y+4]+this[y+5]*2**8+this[y+6]*2**16+(f<<24);return(BigInt(g)<>>0,ee(y,"offset");let h=this[y],f=this[y+7];(h===void 0||f===void 0)&&v(y,this.length-8);let g=(h<<24)+this[++y]*2**16+this[++y]*2**8+this[++y];return(BigInt(g)<>>0,h||de(y,4,this.length),t.read(this,y,!0,23,4)},s.prototype.readFloatBE=function(y,h){return y=y>>>0,h||de(y,4,this.length),t.read(this,y,!1,23,4)},s.prototype.readDoubleLE=function(y,h){return y=y>>>0,h||de(y,8,this.length),t.read(this,y,!0,52,8)},s.prototype.readDoubleBE=function(y,h){return y=y>>>0,h||de(y,8,this.length),t.read(this,y,!1,52,8)};function ge(y,h,f,g,w,I){if(!s.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>w||hy.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(y,h,f,g){if(y=+y,h=h>>>0,f=f>>>0,!g){let W=Math.pow(2,8*f)-1;ge(this,y,h,f,W,0)}let w=1,I=0;for(this[h]=y&255;++I>>0,f=f>>>0,!g){let W=Math.pow(2,8*f)-1;ge(this,y,h,f,W,0)}let w=f-1,I=1;for(this[h+w]=y&255;--w>=0&&(I*=256);)this[h+w]=y/I&255;return h+f},s.prototype.writeUint8=s.prototype.writeUInt8=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,1,255,0),this[h]=y&255,h+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,2,65535,0),this[h]=y&255,this[h+1]=y>>>8,h+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,2,65535,0),this[h]=y>>>8,this[h+1]=y&255,h+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,4,4294967295,0),this[h+3]=y>>>24,this[h+2]=y>>>16,this[h+1]=y>>>8,this[h]=y&255,h+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,4,4294967295,0),this[h]=y>>>24,this[h+1]=y>>>16,this[h+2]=y>>>8,this[h+3]=y&255,h+4};function O(y,h,f,g,w){fe(h,g,w,y,f,7);let I=Number(h&BigInt(4294967295));y[f++]=I,I=I>>8,y[f++]=I,I=I>>8,y[f++]=I,I=I>>8,y[f++]=I;let W=Number(h>>BigInt(32)&BigInt(4294967295));return y[f++]=W,W=W>>8,y[f++]=W,W=W>>8,y[f++]=W,W=W>>8,y[f++]=W,f}function ie(y,h,f,g,w){fe(h,g,w,y,f,7);let I=Number(h&BigInt(4294967295));y[f+7]=I,I=I>>8,y[f+6]=I,I=I>>8,y[f+5]=I,I=I>>8,y[f+4]=I;let W=Number(h>>BigInt(32)&BigInt(4294967295));return y[f+3]=W,W=W>>8,y[f+2]=W,W=W>>8,y[f+1]=W,W=W>>8,y[f]=W,f+8}s.prototype.writeBigUInt64LE=Y(function(y,h=0){return O(this,y,h,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=Y(function(y,h=0){return ie(this,y,h,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(y,h,f,g){if(y=+y,h=h>>>0,!g){let ce=Math.pow(2,8*f-1);ge(this,y,h,f,ce-1,-ce)}let w=0,I=1,W=0;for(this[h]=y&255;++w>0)-W&255;return h+f},s.prototype.writeIntBE=function(y,h,f,g){if(y=+y,h=h>>>0,!g){let ce=Math.pow(2,8*f-1);ge(this,y,h,f,ce-1,-ce)}let w=f-1,I=1,W=0;for(this[h+w]=y&255;--w>=0&&(I*=256);)y<0&&W===0&&this[h+w+1]!==0&&(W=1),this[h+w]=(y/I>>0)-W&255;return h+f},s.prototype.writeInt8=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,1,127,-128),y<0&&(y=255+y+1),this[h]=y&255,h+1},s.prototype.writeInt16LE=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,2,32767,-32768),this[h]=y&255,this[h+1]=y>>>8,h+2},s.prototype.writeInt16BE=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,2,32767,-32768),this[h]=y>>>8,this[h+1]=y&255,h+2},s.prototype.writeInt32LE=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,4,2147483647,-2147483648),this[h]=y&255,this[h+1]=y>>>8,this[h+2]=y>>>16,this[h+3]=y>>>24,h+4},s.prototype.writeInt32BE=function(y,h,f){return y=+y,h=h>>>0,f||ge(this,y,h,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),this[h]=y>>>24,this[h+1]=y>>>16,this[h+2]=y>>>8,this[h+3]=y&255,h+4},s.prototype.writeBigInt64LE=Y(function(y,h=0){return O(this,y,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=Y(function(y,h=0){return ie(this,y,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function me(y,h,f,g,w,I){if(f+g>y.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function ve(y,h,f,g,w){return h=+h,f=f>>>0,w||me(y,h,f,4),t.write(y,h,f,g,23,4),f+4}s.prototype.writeFloatLE=function(y,h,f){return ve(this,y,h,!0,f)},s.prototype.writeFloatBE=function(y,h,f){return ve(this,y,h,!1,f)};function ye(y,h,f,g,w){return h=+h,f=f>>>0,w||me(y,h,f,8),t.write(y,h,f,g,52,8),f+8}s.prototype.writeDoubleLE=function(y,h,f){return ye(this,y,h,!0,f)},s.prototype.writeDoubleBE=function(y,h,f){return ye(this,y,h,!1,f)},s.prototype.copy=function(y,h,f,g){if(!s.isBuffer(y))throw new TypeError("argument should be a Buffer");if(f||(f=0),!g&&g!==0&&(g=this.length),h>=y.length&&(h=y.length),h||(h=0),g>0&&g=this.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("sourceEnd out of bounds");g>this.length&&(g=this.length),y.length-h>>0,f=f===void 0?this.length:f>>>0,y||(y=0);let w;if(typeof y=="number")for(w=h;w2**32?w=Z(String(f)):typeof f=="bigint"&&(w=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(w=Z(w)),w+="n"),g+=` It must be ${h}. Received ${w}`,g},RangeError);function Z(y){let h="",f=y.length,g=y[0]==="-"?1:0;for(;f>=g+4;f-=3)h=`_${y.slice(f-3,f)}${h}`;return`${y.slice(0,f)}${h}`}function he(y,h,f){ee(h,"offset"),(y[h]===void 0||y[h+f]===void 0)&&v(h,y.length-(f+1))}function fe(y,h,f,g,w,I){if(y>f||y= 0${W} and < 2${W} ** ${(I+1)*8}${W}`:ce=`>= -(2${W} ** ${(I+1)*8-1}${W}) and < 2 ** ${(I+1)*8-1}${W}`,new V.ERR_OUT_OF_RANGE("value",ce,y)}he(g,w,I)}function ee(y,h){if(typeof y!="number")throw new V.ERR_INVALID_ARG_TYPE(h,"number",y)}function v(y,h,f){throw Math.floor(y)!==y?(ee(y,f),new V.ERR_OUT_OF_RANGE("offset","an integer",y)):h<0?new V.ERR_BUFFER_OUT_OF_BOUNDS:new V.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${h}`,y)}let S=/[^+/0-9A-Za-z-_]/g;function E(y){if(y=y.split("=")[0],y=y.trim().replace(S,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function N(y,h){h=h||1/0;let f,g=y.length,w=null,I=[];for(let W=0;W55295&&f<57344){if(!w){if(f>56319){(h-=3)>-1&&I.push(239,191,189);continue}else if(W+1===g){(h-=3)>-1&&I.push(239,191,189);continue}w=f;continue}if(f<56320){(h-=3)>-1&&I.push(239,191,189),w=f;continue}f=(w-55296<<10|f-56320)+65536}else w&&(h-=3)>-1&&I.push(239,191,189);if(w=null,f<128){if((h-=1)<0)break;I.push(f)}else if(f<2048){if((h-=2)<0)break;I.push(f>>6|192,f&63|128)}else if(f<65536){if((h-=3)<0)break;I.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((h-=4)<0)break;I.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return I}function P(y){let h=[];for(let f=0;f>8,w=f%256,I.push(w),I.push(g);return I}function te(y){return e.toByteArray(E(y))}function U(y,h,f,g){let w;for(w=0;w=h.length||w>=y.length);++w)h[w+f]=y[w];return w}function q(y,h){return y instanceof h||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===h.name}function x(y){return y!==y}let K=function(){let y="0123456789abcdef",h=new Array(256);for(let f=0;f<16;++f){let g=f*16;for(let w=0;w<16;++w)h[g+w]=y[f]+y[w]}return h}();function Y(y){return typeof BigInt>"u"?le:y}function le(){throw new Error("BigInt not supported")}return Rn}var lo,vh,ys,Eh,Rn,Sh,Gr,ml,Xb,Jb,wt=_t(()=>{_e(),we(),be(),lo={},vh=!1,ys={},Eh=!1,Rn={},Sh=!1,Gr=mO(),Gr.Buffer,Gr.SlowBuffer,Gr.INSPECT_MAX_BYTES,Gr.kMaxLength,ml=Gr.Buffer,Xb=Gr.INSPECT_MAX_BYTES,Jb=Gr.kMaxLength}),we=_t(()=>{wt()}),yO=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(r){this.aliasToTopic={},this.max=r}put(r,n){return n===0||n>this.max?!1:(this.aliasToTopic[n]=r,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(r){return this.aliasToTopic[r]}clear(){this.aliasToTopic={}}};e.default=t}),ht=Ae((e,t)=>{_e(),we(),be(),t.exports={ArrayIsArray(r){return Array.isArray(r)},ArrayPrototypeIncludes(r,n){return r.includes(n)},ArrayPrototypeIndexOf(r,n){return r.indexOf(n)},ArrayPrototypeJoin(r,n){return r.join(n)},ArrayPrototypeMap(r,n){return r.map(n)},ArrayPrototypePop(r,n){return r.pop(n)},ArrayPrototypePush(r,n){return r.push(n)},ArrayPrototypeSlice(r,n,o){return r.slice(n,o)},Error,FunctionPrototypeCall(r,n,...o){return r.call(n,...o)},FunctionPrototypeSymbolHasInstance(r,n){return Function.prototype[Symbol.hasInstance].call(r,n)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(r,n){return Object.defineProperties(r,n)},ObjectDefineProperty(r,n,o){return Object.defineProperty(r,n,o)},ObjectGetOwnPropertyDescriptor(r,n){return Object.getOwnPropertyDescriptor(r,n)},ObjectKeys(r){return Object.keys(r)},ObjectSetPrototypeOf(r,n){return Object.setPrototypeOf(r,n)},Promise,PromisePrototypeCatch(r,n){return r.catch(n)},PromisePrototypeThen(r,n,o){return r.then(n,o)},PromiseReject(r){return Promise.reject(r)},ReflectApply:Reflect.apply,RegExpPrototypeTest(r,n){return r.test(n)},SafeSet:Set,String,StringPrototypeSlice(r,n,o){return r.slice(n,o)},StringPrototypeToLowerCase(r){return r.toLowerCase()},StringPrototypeToUpperCase(r){return r.toUpperCase()},StringPrototypeTrim(r){return r.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet(r,n,o){return r.set(n,o)},Uint8Array}}),hn=Ae((e,t)=>{_e(),we(),be();var r=(wt(),Ge(bt)),n=Object.getPrototypeOf(async function(){}).constructor,o=globalThis.Blob||r.Blob,i=typeof o<"u"?function(a){return a instanceof o}:function(a){return!1},s=class extends Error{constructor(a){if(!Array.isArray(a))throw new TypeError(`Expected input to be an Array, got ${typeof a}`);let l="";for(let u=0;u{a=u,l=c}),resolve:a,reject:l}},promisify(a){return new Promise((l,u)=>{a((c,...d)=>c?u(c):l(...d))})},debuglog(){return function(){}},format(a,...l){return a.replace(/%([sdifj])/g,function(...[u,c]){let d=l.shift();return c==="f"?d.toFixed(6):c==="j"?JSON.stringify(d):c==="s"&&typeof d=="object"?`${d.constructor!==Object?d.constructor.name:""} {}`.trim():d.toString()})},inspect(a){switch(typeof a){case"string":if(a.includes("'"))if(a.includes('"')){if(!a.includes("`")&&!a.includes("${"))return`\`${a}\``}else return`"${a}"`;return`'${a}'`;case"number":return isNaN(a)?"NaN":Object.is(a,-0)?String(a):a;case"bigint":return`${String(a)}n`;case"boolean":case"undefined":return String(a);case"object":return"{}"}},types:{isAsyncFunction(a){return a instanceof n},isArrayBufferView(a){return ArrayBuffer.isView(a)}},isBlob:i},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),ap=Ae((e,t)=>{_e(),we(),be();var{AbortController:r,AbortSignal:n}=typeof self<"u"?self:typeof window<"u"?window:void 0;t.exports=r,t.exports.AbortSignal=n,t.exports.default=r}),jt=Ae((e,t)=>{_e(),we(),be();var{format:r,inspect:n,AggregateError:o}=hn(),i=globalThis.AggregateError||o,s=Symbol("kIsNodeError"),a=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,u="__node_internal_",c={};function d(C,A){if(!C)throw new c.ERR_INTERNAL_ASSERTION(A)}function p(C){let A="",M=C.length,$=C[0]==="-"?1:0;for(;M>=$+4;M-=3)A=`_${C.slice(M-3,M)}${A}`;return`${C.slice(0,M)}${A}`}function m(C,A,M){if(typeof A=="function")return d(A.length<=M.length,`Code: ${C}; The provided arguments length (${M.length}) does not match the required ones (${A.length}).`),A(...M);let $=(A.match(/%[dfijoOs]/g)||[]).length;return d($===M.length,`Code: ${C}; The provided arguments length (${M.length}) does not match the required ones (${$}).`),M.length===0?A:r(A,...M)}function _(C,A,M){M||(M=Error);class $ extends M{constructor(...D){super(m(C,A,D))}toString(){return`${this.name} [${C}]: ${this.message}`}}Object.defineProperties($.prototype,{name:{value:M.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${C}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),$.prototype.code=C,$.prototype[s]=!0,c[C]=$}function b(C){let A=u+C.name;return Object.defineProperty(C,"name",{value:A}),C}function T(C,A){if(C&&A&&C!==A){if(Array.isArray(A.errors))return A.errors.push(C),A;let M=new i([A,C],A.message);return M.code=A.code,M}return C||A}var k=class extends Error{constructor(C="The operation was aborted",A=void 0){if(A!==void 0&&typeof A!="object")throw new c.ERR_INVALID_ARG_TYPE("options","Object",A);super(C,A),this.code="ABORT_ERR",this.name="AbortError"}};_("ERR_ASSERTION","%s",Error),_("ERR_INVALID_ARG_TYPE",(C,A,M)=>{d(typeof C=="string","'name' must be a string"),Array.isArray(A)||(A=[A]);let $="The ";C.endsWith(" argument")?$+=`${C} `:$+=`"${C}" ${C.includes(".")?"property":"argument"} `,$+="must be ";let R=[],D=[],j=[];for(let se of A)d(typeof se=="string","All expected entries have to be of type string"),a.includes(se)?R.push(se.toLowerCase()):l.test(se)?D.push(se):(d(se!=="object",'The value "object" should be written as "Object"'),j.push(se));if(D.length>0){let se=R.indexOf("object");se!==-1&&(R.splice(R,se,1),D.push("Object"))}if(R.length>0){switch(R.length){case 1:$+=`of type ${R[0]}`;break;case 2:$+=`one of type ${R[0]} or ${R[1]}`;break;default:{let se=R.pop();$+=`one of type ${R.join(", ")}, or ${se}`}}(D.length>0||j.length>0)&&($+=" or ")}if(D.length>0){switch(D.length){case 1:$+=`an instance of ${D[0]}`;break;case 2:$+=`an instance of ${D[0]} or ${D[1]}`;break;default:{let se=D.pop();$+=`an instance of ${D.join(", ")}, or ${se}`}}j.length>0&&($+=" or ")}switch(j.length){case 0:break;case 1:j[0].toLowerCase()!==j[0]&&($+="an "),$+=`${j[0]}`;break;case 2:$+=`one of ${j[0]} or ${j[1]}`;break;default:{let se=j.pop();$+=`one of ${j.join(", ")}, or ${se}`}}if(M==null)$+=`. Received ${M}`;else if(typeof M=="function"&&M.name)$+=`. Received function ${M.name}`;else if(typeof M=="object"){var z;if((z=M.constructor)!==null&&z!==void 0&&z.name)$+=`. Received an instance of ${M.constructor.name}`;else{let se=n(M,{depth:-1});$+=`. Received ${se}`}}else{let se=n(M,{colors:!1});se.length>25&&(se=`${se.slice(0,25)}...`),$+=`. Received type ${typeof M} (${se})`}return $},TypeError),_("ERR_INVALID_ARG_VALUE",(C,A,M="is invalid")=>{let $=n(A);return $.length>128&&($=$.slice(0,128)+"..."),`The ${C.includes(".")?"property":"argument"} '${C}' ${M}. Received ${$}`},TypeError),_("ERR_INVALID_RETURN_VALUE",(C,A,M)=>{var $;let R=M!=null&&($=M.constructor)!==null&&$!==void 0&&$.name?`instance of ${M.constructor.name}`:`type ${typeof M}`;return`Expected ${C} to be returned from the "${A}" function but got ${R}.`},TypeError),_("ERR_MISSING_ARGS",(...C)=>{d(C.length>0,"At least one arg needs to be specified");let A,M=C.length;switch(C=(Array.isArray(C)?C:[C]).map($=>`"${$}"`).join(" or "),M){case 1:A+=`The ${C[0]} argument`;break;case 2:A+=`The ${C[0]} and ${C[1]} arguments`;break;default:{let $=C.pop();A+=`The ${C.join(", ")}, and ${$} arguments`}break}return`${A} must be specified`},TypeError),_("ERR_OUT_OF_RANGE",(C,A,M)=>{d(A,'Missing "range" argument');let $;return Number.isInteger(M)&&Math.abs(M)>2**32?$=p(String(M)):typeof M=="bigint"?($=String(M),(M>2n**32n||M<-(2n**32n))&&($=p($)),$+="n"):$=n(M),`The value of "${C}" is out of range. It must be ${A}. Received ${$}`},RangeError),_("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),_("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),_("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),_("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),_("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),_("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),_("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),_("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),_("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),_("ERR_STREAM_WRITE_AFTER_END","write after end",Error),_("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:k,aggregateTwoErrors:b(T),hideStackFrames:b,codes:c}}),iu=Ae((e,t)=>{_e(),we(),be();var{ArrayIsArray:r,ArrayPrototypeIncludes:n,ArrayPrototypeJoin:o,ArrayPrototypeMap:i,NumberIsInteger:s,NumberIsNaN:a,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:u,NumberParseInt:c,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:p,String:m,StringPrototypeToUpperCase:_,StringPrototypeTrim:b}=ht(),{hideStackFrames:T,codes:{ERR_SOCKET_BAD_PORT:k,ERR_INVALID_ARG_TYPE:C,ERR_INVALID_ARG_VALUE:A,ERR_OUT_OF_RANGE:M,ERR_UNKNOWN_SIGNAL:$}}=jt(),{normalizeEncoding:R}=hn(),{isAsyncFunction:D,isArrayBufferView:j}=hn().types,z={};function se(U){return U===(U|0)}function re(U){return U===U>>>0}var L=/^[0-7]+$/,B="must be a 32-bit unsigned integer or an octal string";function oe(U,q,x){if(typeof U>"u"&&(U=x),typeof U=="string"){if(p(L,U)===null)throw new A(q,U,B);U=c(U,8)}return ae(U,q),U}var ne=T((U,q,x=u,K=l)=>{if(typeof U!="number")throw new C(q,"number",U);if(!s(U))throw new M(q,"an integer",U);if(UK)throw new M(q,`>= ${x} && <= ${K}`,U)}),ue=T((U,q,x=-2147483648,K=2147483647)=>{if(typeof U!="number")throw new C(q,"number",U);if(!s(U))throw new M(q,"an integer",U);if(UK)throw new M(q,`>= ${x} && <= ${K}`,U)}),ae=T((U,q,x=!1)=>{if(typeof U!="number")throw new C(q,"number",U);if(!s(U))throw new M(q,"an integer",U);let K=x?1:0,Y=4294967295;if(UY)throw new M(q,`>= ${K} && <= ${Y}`,U)});function G(U,q){if(typeof U!="string")throw new C(q,"string",U)}function pe(U,q,x=void 0,K){if(typeof U!="number")throw new C(q,"number",U);if(x!=null&&UK||(x!=null||K!=null)&&a(U))throw new M(q,`${x!=null?`>= ${x}`:""}${x!=null&&K!=null?" && ":""}${K!=null?`<= ${K}`:""}`,U)}var de=T((U,q,x)=>{if(!n(x,U)){let K="must be one of: "+o(i(x,Y=>typeof Y=="string"?`'${Y}'`:m(Y)),", ");throw new A(q,U,K)}});function ge(U,q){if(typeof U!="boolean")throw new C(q,"boolean",U)}function O(U,q,x){return U==null||!d(U,q)?x:U[q]}var ie=T((U,q,x=null)=>{let K=O(x,"allowArray",!1),Y=O(x,"allowFunction",!1);if(!O(x,"nullable",!1)&&U===null||!K&&r(U)||typeof U!="object"&&(!Y||typeof U!="function"))throw new C(q,"Object",U)}),me=T((U,q)=>{if(U!=null&&typeof U!="object"&&typeof U!="function")throw new C(q,"a dictionary",U)}),ve=T((U,q,x=0)=>{if(!r(U))throw new C(q,"Array",U);if(U.length{if(!j(U))throw new C(q,["Buffer","TypedArray","DataView"],U)});function he(U,q){let x=R(q),K=U.length;if(x==="hex"&&K%2!==0)throw new A("encoding",q,`is invalid for data of length ${K}`)}function fe(U,q="Port",x=!0){if(typeof U!="number"&&typeof U!="string"||typeof U=="string"&&b(U).length===0||+U!==+U>>>0||U>65535||U===0&&!x)throw new k(q,U,x);return U|0}var ee=T((U,q)=>{if(U!==void 0&&(U===null||typeof U!="object"||!("aborted"in U)))throw new C(q,"AbortSignal",U)}),v=T((U,q)=>{if(typeof U!="function")throw new C(q,"Function",U)}),S=T((U,q)=>{if(typeof U!="function"||D(U))throw new C(q,"Function",U)}),E=T((U,q)=>{if(U!==void 0)throw new C(q,"undefined",U)});function N(U,q,x){if(!n(x,U))throw new C(q,`('${o(x,"|")}')`,U)}var P=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function J(U,q){if(typeof U>"u"||!p(P,U))throw new A(q,U,'must be an array or string of format "; rel=preload; as=style"')}function te(U){if(typeof U=="string")return J(U,"hints"),U;if(r(U)){let q=U.length,x="";if(q===0)return x;for(let K=0;K; rel=preload; as=style"')}t.exports={isInt32:se,isUint32:re,parseFileMode:oe,validateArray:ve,validateStringArray:ye,validateBooleanArray:V,validateBoolean:ge,validateBuffer:Z,validateDictionary:me,validateEncoding:he,validateFunction:v,validateInt32:ue,validateInteger:ne,validateNumber:pe,validateObject:ie,validateOneOf:de,validatePlainFunction:S,validatePort:fe,validateSignalName:F,validateString:G,validateUint32:ae,validateUndefined:E,validateUnion:N,validateAbortSignal:ee,validateLinkHeaderValue:te}}),ji=Ae((e,t)=>{_e(),we(),be();var r=t.exports={},n,o;function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=i}catch{n=i}try{typeof clearTimeout=="function"?o=clearTimeout:o=s}catch{o=s}})();function a(k){if(n===setTimeout)return setTimeout(k,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(k,0);try{return n(k,0)}catch{try{return n.call(null,k,0)}catch{return n.call(this,k,0)}}}function l(k){if(o===clearTimeout)return clearTimeout(k);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(k);try{return o(k)}catch{try{return o.call(null,k)}catch{return o.call(this,k)}}}var u=[],c=!1,d,p=-1;function m(){!c||!d||(c=!1,d.length?u=d.concat(u):p=-1,u.length&&_())}function _(){if(!c){var k=a(m);c=!0;for(var C=u.length;C;){for(d=u,u=[];++p1)for(var A=1;A{_e(),we(),be();var{Symbol:r,SymbolAsyncIterator:n,SymbolIterator:o,SymbolFor:i}=ht(),s=r("kDestroyed"),a=r("kIsErrored"),l=r("kIsReadable"),u=r("kIsDisturbed"),c=i("nodejs.webstream.isClosedPromise"),d=i("nodejs.webstream.controllerErrorFunction");function p(O,ie=!1){var me;return!!(O&&typeof O.pipe=="function"&&typeof O.on=="function"&&(!ie||typeof O.pause=="function"&&typeof O.resume=="function")&&(!O._writableState||((me=O._readableState)===null||me===void 0?void 0:me.readable)!==!1)&&(!O._writableState||O._readableState))}function m(O){var ie;return!!(O&&typeof O.write=="function"&&typeof O.on=="function"&&(!O._readableState||((ie=O._writableState)===null||ie===void 0?void 0:ie.writable)!==!1))}function _(O){return!!(O&&typeof O.pipe=="function"&&O._readableState&&typeof O.on=="function"&&typeof O.write=="function")}function b(O){return O&&(O._readableState||O._writableState||typeof O.write=="function"&&typeof O.on=="function"||typeof O.pipe=="function"&&typeof O.on=="function")}function T(O){return!!(O&&!b(O)&&typeof O.pipeThrough=="function"&&typeof O.getReader=="function"&&typeof O.cancel=="function")}function k(O){return!!(O&&!b(O)&&typeof O.getWriter=="function"&&typeof O.abort=="function")}function C(O){return!!(O&&!b(O)&&typeof O.readable=="object"&&typeof O.writable=="object")}function A(O){return T(O)||k(O)||C(O)}function M(O,ie){return O==null?!1:ie===!0?typeof O[n]=="function":ie===!1?typeof O[o]=="function":typeof O[n]=="function"||typeof O[o]=="function"}function $(O){if(!b(O))return null;let ie=O._writableState,me=O._readableState,ve=ie||me;return!!(O.destroyed||O[s]||ve!=null&&ve.destroyed)}function R(O){if(!m(O))return null;if(O.writableEnded===!0)return!0;let ie=O._writableState;return ie!=null&&ie.errored?!1:typeof(ie==null?void 0:ie.ended)!="boolean"?null:ie.ended}function D(O,ie){if(!m(O))return null;if(O.writableFinished===!0)return!0;let me=O._writableState;return me!=null&&me.errored?!1:typeof(me==null?void 0:me.finished)!="boolean"?null:!!(me.finished||ie===!1&&me.ended===!0&&me.length===0)}function j(O){if(!p(O))return null;if(O.readableEnded===!0)return!0;let ie=O._readableState;return!ie||ie.errored?!1:typeof(ie==null?void 0:ie.ended)!="boolean"?null:ie.ended}function z(O,ie){if(!p(O))return null;let me=O._readableState;return me!=null&&me.errored?!1:typeof(me==null?void 0:me.endEmitted)!="boolean"?null:!!(me.endEmitted||ie===!1&&me.ended===!0&&me.length===0)}function se(O){return O&&O[l]!=null?O[l]:typeof(O==null?void 0:O.readable)!="boolean"?null:$(O)?!1:p(O)&&O.readable&&!z(O)}function re(O){return typeof(O==null?void 0:O.writable)!="boolean"?null:$(O)?!1:m(O)&&O.writable&&!R(O)}function L(O,ie){return b(O)?$(O)?!0:!((ie==null?void 0:ie.readable)!==!1&&se(O)||(ie==null?void 0:ie.writable)!==!1&&re(O)):null}function B(O){var ie,me;return b(O)?O.writableErrored?O.writableErrored:(ie=(me=O._writableState)===null||me===void 0?void 0:me.errored)!==null&&ie!==void 0?ie:null:null}function oe(O){var ie,me;return b(O)?O.readableErrored?O.readableErrored:(ie=(me=O._readableState)===null||me===void 0?void 0:me.errored)!==null&&ie!==void 0?ie:null:null}function ne(O){if(!b(O))return null;if(typeof O.closed=="boolean")return O.closed;let ie=O._writableState,me=O._readableState;return typeof(ie==null?void 0:ie.closed)=="boolean"||typeof(me==null?void 0:me.closed)=="boolean"?(ie==null?void 0:ie.closed)||(me==null?void 0:me.closed):typeof O._closed=="boolean"&&ue(O)?O._closed:null}function ue(O){return typeof O._closed=="boolean"&&typeof O._defaultKeepAlive=="boolean"&&typeof O._removedConnection=="boolean"&&typeof O._removedContLen=="boolean"}function ae(O){return typeof O._sent100=="boolean"&&ue(O)}function G(O){var ie;return typeof O._consuming=="boolean"&&typeof O._dumped=="boolean"&&((ie=O.req)===null||ie===void 0?void 0:ie.upgradeOrConnect)===void 0}function pe(O){if(!b(O))return null;let ie=O._writableState,me=O._readableState,ve=ie||me;return!ve&&ae(O)||!!(ve&&ve.autoDestroy&&ve.emitClose&&ve.closed===!1)}function de(O){var ie;return!!(O&&((ie=O[u])!==null&&ie!==void 0?ie:O.readableDidRead||O.readableAborted))}function ge(O){var ie,me,ve,ye,V,F,Z,he,fe,ee;return!!(O&&((ie=(me=(ve=(ye=(V=(F=O[a])!==null&&F!==void 0?F:O.readableErrored)!==null&&V!==void 0?V:O.writableErrored)!==null&&ye!==void 0?ye:(Z=O._readableState)===null||Z===void 0?void 0:Z.errorEmitted)!==null&&ve!==void 0?ve:(he=O._writableState)===null||he===void 0?void 0:he.errorEmitted)!==null&&me!==void 0?me:(fe=O._readableState)===null||fe===void 0?void 0:fe.errored)!==null&&ie!==void 0?ie:!((ee=O._writableState)===null||ee===void 0)&&ee.errored))}t.exports={kDestroyed:s,isDisturbed:de,kIsDisturbed:u,isErrored:ge,kIsErrored:a,isReadable:se,kIsReadable:l,kIsClosedPromise:c,kControllerErrorFunction:d,isClosed:ne,isDestroyed:$,isDuplexNodeStream:_,isFinished:L,isIterable:M,isReadableNodeStream:p,isReadableStream:T,isReadableEnded:j,isReadableFinished:z,isReadableErrored:oe,isNodeStream:b,isWebStream:A,isWritable:re,isWritableNodeStream:m,isWritableStream:k,isWritableEnded:R,isWritableFinished:D,isWritableErrored:B,isServerRequest:G,isServerResponse:ae,willEmitClose:pe,isTransformStream:C}}),Gn=Ae((e,t)=>{_e(),we(),be();var r=ji(),{AbortError:n,codes:o}=jt(),{ERR_INVALID_ARG_TYPE:i,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:a,once:l}=hn(),{validateAbortSignal:u,validateFunction:c,validateObject:d,validateBoolean:p}=iu(),{Promise:m,PromisePrototypeThen:_}=ht(),{isClosed:b,isReadable:T,isReadableNodeStream:k,isReadableStream:C,isReadableFinished:A,isReadableErrored:M,isWritable:$,isWritableNodeStream:R,isWritableStream:D,isWritableFinished:j,isWritableErrored:z,isNodeStream:se,willEmitClose:re,kIsClosedPromise:L}=En();function B(G){return G.setHeader&&typeof G.abort=="function"}var oe=()=>{};function ne(G,pe,de){var ge,O;if(arguments.length===2?(de=pe,pe=a):pe==null?pe=a:d(pe,"options"),c(de,"callback"),u(pe.signal,"options.signal"),de=l(de),C(G)||D(G))return ue(G,pe,de);if(!se(G))throw new i("stream",["ReadableStream","WritableStream","Stream"],G);let ie=(ge=pe.readable)!==null&&ge!==void 0?ge:k(G),me=(O=pe.writable)!==null&&O!==void 0?O:R(G),ve=G._writableState,ye=G._readableState,V=()=>{G.writable||he()},F=re(G)&&k(G)===ie&&R(G)===me,Z=j(G,!1),he=()=>{Z=!0,G.destroyed&&(F=!1),!(F&&(!G.readable||ie))&&(!ie||fe)&&de.call(G)},fe=A(G,!1),ee=()=>{fe=!0,G.destroyed&&(F=!1),!(F&&(!G.writable||me))&&(!me||Z)&&de.call(G)},v=te=>{de.call(G,te)},S=b(G),E=()=>{S=!0;let te=z(G)||M(G);if(te&&typeof te!="boolean")return de.call(G,te);if(ie&&!fe&&k(G,!0)&&!A(G,!1))return de.call(G,new s);if(me&&!Z&&!j(G,!1))return de.call(G,new s);de.call(G)},N=()=>{S=!0;let te=z(G)||M(G);if(te&&typeof te!="boolean")return de.call(G,te);de.call(G)},P=()=>{G.req.on("finish",he)};B(G)?(G.on("complete",he),F||G.on("abort",E),G.req?P():G.on("request",P)):me&&!ve&&(G.on("end",V),G.on("close",V)),!F&&typeof G.aborted=="boolean"&&G.on("aborted",E),G.on("end",ee),G.on("finish",he),pe.error!==!1&&G.on("error",v),G.on("close",E),S?r.nextTick(E):ve!=null&&ve.errorEmitted||ye!=null&&ye.errorEmitted?F||r.nextTick(N):(!ie&&(!F||T(G))&&(Z||$(G)===!1)||!me&&(!F||$(G))&&(fe||T(G)===!1)||ye&&G.req&&G.aborted)&&r.nextTick(N);let J=()=>{de=oe,G.removeListener("aborted",E),G.removeListener("complete",he),G.removeListener("abort",E),G.removeListener("request",P),G.req&&G.req.removeListener("finish",he),G.removeListener("end",V),G.removeListener("close",V),G.removeListener("finish",he),G.removeListener("end",ee),G.removeListener("error",v),G.removeListener("close",E)};if(pe.signal&&!S){let te=()=>{let U=de;J(),U.call(G,new n(void 0,{cause:pe.signal.reason}))};if(pe.signal.aborted)r.nextTick(te);else{let U=de;de=l((...q)=>{pe.signal.removeEventListener("abort",te),U.apply(G,q)}),pe.signal.addEventListener("abort",te)}}return J}function ue(G,pe,de){let ge=!1,O=oe;if(pe.signal)if(O=()=>{ge=!0,de.call(G,new n(void 0,{cause:pe.signal.reason}))},pe.signal.aborted)r.nextTick(O);else{let me=de;de=l((...ve)=>{pe.signal.removeEventListener("abort",O),me.apply(G,ve)}),pe.signal.addEventListener("abort",O)}let ie=(...me)=>{ge||r.nextTick(()=>de.apply(G,me))};return _(G[L].promise,ie,ie),oe}function ae(G,pe){var de;let ge=!1;return pe===null&&(pe=a),(de=pe)!==null&&de!==void 0&&de.cleanup&&(p(pe.cleanup,"cleanup"),ge=pe.cleanup),new m((O,ie)=>{let me=ne(G,pe,ve=>{ge&&me(),ve?ie(ve):O()})})}t.exports=ne,t.exports.finished=ae}),zo=Ae((e,t)=>{_e(),we(),be();var r=ji(),{aggregateTwoErrors:n,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:i}=jt(),{Symbol:s}=ht(),{kDestroyed:a,isDestroyed:l,isFinished:u,isServerRequest:c}=En(),d=s("kDestroy"),p=s("kConstruct");function m(L,B,oe){L&&(L.stack,B&&!B.errored&&(B.errored=L),oe&&!oe.errored&&(oe.errored=L))}function _(L,B){let oe=this._readableState,ne=this._writableState,ue=ne||oe;return ne!=null&&ne.destroyed||oe!=null&&oe.destroyed?(typeof B=="function"&&B(),this):(m(L,ne,oe),ne&&(ne.destroyed=!0),oe&&(oe.destroyed=!0),ue.constructed?b(this,L,B):this.once(d,function(ae){b(this,n(ae,L),B)}),this)}function b(L,B,oe){let ne=!1;function ue(ae){if(ne)return;ne=!0;let G=L._readableState,pe=L._writableState;m(ae,pe,G),pe&&(pe.closed=!0),G&&(G.closed=!0),typeof oe=="function"&&oe(ae),ae?r.nextTick(T,L,ae):r.nextTick(k,L)}try{L._destroy(B||null,ue)}catch(ae){ue(ae)}}function T(L,B){C(L,B),k(L)}function k(L){let B=L._readableState,oe=L._writableState;oe&&(oe.closeEmitted=!0),B&&(B.closeEmitted=!0),(oe!=null&&oe.emitClose||B!=null&&B.emitClose)&&L.emit("close")}function C(L,B){let oe=L._readableState,ne=L._writableState;ne!=null&&ne.errorEmitted||oe!=null&&oe.errorEmitted||(ne&&(ne.errorEmitted=!0),oe&&(oe.errorEmitted=!0),L.emit("error",B))}function A(){let L=this._readableState,B=this._writableState;L&&(L.constructed=!0,L.closed=!1,L.closeEmitted=!1,L.destroyed=!1,L.errored=null,L.errorEmitted=!1,L.reading=!1,L.ended=L.readable===!1,L.endEmitted=L.readable===!1),B&&(B.constructed=!0,B.destroyed=!1,B.closed=!1,B.closeEmitted=!1,B.errored=null,B.errorEmitted=!1,B.finalCalled=!1,B.prefinished=!1,B.ended=B.writable===!1,B.ending=B.writable===!1,B.finished=B.writable===!1)}function M(L,B,oe){let ne=L._readableState,ue=L._writableState;if(ue!=null&&ue.destroyed||ne!=null&&ne.destroyed)return this;ne!=null&&ne.autoDestroy||ue!=null&&ue.autoDestroy?L.destroy(B):B&&(B.stack,ue&&!ue.errored&&(ue.errored=B),ne&&!ne.errored&&(ne.errored=B),oe?r.nextTick(C,L,B):C(L,B))}function $(L,B){if(typeof L._construct!="function")return;let oe=L._readableState,ne=L._writableState;oe&&(oe.constructed=!1),ne&&(ne.constructed=!1),L.once(p,B),!(L.listenerCount(p)>1)&&r.nextTick(R,L)}function R(L){let B=!1;function oe(ne){if(B){M(L,ne??new o);return}B=!0;let ue=L._readableState,ae=L._writableState,G=ae||ue;ue&&(ue.constructed=!0),ae&&(ae.constructed=!0),G.destroyed?L.emit(d,ne):ne?M(L,ne,!0):r.nextTick(D,L)}try{L._construct(ne=>{r.nextTick(oe,ne)})}catch(ne){r.nextTick(oe,ne)}}function D(L){L.emit(p)}function j(L){return(L==null?void 0:L.setHeader)&&typeof L.abort=="function"}function z(L){L.emit("close")}function se(L,B){L.emit("error",B),r.nextTick(z,L)}function re(L,B){!L||l(L)||(!B&&!u(L)&&(B=new i),c(L)?(L.socket=null,L.destroy(B)):j(L)?L.abort():j(L.req)?L.req.abort():typeof L.destroy=="function"?L.destroy(B):typeof L.close=="function"?L.close():B?r.nextTick(se,L,B):r.nextTick(z,L),L.destroyed||(L[a]=!0))}t.exports={construct:$,destroyer:re,destroy:_,undestroy:A,errorOrDestroy:M}});function Ke(){Ke.init.call(this)}function Ha(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function Zb(e){return e._maxListeners===void 0?Ke.defaultMaxListeners:e._maxListeners}function pm(e,t,r,n){var o,i,s,a;if(Ha(r),(i=e._events)===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),s===void 0)s=i[t]=r,++e._eventsCount;else if(typeof s=="function"?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=Zb(e))>0&&s.length>o&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a=l,console&&console.warn&&console.warn(a)}return e}function _O(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function gm(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=_O.bind(n);return o.listener=r,n.wrapFn=o,o}function mm(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?function(i){for(var s=new Array(i.length),a=0;a{_e(),we(),be(),ti=typeof Reflect=="object"?Reflect:null,lc=ti&&typeof ti.apply=="function"?ti.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},bm=ti&&typeof ti.ownKeys=="function"?ti.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},uc=Number.isNaN||function(e){return e!=e},_m=Ke,Ke.EventEmitter=Ke,Ke.prototype._events=void 0,Ke.prototype._eventsCount=0,Ke.prototype._maxListeners=void 0,cc=10,Object.defineProperty(Ke,"defaultMaxListeners",{enumerable:!0,get:function(){return cc},set:function(e){if(typeof e!="number"||e<0||uc(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");cc=e}}),Ke.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ke.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||uc(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},Ke.prototype.getMaxListeners=function(){return Zb(this)},Ke.prototype.emit=function(e){for(var t=[],r=1;r0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var a=o[e];if(a===void 0)return!1;if(typeof a=="function")lc(a,this,t);else{var l=a.length,u=ew(a,l);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){s=r[i].listener,o=i;break}if(o<0)return this;o===0?r.shift():function(a,l){for(;l+1=0;n--)this.removeListener(e,t[n]);return this},Ke.prototype.listeners=function(e){return mm(this,e,!0)},Ke.prototype.rawListeners=function(e){return mm(this,e,!1)},Ke.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):ym.call(e,t)},Ke.prototype.listenerCount=ym,Ke.prototype.eventNames=function(){return this._eventsCount>0?bm(this._events):[]},Kt=_m,Kt.EventEmitter,Kt.defaultMaxListeners,Kt.init,Kt.listenerCount,Kt.EventEmitter,Kt.defaultMaxListeners,Kt.init,Kt.listenerCount}),Wi={};Fi(Wi,{EventEmitter:()=>tw,default:()=>Kt,defaultMaxListeners:()=>rw,init:()=>nw,listenerCount:()=>iw,on:()=>ow,once:()=>sw});var tw,rw,nw,iw,ow,sw,Go=_t(()=>{_e(),we(),be(),wm(),wm(),Kt.once=function(e,t){return new Promise((r,n)=>{function o(...s){i!==void 0&&e.removeListener("error",i),r(s)}let i;t!=="error"&&(i=s=>{e.removeListener(name,o),n(s)},e.once("error",i)),e.once(t,o)})},Kt.on=function(e,t){let r=[],n=[],o=null,i=!1,s={async next(){let u=r.shift();if(u)return createIterResult(u,!1);if(o){let c=Promise.reject(o);return o=null,c}return i?createIterResult(void 0,!0):new Promise((c,d)=>n.push({resolve:c,reject:d}))},async return(){e.removeListener(t,a),e.removeListener("error",l),i=!0;for(let u of n)u.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(u){o=u,e.removeListener(t,a),e.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return e.on(t,a),e.on("error",l),s;function a(...u){let c=n.shift();c?c.resolve(createIterResult(u,!1)):r.push(u)}function l(u){i=!0;let c=n.shift();c?c.reject(u):o=u,s.return()}},{EventEmitter:tw,defaultMaxListeners:rw,init:nw,listenerCount:iw,on:ow,once:sw}=Kt}),lp=Ae((e,t)=>{_e(),we(),be();var{ArrayIsArray:r,ObjectSetPrototypeOf:n}=ht(),{EventEmitter:o}=(Go(),Ge(Wi));function i(a){o.call(this,a)}n(i.prototype,o.prototype),n(i,o),i.prototype.pipe=function(a,l){let u=this;function c(k){a.writable&&a.write(k)===!1&&u.pause&&u.pause()}u.on("data",c);function d(){u.readable&&u.resume&&u.resume()}a.on("drain",d),!a._isStdio&&(!l||l.end!==!1)&&(u.on("end",m),u.on("close",_));let p=!1;function m(){p||(p=!0,a.end())}function _(){p||(p=!0,typeof a.destroy=="function"&&a.destroy())}function b(k){T(),o.listenerCount(this,"error")===0&&this.emit("error",k)}s(u,"error",b),s(a,"error",b);function T(){u.removeListener("data",c),a.removeListener("drain",d),u.removeListener("end",m),u.removeListener("close",_),u.removeListener("error",b),a.removeListener("error",b),u.removeListener("end",T),u.removeListener("close",T),a.removeListener("close",T)}return u.on("end",T),u.on("close",T),a.on("close",T),a.emit("pipe",u),a};function s(a,l,u){if(typeof a.prependListener=="function")return a.prependListener(l,u);!a._events||!a._events[l]?a.on(l,u):r(a._events[l])?a._events[l].unshift(u):a._events[l]=[u,a._events[l]]}t.exports={Stream:i,prependListener:s}}),ou=Ae((e,t)=>{_e(),we(),be();var{AbortError:r,codes:n}=jt(),{isNodeStream:o,isWebStream:i,kControllerErrorFunction:s}=En(),a=Gn(),{ERR_INVALID_ARG_TYPE:l}=n,u=(c,d)=>{if(typeof c!="object"||!("aborted"in c))throw new l(d,"AbortSignal",c)};t.exports.addAbortSignal=function(c,d){if(u(c,"signal"),!o(d)&&!i(d))throw new l("stream",["ReadableStream","WritableStream","Stream"],d);return t.exports.addAbortSignalNoValidate(c,d)},t.exports.addAbortSignalNoValidate=function(c,d){if(typeof c!="object"||!("aborted"in c))return d;let p=o(d)?()=>{d.destroy(new r(void 0,{cause:c.reason}))}:()=>{d[s](new r(void 0,{cause:c.reason}))};return c.aborted?p():(c.addEventListener("abort",p),a(d,()=>c.removeEventListener("abort",p))),d}}),bO=Ae((e,t)=>{_e(),we(),be();var{StringPrototypeSlice:r,SymbolIterator:n,TypedArrayPrototypeSet:o,Uint8Array:i}=ht(),{Buffer:s}=(wt(),Ge(bt)),{inspect:a}=hn();t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(l){let u={data:l,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length}unshift(l){let u={data:l,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length}shift(){if(this.length===0)return;let l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l}clear(){this.head=this.tail=null,this.length=0}join(l){if(this.length===0)return"";let u=this.head,c=""+u.data;for(;(u=u.next)!==null;)c+=l+u.data;return c}concat(l){if(this.length===0)return s.alloc(0);let u=s.allocUnsafe(l>>>0),c=this.head,d=0;for(;c;)o(u,c.data,d),d+=c.data.length,c=c.next;return u}consume(l,u){let c=this.head.data;if(lp.length)u+=p,l-=p.length;else{l===p.length?(u+=p,++d,c.next?this.head=c.next:this.head=this.tail=null):(u+=r(p,0,l),this.head=c,c.data=r(p,l));break}++d}while((c=c.next)!==null);return this.length-=d,u}_getBuffer(l){let u=s.allocUnsafe(l),c=l,d=this.head,p=0;do{let m=d.data;if(l>m.length)o(u,m,c-l),l-=m.length;else{l===m.length?(o(u,m,c-l),++p,d.next?this.head=d.next:this.head=this.tail=null):(o(u,new i(m.buffer,m.byteOffset,l),c-l),this.head=d,d.data=m.slice(l));break}++p}while((d=d.next)!==null);return this.length-=p,u}[Symbol.for("nodejs.util.inspect.custom")](l,u){return a(this,{...u,depth:0,customInspect:!1})}}}),up=Ae((e,t)=>{_e(),we(),be();var{MathFloor:r,NumberIsInteger:n}=ht(),{ERR_INVALID_ARG_VALUE:o}=jt().codes;function i(l,u,c){return l.highWaterMark!=null?l.highWaterMark:u?l[c]:null}function s(l){return l?16:16*1024}function a(l,u,c,d){let p=i(u,d,c);if(p!=null){if(!n(p)||p<0){let m=d?`options.${c}`:"options.highWaterMark";throw new o(m,p)}return r(p)}return s(l.objectMode)}t.exports={getHighWaterMark:a,getDefaultHighWaterMark:s}});function vm(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return r===-1&&(r=t),[r,r===t?0:4-r%4]}function wO(e,t,r){for(var n,o,i=[],s=t;s>18&63]+pr[o>>12&63]+pr[o>>6&63]+pr[63&o]);return i.join("")}function tn(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,Ee.prototype),t}function Ee(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ah(e)}return aw(e,t,r)}function aw(e,t,r){if(typeof e=="string")return function(i,s){if(typeof s=="string"&&s!==""||(s="utf8"),!Ee.isEncoding(s))throw new TypeError("Unknown encoding: "+s);var a=0|uw(i,s),l=tn(a),u=l.write(i,s);return u!==a&&(l=l.slice(0,u)),l}(e,t);if(ArrayBuffer.isView(e))return fc(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(rn(e,ArrayBuffer)||e&&rn(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(rn(e,SharedArrayBuffer)||e&&rn(e.buffer,SharedArrayBuffer)))return vO(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return Ee.from(n,t,r);var o=function(i){if(Ee.isBuffer(i)){var s=0|cp(i.length),a=tn(s);return a.length===0||i.copy(a,0,0,s),a}if(i.length!==void 0)return typeof i.length!="number"||fp(i.length)?tn(0):fc(i);if(i.type==="Buffer"&&Array.isArray(i.data))return fc(i.data)}(e);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return Ee.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function lw(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Ah(e){return lw(e),tn(e<0?0:0|cp(e))}function fc(e){for(var t=e.length<0?0:0|cp(e.length),r=tn(t),n=0;n=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function uw(e,t){if(Ee.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||rn(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Th(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return dw(e).length;default:if(o)return n?-1:Th(e).length;t=(""+t).toLowerCase(),o=!0}}function EO(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return kO(this,t,r);case"utf8":case"utf-8":return fw(this,t,r);case"ascii":return RO(this,t,r);case"latin1":case"binary":return OO(this,t,r);case"base64":return CO(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return MO(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function ri(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Em(e,t,r,n,o){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),fp(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if(typeof t=="string"&&(t=Ee.from(t,n)),Ee.isBuffer(t))return t.length===0?-1:Sm(e,t,r,n,o);if(typeof t=="number")return t&=255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Sm(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Sm(e,t,r,n,o){var i,s=1,a=e.length,l=t.length;if(n!==void 0&&((n=String(n).toLowerCase())==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,r/=2}function u(m,_){return s===1?m[_]:m.readUInt16BE(_*s)}if(o){var c=-1;for(i=r;ia&&(r=a-l),i=r;i>=0;i--){for(var d=!0,p=0;po&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var s=0;s>8,l=s%256,u.push(l),u.push(a);return u}(t,e.length-r),e,r,n)}function CO(e,t,r){return t===0&&r===e.length?yl.fromByteArray(e):yl.fromByteArray(e.slice(t,r))}function fw(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o239?4:u>223?3:u>191?2:1;if(o+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[o+1],s=e[o+2],(192&i)==128&&(192&s)==128&&(l=(15&u)<<12|(63&i)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}c===null?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=d}return function(p){var m=p.length;if(m<=4096)return String.fromCharCode.apply(String,p);for(var _="",b=0;bn)&&(r=n);for(var o="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function Bt(e,t,r,n,o,i){if(!Ee.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function hw(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Am(e,t,r,n,o){return t=+t,r>>>=0,o||hw(e,0,r,4),pi.write(e,t,r,n,23,4),r+4}function Tm(e,t,r,n,o){return t=+t,r>>>=0,o||hw(e,0,r,8),pi.write(e,t,r,n,52,8),r+8}function Th(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],s=0;s55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function dw(e){return yl.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(pw,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function su(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function rn(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function fp(e){return e!=e}function xm(e,t){for(var r in e)t[r]=e[r]}function ni(e,t,r){return hr(e,t,r)}function ss(e){var t;switch(this.encoding=function(r){var n=function(o){if(!o)return"utf8";for(var i;;)switch(o){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return o;default:if(i)return;o=(""+o).toLowerCase(),i=!0}}(r);if(typeof n!="string"&&(_l.isEncoding===xh||!xh(r)))throw new Error("Unknown encoding: "+r);return n||r}(e),this.encoding){case"utf16le":this.text=PO,this.end=LO,t=4;break;case"utf8":this.fillLast=NO,t=4;break;case"base64":this.text=DO,this.end=BO,t=3;break;default:return this.write=$O,this.end=UO,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=_l.allocUnsafe(t)}function hc(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function NO(e){var t=this.lastTotal-this.lastNeed,r=function(n,o,i){if((192&o[0])!=128)return n.lastNeed=0,"�";if(n.lastNeed>1&&o.length>1){if((192&o[1])!=128)return n.lastNeed=1,"�";if(n.lastNeed>2&&o.length>2&&(192&o[2])!=128)return n.lastNeed=2,"�"}}(this,e);return r!==void 0?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length,void 0)}function PO(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function LO(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function DO(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function BO(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function $O(e){return e.toString(this.encoding)}function UO(e){return e&&e.length?this.write(e):""}var Im,pr,Ht,Cm,_a,ii,Rm,Om,Sr,yl,pi,dc,pw,gw,as,ls,hr,km,po,_l,xh,Mm=_t(()=>{for(_e(),we(),be(),Im={byteLength:function(e){var t=vm(e),r=t[0],n=t[1];return 3*(r+n)/4-n},toByteArray:function(e){var t,r,n=vm(e),o=n[0],i=n[1],s=new Cm(function(u,c,d){return 3*(c+d)/4-d}(0,o,i)),a=0,l=i>0?o-4:o;for(r=0;r>16&255,s[a++]=t>>8&255,s[a++]=255&t;return i===2&&(t=Ht[e.charCodeAt(r)]<<2|Ht[e.charCodeAt(r+1)]>>4,s[a++]=255&t),i===1&&(t=Ht[e.charCodeAt(r)]<<10|Ht[e.charCodeAt(r+1)]<<4|Ht[e.charCodeAt(r+2)]>>2,s[a++]=t>>8&255,s[a++]=255&t),s},fromByteArray:function(e){for(var t,r=e.length,n=r%3,o=[],i=0,s=r-n;is?s:i+16383));return n===1?(t=e[r-1],o.push(pr[t>>2]+pr[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(pr[t>>10]+pr[t>>4&63]+pr[t<<2&63]+"=")),o.join("")}},pr=[],Ht=[],Cm=typeof Uint8Array<"u"?Uint8Array:Array,_a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ii=0,Rm=_a.length;ii>1,c=-7,d=r?o-1:0,p=r?-1:1,m=e[t+d];for(d+=p,i=m&(1<<-c)-1,m>>=-c,c+=a;c>0;i=256*i+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+e[t+d],d+=p,c-=8);if(i===0)i=1-u;else{if(i===l)return s?NaN:1/0*(m?-1:1);s+=Math.pow(2,n),i-=u}return(m?-1:1)*s*Math.pow(2,i-n)},write:function(e,t,r,n,o,i){var s,a,l,u=8*i-o-1,c=(1<>1,p=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:i-1,_=n?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,o),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[r+m]=255&a,m+=_,a/=256,o-=8);for(s=s<0;e[r+m]=255&s,m+=_,s/=256,u-=8);e[r+m-_]|=128*b}},Sr={},yl=Im,pi=Om,dc=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null,Sr.Buffer=Ee,Sr.SlowBuffer=function(e){return+e!=e&&(e=0),Ee.alloc(+e)},Sr.INSPECT_MAX_BYTES=50,Sr.kMaxLength=2147483647,Ee.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}(),Ee.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(Ee.prototype,"parent",{enumerable:!0,get:function(){if(Ee.isBuffer(this))return this.buffer}}),Object.defineProperty(Ee.prototype,"offset",{enumerable:!0,get:function(){if(Ee.isBuffer(this))return this.byteOffset}}),Ee.poolSize=8192,Ee.from=function(e,t,r){return aw(e,t,r)},Object.setPrototypeOf(Ee.prototype,Uint8Array.prototype),Object.setPrototypeOf(Ee,Uint8Array),Ee.alloc=function(e,t,r){return function(n,o,i){return lw(n),n<=0?tn(n):o!==void 0?typeof i=="string"?tn(n).fill(o,i):tn(n).fill(o):tn(n)}(e,t,r)},Ee.allocUnsafe=function(e){return Ah(e)},Ee.allocUnsafeSlow=function(e){return Ah(e)},Ee.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==Ee.prototype},Ee.compare=function(e,t){if(rn(e,Uint8Array)&&(e=Ee.from(e,e.offset,e.byteLength)),rn(t,Uint8Array)&&(t=Ee.from(t,t.offset,t.byteLength)),!Ee.isBuffer(e)||!Ee.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);ot&&(e+=" ... "),""},dc&&(Ee.prototype[dc]=Ee.prototype.inspect),Ee.prototype.compare=function(e,t,r,n,o){if(rn(e,Uint8Array)&&(e=Ee.from(e,e.offset,e.byteLength)),!Ee.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),r===void 0&&(r=e?e.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(i,s),l=this.slice(n,o),u=e.slice(t,r),c=0;c>>=0,isFinite(r)?(r>>>=0,n===void 0&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((r===void 0||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return SO(this,e,t,r);case"utf8":case"utf-8":return AO(this,e,t,r);case"ascii":return cw(this,e,t,r);case"latin1":case"binary":return TO(this,e,t,r);case"base64":return xO(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return IO(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Ee.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Ee.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||pt(e,t,this.length);for(var n=this[e],o=1,i=0;++i>>=0,t>>>=0,r||pt(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},Ee.prototype.readUInt8=function(e,t){return e>>>=0,t||pt(e,1,this.length),this[e]},Ee.prototype.readUInt16LE=function(e,t){return e>>>=0,t||pt(e,2,this.length),this[e]|this[e+1]<<8},Ee.prototype.readUInt16BE=function(e,t){return e>>>=0,t||pt(e,2,this.length),this[e]<<8|this[e+1]},Ee.prototype.readUInt32LE=function(e,t){return e>>>=0,t||pt(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Ee.prototype.readUInt32BE=function(e,t){return e>>>=0,t||pt(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Ee.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||pt(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},Ee.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||pt(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},Ee.prototype.readInt8=function(e,t){return e>>>=0,t||pt(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Ee.prototype.readInt16LE=function(e,t){e>>>=0,t||pt(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Ee.prototype.readInt16BE=function(e,t){e>>>=0,t||pt(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Ee.prototype.readInt32LE=function(e,t){return e>>>=0,t||pt(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Ee.prototype.readInt32BE=function(e,t){return e>>>=0,t||pt(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Ee.prototype.readFloatLE=function(e,t){return e>>>=0,t||pt(e,4,this.length),pi.read(this,e,!0,23,4)},Ee.prototype.readFloatBE=function(e,t){return e>>>=0,t||pt(e,4,this.length),pi.read(this,e,!1,23,4)},Ee.prototype.readDoubleLE=function(e,t){return e>>>=0,t||pt(e,8,this.length),pi.read(this,e,!0,52,8)},Ee.prototype.readDoubleBE=function(e,t){return e>>>=0,t||pt(e,8,this.length),pi.read(this,e,!1,52,8)},Ee.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||Bt(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i>>=0,r>>>=0,n||Bt(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},Ee.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,1,255,0),this[t]=255&e,t+1},Ee.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Ee.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Ee.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Ee.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Ee.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);Bt(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+r},Ee.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);Bt(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&a===0&&this[t+i+1]!==0&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},Ee.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Ee.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Ee.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Ee.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Ee.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Ee.prototype.writeFloatLE=function(e,t,r){return Am(this,e,t,!0,r)},Ee.prototype.writeFloatBE=function(e,t,r){return Am(this,e,t,!1,r)},Ee.prototype.writeDoubleLE=function(e,t,r){return Tm(this,e,t,!0,r)},Ee.prototype.writeDoubleBE=function(e,t,r){return Tm(this,e,t,!1,r)},Ee.prototype.copy=function(e,t,r,n){if(!Ee.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||n===0||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},Ee.prototype.fill=function(e,t,r,n){if(typeof e=="string"){if(typeof t=="string"?(n=t,t=0,r=this.length):typeof r=="string"&&(n=r,r=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!Ee.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(e.length===1){var o=e.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(e=o)}}else typeof e=="number"?e&=255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length>>=0,r=r===void 0?this.length:r>>>0,e||(e=0),typeof e=="number")for(i=t;i=0?(l>0&&(o.lastNeed=l-1),l):--a=0?(l>0&&(o.lastNeed=l-2),l):--a=0?(l>0&&(l===2?l=0:o.lastNeed=l-3),l):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},ss.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},po.StringDecoder,po.StringDecoder}),mw={};Fi(mw,{StringDecoder:()=>yw,default:()=>po});var yw,FO=_t(()=>{_e(),we(),be(),Mm(),Mm(),yw=po.StringDecoder}),_w=Ae((e,t)=>{_e(),we(),be();var r=ji(),{PromisePrototypeThen:n,SymbolAsyncIterator:o,SymbolIterator:i}=ht(),{Buffer:s}=(wt(),Ge(bt)),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_NULL_VALUES:l}=jt().codes;function u(c,d,p){let m;if(typeof d=="string"||d instanceof s)return new c({objectMode:!0,...p,read(){this.push(d),this.push(null)}});let _;if(d&&d[o])_=!0,m=d[o]();else if(d&&d[i])_=!1,m=d[i]();else throw new a("iterable",["Iterable"],d);let b=new c({objectMode:!0,highWaterMark:1,...p}),T=!1;b._read=function(){T||(T=!0,C())},b._destroy=function(A,M){n(k(A),()=>r.nextTick(M,A),$=>r.nextTick(M,$||A))};async function k(A){let M=A!=null,$=typeof m.throw=="function";if(M&&$){let{value:R,done:D}=await m.throw(A);if(await R,D)return}if(typeof m.return=="function"){let{value:R}=await m.return();await R}}async function C(){for(;;){try{let{value:A,done:M}=_?await m.next():m.next();if(M)b.push(null);else{let $=A&&typeof A.then=="function"?await A:A;if($===null)throw T=!1,new l;if(b.push($))continue;T=!1}}catch(A){b.destroy(A)}break}}return b}t.exports=u}),au=Ae((e,t)=>{_e(),we(),be();var r=ji(),{ArrayPrototypeIndexOf:n,NumberIsInteger:o,NumberIsNaN:i,NumberParseInt:s,ObjectDefineProperties:a,ObjectKeys:l,ObjectSetPrototypeOf:u,Promise:c,SafeSet:d,SymbolAsyncIterator:p,Symbol:m}=ht();t.exports=O,O.ReadableState=ge;var{EventEmitter:_}=(Go(),Ge(Wi)),{Stream:b,prependListener:T}=lp(),{Buffer:k}=(wt(),Ge(bt)),{addAbortSignal:C}=ou(),A=Gn(),M=hn().debuglog("stream",h=>{M=h}),$=bO(),R=zo(),{getHighWaterMark:D,getDefaultHighWaterMark:j}=up(),{aggregateTwoErrors:z,codes:{ERR_INVALID_ARG_TYPE:se,ERR_METHOD_NOT_IMPLEMENTED:re,ERR_OUT_OF_RANGE:L,ERR_STREAM_PUSH_AFTER_EOF:B,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:oe}}=jt(),{validateObject:ne}=iu(),ue=m("kPaused"),{StringDecoder:ae}=(FO(),Ge(mw)),G=_w();u(O.prototype,b.prototype),u(O,b);var pe=()=>{},{errorOrDestroy:de}=R;function ge(h,f,g){typeof g!="boolean"&&(g=f instanceof dn()),this.objectMode=!!(h&&h.objectMode),g&&(this.objectMode=this.objectMode||!!(h&&h.readableObjectMode)),this.highWaterMark=h?D(this,h,"readableHighWaterMark",g):j(!1),this.buffer=new $,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[ue]=null,this.errorEmitted=!1,this.emitClose=!h||h.emitClose!==!1,this.autoDestroy=!h||h.autoDestroy!==!1,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=h&&h.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,h&&h.encoding&&(this.decoder=new ae(h.encoding),this.encoding=h.encoding)}function O(h){if(!(this instanceof O))return new O(h);let f=this instanceof dn();this._readableState=new ge(h,this,f),h&&(typeof h.read=="function"&&(this._read=h.read),typeof h.destroy=="function"&&(this._destroy=h.destroy),typeof h.construct=="function"&&(this._construct=h.construct),h.signal&&!f&&C(h.signal,this)),b.call(this,h),R.construct(this,()=>{this._readableState.needReadable&&fe(this,this._readableState)})}O.prototype.destroy=R.destroy,O.prototype._undestroy=R.undestroy,O.prototype._destroy=function(h,f){f(h)},O.prototype[_.captureRejectionSymbol]=function(h){this.destroy(h)},O.prototype.push=function(h,f){return ie(this,h,f,!1)},O.prototype.unshift=function(h,f){return ie(this,h,f,!0)};function ie(h,f,g,w){M("readableAddChunk",f);let I=h._readableState,W;if(I.objectMode||(typeof f=="string"?(g=g||I.defaultEncoding,I.encoding!==g&&(w&&I.encoding?f=k.from(f,g).toString(I.encoding):(f=k.from(f,g),g=""))):f instanceof k?g="":b._isUint8Array(f)?(f=b._uint8ArrayToBuffer(f),g=""):f!=null&&(W=new se("chunk",["string","Buffer","Uint8Array"],f))),W)de(h,W);else if(f===null)I.reading=!1,F(h,I);else if(I.objectMode||f&&f.length>0)if(w)if(I.endEmitted)de(h,new oe);else{if(I.destroyed||I.errored)return!1;me(h,I,f,!0)}else if(I.ended)de(h,new B);else{if(I.destroyed||I.errored)return!1;I.reading=!1,I.decoder&&!g?(f=I.decoder.write(f),I.objectMode||f.length!==0?me(h,I,f,!1):fe(h,I)):me(h,I,f,!1)}else w||(I.reading=!1,fe(h,I));return!I.ended&&(I.length0?(f.multiAwaitDrain?f.awaitDrainWriters.clear():f.awaitDrainWriters=null,f.dataEmitted=!0,h.emit("data",g)):(f.length+=f.objectMode?1:g.length,w?f.buffer.unshift(g):f.buffer.push(g),f.needReadable&&Z(h)),fe(h,f)}O.prototype.isPaused=function(){let h=this._readableState;return h[ue]===!0||h.flowing===!1},O.prototype.setEncoding=function(h){let f=new ae(h);this._readableState.decoder=f,this._readableState.encoding=this._readableState.decoder.encoding;let g=this._readableState.buffer,w="";for(let I of g)w+=f.write(I);return g.clear(),w!==""&&g.push(w),this._readableState.length=w.length,this};var ve=1073741824;function ye(h){if(h>ve)throw new L("size","<= 1GiB",h);return h--,h|=h>>>1,h|=h>>>2,h|=h>>>4,h|=h>>>8,h|=h>>>16,h++,h}function V(h,f){return h<=0||f.length===0&&f.ended?0:f.objectMode?1:i(h)?f.flowing&&f.length?f.buffer.first().length:f.length:h<=f.length?h:f.ended?f.length:0}O.prototype.read=function(h){M("read",h),h===void 0?h=NaN:o(h)||(h=s(h,10));let f=this._readableState,g=h;if(h>f.highWaterMark&&(f.highWaterMark=ye(h)),h!==0&&(f.emittedReadable=!1),h===0&&f.needReadable&&((f.highWaterMark!==0?f.length>=f.highWaterMark:f.length>0)||f.ended))return M("read: emitReadable",f.length,f.ended),f.length===0&&f.ended?x(this):Z(this),null;if(h=V(h,f),h===0&&f.ended)return f.length===0&&x(this),null;let w=f.needReadable;if(M("need readable",w),(f.length===0||f.length-h0?I=q(h,f):I=null,I===null?(f.needReadable=f.length<=f.highWaterMark,h=0):(f.length-=h,f.multiAwaitDrain?f.awaitDrainWriters.clear():f.awaitDrainWriters=null),f.length===0&&(f.ended||(f.needReadable=!0),g!==h&&f.ended&&x(this)),I!==null&&!f.errorEmitted&&!f.closeEmitted&&(f.dataEmitted=!0,this.emit("data",I)),I};function F(h,f){if(M("onEofChunk"),!f.ended){if(f.decoder){let g=f.decoder.end();g&&g.length&&(f.buffer.push(g),f.length+=f.objectMode?1:g.length)}f.ended=!0,f.sync?Z(h):(f.needReadable=!1,f.emittedReadable=!0,he(h))}}function Z(h){let f=h._readableState;M("emitReadable",f.needReadable,f.emittedReadable),f.needReadable=!1,f.emittedReadable||(M("emitReadable",f.flowing),f.emittedReadable=!0,r.nextTick(he,h))}function he(h){let f=h._readableState;M("emitReadable_",f.destroyed,f.length,f.ended),!f.destroyed&&!f.errored&&(f.length||f.ended)&&(h.emit("readable"),f.emittedReadable=!1),f.needReadable=!f.flowing&&!f.ended&&f.length<=f.highWaterMark,J(h)}function fe(h,f){!f.readingMore&&f.constructed&&(f.readingMore=!0,r.nextTick(ee,h,f))}function ee(h,f){for(;!f.reading&&!f.ended&&(f.length1&&w.pipes.includes(h)&&(M("false write response, pause",w.awaitDrainWriters.size),w.awaitDrainWriters.add(h)),g.pause()),xe||(xe=v(g,h),h.on("drain",xe))}g.on("data",Re);function Re(mt){M("ondata");let ct=h.write(mt);M("dest.write",ct),ct===!1&&Oe()}function Ve(mt){if(M("onerror",mt),at(),h.removeListener("error",Ve),h.listenerCount("error")===0){let ct=h._writableState||h._readableState;ct&&!ct.errorEmitted?de(h,mt):h.emit("error",mt)}}T(h,"error",Ve);function ut(){h.removeListener("finish",Ze),at()}h.once("close",ut);function Ze(){M("onfinish"),h.removeListener("close",ut),at()}h.once("finish",Ze);function at(){M("unpipe"),g.unpipe(h)}return h.emit("pipe",g),h.writableNeedDrain===!0?w.flowing&&Oe():w.flowing||(M("pipe resume"),g.resume()),h};function v(h,f){return function(){let g=h._readableState;g.awaitDrainWriters===f?(M("pipeOnDrain",1),g.awaitDrainWriters=null):g.multiAwaitDrain&&(M("pipeOnDrain",g.awaitDrainWriters.size),g.awaitDrainWriters.delete(f)),(!g.awaitDrainWriters||g.awaitDrainWriters.size===0)&&h.listenerCount("data")&&h.resume()}}O.prototype.unpipe=function(h){let f=this._readableState,g={hasUnpiped:!1};if(f.pipes.length===0)return this;if(!h){let I=f.pipes;f.pipes=[],this.pause();for(let W=0;W0,w.flowing!==!1&&this.resume()):h==="readable"&&!w.endEmitted&&!w.readableListening&&(w.readableListening=w.needReadable=!0,w.flowing=!1,w.emittedReadable=!1,M("on readable",w.length,w.reading),w.length?Z(this):w.reading||r.nextTick(E,this)),g},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(h,f){let g=b.prototype.removeListener.call(this,h,f);return h==="readable"&&r.nextTick(S,this),g},O.prototype.off=O.prototype.removeListener,O.prototype.removeAllListeners=function(h){let f=b.prototype.removeAllListeners.apply(this,arguments);return(h==="readable"||h===void 0)&&r.nextTick(S,this),f};function S(h){let f=h._readableState;f.readableListening=h.listenerCount("readable")>0,f.resumeScheduled&&f[ue]===!1?f.flowing=!0:h.listenerCount("data")>0?h.resume():f.readableListening||(f.flowing=null)}function E(h){M("readable nexttick read 0"),h.read(0)}O.prototype.resume=function(){let h=this._readableState;return h.flowing||(M("resume"),h.flowing=!h.readableListening,N(this,h)),h[ue]=!1,this};function N(h,f){f.resumeScheduled||(f.resumeScheduled=!0,r.nextTick(P,h,f))}function P(h,f){M("resume",f.reading),f.reading||h.read(0),f.resumeScheduled=!1,h.emit("resume"),J(h),f.flowing&&!f.reading&&h.read(0)}O.prototype.pause=function(){return M("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(M("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[ue]=!0,this};function J(h){let f=h._readableState;for(M("flow",f.flowing);f.flowing&&h.read()!==null;);}O.prototype.wrap=function(h){let f=!1;h.on("data",w=>{!this.push(w)&&h.pause&&(f=!0,h.pause())}),h.on("end",()=>{this.push(null)}),h.on("error",w=>{de(this,w)}),h.on("close",()=>{this.destroy()}),h.on("destroy",()=>{this.destroy()}),this._read=()=>{f&&h.resume&&(f=!1,h.resume())};let g=l(h);for(let w=1;w{I=ce?z(I,ce):null,g(),g=pe});try{for(;;){let ce=h.destroyed?null:h.read();if(ce!==null)yield ce;else{if(I)throw I;if(I===null)return;await new c(w)}}}catch(ce){throw I=z(I,ce),I}finally{(I||(f==null?void 0:f.destroyOnReturn)!==!1)&&(I===void 0||h._readableState.autoDestroy)?R.destroyer(h,null):(h.off("readable",w),W())}}a(O.prototype,{readable:{__proto__:null,get(){let h=this._readableState;return!!h&&h.readable!==!1&&!h.destroyed&&!h.errorEmitted&&!h.endEmitted},set(h){this._readableState&&(this._readableState.readable=!!h)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(h){this._readableState&&(this._readableState.flowing=h)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(h){this._readableState&&(this._readableState.destroyed=h)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),a(ge.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[ue]!==!1},set(h){this[ue]=!!h}}}),O._fromList=q;function q(h,f){if(f.length===0)return null;let g;return f.objectMode?g=f.buffer.shift():!h||h>=f.length?(f.decoder?g=f.buffer.join(""):f.buffer.length===1?g=f.buffer.first():g=f.buffer.concat(f.length),f.buffer.clear()):g=f.buffer.consume(h,f.decoder),g}function x(h){let f=h._readableState;M("endReadable",f.endEmitted),f.endEmitted||(f.ended=!0,r.nextTick(K,f,h))}function K(h,f){if(M("endReadableNT",h.endEmitted,h.length),!h.errored&&!h.closeEmitted&&!h.endEmitted&&h.length===0){if(h.endEmitted=!0,f.emit("end"),f.writable&&f.allowHalfOpen===!1)r.nextTick(Y,f);else if(h.autoDestroy){let g=f._writableState;(!g||g.autoDestroy&&(g.finished||g.writable===!1))&&f.destroy()}}}function Y(h){h.writable&&!h.writableEnded&&!h.destroyed&&h.end()}O.from=function(h,f){return G(O,h,f)};var le;function y(){return le===void 0&&(le={}),le}O.fromWeb=function(h,f){return y().newStreamReadableFromReadableStream(h,f)},O.toWeb=function(h,f){return y().newReadableStreamFromStreamReadable(h,f)},O.wrap=function(h,f){var g,w;return new O({objectMode:(g=(w=h.readableObjectMode)!==null&&w!==void 0?w:h.objectMode)!==null&&g!==void 0?g:!0,...f,destroy(I,W){R.destroyer(h,I),W(I)}}).wrap(h)}}),bw=Ae((e,t)=>{_e(),we(),be();var r=ji(),{ArrayPrototypeSlice:n,Error:o,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:s,ObjectDefineProperties:a,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:u,Symbol:c,SymbolHasInstance:d}=ht();t.exports=ae,ae.WritableState=ne;var{EventEmitter:p}=(Go(),Ge(Wi)),m=lp().Stream,{Buffer:_}=(wt(),Ge(bt)),b=zo(),{addAbortSignal:T}=ou(),{getHighWaterMark:k,getDefaultHighWaterMark:C}=up(),{ERR_INVALID_ARG_TYPE:A,ERR_METHOD_NOT_IMPLEMENTED:M,ERR_MULTIPLE_CALLBACK:$,ERR_STREAM_CANNOT_PIPE:R,ERR_STREAM_DESTROYED:D,ERR_STREAM_ALREADY_FINISHED:j,ERR_STREAM_NULL_VALUES:z,ERR_STREAM_WRITE_AFTER_END:se,ERR_UNKNOWN_ENCODING:re}=jt().codes,{errorOrDestroy:L}=b;l(ae.prototype,m.prototype),l(ae,m);function B(){}var oe=c("kOnFinished");function ne(E,N,P){typeof P!="boolean"&&(P=N instanceof dn()),this.objectMode=!!(E&&E.objectMode),P&&(this.objectMode=this.objectMode||!!(E&&E.writableObjectMode)),this.highWaterMark=E?k(this,E,"writableHighWaterMark",P):C(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let J=!!(E&&E.decodeStrings===!1);this.decodeStrings=!J,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=O.bind(void 0,N),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ue(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!E||E.emitClose!==!1,this.autoDestroy=!E||E.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[oe]=[]}function ue(E){E.buffered=[],E.bufferedIndex=0,E.allBuffers=!0,E.allNoop=!0}ne.prototype.getBuffer=function(){return n(this.buffered,this.bufferedIndex)},s(ne.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ae(E){let N=this instanceof dn();if(!N&&!i(ae,this))return new ae(E);this._writableState=new ne(E,this,N),E&&(typeof E.write=="function"&&(this._write=E.write),typeof E.writev=="function"&&(this._writev=E.writev),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.final=="function"&&(this._final=E.final),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&T(E.signal,this)),m.call(this,E),b.construct(this,()=>{let P=this._writableState;P.writing||ye(this,P),he(this,P)})}s(ae,d,{__proto__:null,value:function(E){return i(this,E)?!0:this!==ae?!1:E&&E._writableState instanceof ne}}),ae.prototype.pipe=function(){L(this,new R)};function G(E,N,P,J){let te=E._writableState;if(typeof P=="function")J=P,P=te.defaultEncoding;else{if(!P)P=te.defaultEncoding;else if(P!=="buffer"&&!_.isEncoding(P))throw new re(P);typeof J!="function"&&(J=B)}if(N===null)throw new z;if(!te.objectMode)if(typeof N=="string")te.decodeStrings!==!1&&(N=_.from(N,P),P="buffer");else if(N instanceof _)P="buffer";else if(m._isUint8Array(N))N=m._uint8ArrayToBuffer(N),P="buffer";else throw new A("chunk",["string","Buffer","Uint8Array"],N);let U;return te.ending?U=new se:te.destroyed&&(U=new D("write")),U?(r.nextTick(J,U),L(E,U,!0),U):(te.pendingcb++,pe(E,te,N,P,J))}ae.prototype.write=function(E,N,P){return G(this,E,N,P)===!0},ae.prototype.cork=function(){this._writableState.corked++},ae.prototype.uncork=function(){let E=this._writableState;E.corked&&(E.corked--,E.writing||ye(this,E))},ae.prototype.setDefaultEncoding=function(E){if(typeof E=="string"&&(E=u(E)),!_.isEncoding(E))throw new re(E);return this._writableState.defaultEncoding=E,this};function pe(E,N,P,J,te){let U=N.objectMode?1:P.length;N.length+=U;let q=N.lengthP.bufferedIndex&&ye(E,P),J?P.afterWriteTickInfo!==null&&P.afterWriteTickInfo.cb===te?P.afterWriteTickInfo.count++:(P.afterWriteTickInfo={count:1,cb:te,stream:E,state:P},r.nextTick(ie,P.afterWriteTickInfo)):me(E,P,1,te))}function ie({stream:E,state:N,count:P,cb:J}){return N.afterWriteTickInfo=null,me(E,N,P,J)}function me(E,N,P,J){for(!N.ending&&!E.destroyed&&N.length===0&&N.needDrain&&(N.needDrain=!1,E.emit("drain"));P-- >0;)N.pendingcb--,J();N.destroyed&&ve(N),he(E,N)}function ve(E){if(E.writing)return;for(let te=E.bufferedIndex;te1&&E._writev){N.pendingcb-=U-1;let x=N.allNoop?B:Y=>{for(let le=q;le256?(P.splice(0,q),N.bufferedIndex=0):N.bufferedIndex=q}N.bufferProcessing=!1}ae.prototype._write=function(E,N,P){if(this._writev)this._writev([{chunk:E,encoding:N}],P);else throw new M("_write()")},ae.prototype._writev=null,ae.prototype.end=function(E,N,P){let J=this._writableState;typeof E=="function"?(P=E,E=null,N=null):typeof N=="function"&&(P=N,N=null);let te;if(E!=null){let U=G(this,E,N);U instanceof o&&(te=U)}return J.corked&&(J.corked=1,this.uncork()),te||(!J.errored&&!J.ending?(J.ending=!0,he(this,J,!0),J.ended=!0):J.finished?te=new j("end"):J.destroyed&&(te=new D("end"))),typeof P=="function"&&(te||J.finished?r.nextTick(P,te):J[oe].push(P)),this};function V(E){return E.ending&&!E.destroyed&&E.constructed&&E.length===0&&!E.errored&&E.buffered.length===0&&!E.finished&&!E.writing&&!E.errorEmitted&&!E.closeEmitted}function F(E,N){let P=!1;function J(te){if(P){L(E,te??$());return}if(P=!0,N.pendingcb--,te){let U=N[oe].splice(0);for(let q=0;q{V(te)?fe(J,te):te.pendingcb--},E,N)):V(N)&&(N.pendingcb++,fe(E,N))))}function fe(E,N){N.pendingcb--,N.finished=!0;let P=N[oe].splice(0);for(let J=0;J{_e(),we(),be();var r=ji(),n=(wt(),Ge(bt)),{isReadable:o,isWritable:i,isIterable:s,isNodeStream:a,isReadableNodeStream:l,isWritableNodeStream:u,isDuplexNodeStream:c}=En(),d=Gn(),{AbortError:p,codes:{ERR_INVALID_ARG_TYPE:m,ERR_INVALID_RETURN_VALUE:_}}=jt(),{destroyer:b}=zo(),T=dn(),k=au(),{createDeferredPromise:C}=hn(),A=_w(),M=globalThis.Blob||n.Blob,$=typeof M<"u"?function(re){return re instanceof M}:function(re){return!1},R=globalThis.AbortController||ap().AbortController,{FunctionPrototypeCall:D}=ht(),j=class extends T{constructor(re){super(re),(re==null?void 0:re.readable)===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),(re==null?void 0:re.writable)===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};t.exports=function re(L,B){if(c(L))return L;if(l(L))return se({readable:L});if(u(L))return se({writable:L});if(a(L))return se({writable:!1,readable:!1});if(typeof L=="function"){let{value:ne,write:ue,final:ae,destroy:G}=z(L);if(s(ne))return A(j,ne,{objectMode:!0,write:ue,final:ae,destroy:G});let pe=ne==null?void 0:ne.then;if(typeof pe=="function"){let de,ge=D(pe,ne,O=>{if(O!=null)throw new _("nully","body",O)},O=>{b(de,O)});return de=new j({objectMode:!0,readable:!1,write:ue,final(O){ae(async()=>{try{await ge,r.nextTick(O,null)}catch(ie){r.nextTick(O,ie)}})},destroy:G})}throw new _("Iterable, AsyncIterable or AsyncFunction",B,ne)}if($(L))return re(L.arrayBuffer());if(s(L))return A(j,L,{objectMode:!0,writable:!1});if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){let ne=L!=null&&L.readable?l(L==null?void 0:L.readable)?L==null?void 0:L.readable:re(L.readable):void 0,ue=L!=null&&L.writable?u(L==null?void 0:L.writable)?L==null?void 0:L.writable:re(L.writable):void 0;return se({readable:ne,writable:ue})}let oe=L==null?void 0:L.then;if(typeof oe=="function"){let ne;return D(oe,L,ue=>{ue!=null&&ne.push(ue),ne.push(null)},ue=>{b(ne,ue)}),ne=new j({objectMode:!0,writable:!1,read(){}})}throw new m(B,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function z(re){let{promise:L,resolve:B}=C(),oe=new R,ne=oe.signal;return{value:re(async function*(){for(;;){let ue=L;L=null;let{chunk:ae,done:G,cb:pe}=await ue;if(r.nextTick(pe),G)return;if(ne.aborted)throw new p(void 0,{cause:ne.reason});({promise:L,resolve:B}=C()),yield ae}}(),{signal:ne}),write(ue,ae,G){let pe=B;B=null,pe({chunk:ue,done:!1,cb:G})},final(ue){let ae=B;B=null,ae({done:!0,cb:ue})},destroy(ue,ae){oe.abort(),ae(ue)}}}function se(re){let L=re.readable&&typeof re.readable.read!="function"?k.wrap(re.readable):re.readable,B=re.writable,oe=!!o(L),ne=!!i(B),ue,ae,G,pe,de;function ge(O){let ie=pe;pe=null,ie?ie(O):O&&de.destroy(O)}return de=new j({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(B!=null&&B.writableObjectMode),readable:oe,writable:ne}),ne&&(d(B,O=>{ne=!1,O&&b(L,O),ge(O)}),de._write=function(O,ie,me){B.write(O,ie)?me():ue=me},de._final=function(O){B.end(),ae=O},B.on("drain",function(){if(ue){let O=ue;ue=null,O()}}),B.on("finish",function(){if(ae){let O=ae;ae=null,O()}})),oe&&(d(L,O=>{oe=!1,O&&b(L,O),ge(O)}),L.on("readable",function(){if(G){let O=G;G=null,O()}}),L.on("end",function(){de.push(null)}),de._read=function(){for(;;){let O=L.read();if(O===null){G=de._read;return}if(!de.push(O))return}}),de._destroy=function(O,ie){!O&&pe!==null&&(O=new p),G=null,ue=null,ae=null,pe===null?ie(O):(pe=ie,b(B,O),b(L,O))},de}}),dn=Ae((e,t)=>{_e(),we(),be();var{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:n,ObjectKeys:o,ObjectSetPrototypeOf:i}=ht();t.exports=l;var s=au(),a=bw();i(l.prototype,s.prototype),i(l,s);{let p=o(a.prototype);for(let m=0;m{_e(),we(),be();var{ObjectSetPrototypeOf:r,Symbol:n}=ht();t.exports=l;var{ERR_METHOD_NOT_IMPLEMENTED:o}=jt().codes,i=dn(),{getHighWaterMark:s}=up();r(l.prototype,i.prototype),r(l,i);var a=n("kCallback");function l(d){if(!(this instanceof l))return new l(d);let p=d?s(this,d,"readableHighWaterMark",!0):null;p===0&&(d={...d,highWaterMark:null,readableHighWaterMark:p,writableHighWaterMark:d.writableHighWaterMark||0}),i.call(this,d),this._readableState.sync=!1,this[a]=null,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",c)}function u(d){typeof this._flush=="function"&&!this.destroyed?this._flush((p,m)=>{if(p){d?d(p):this.destroy(p);return}m!=null&&this.push(m),this.push(null),d&&d()}):(this.push(null),d&&d())}function c(){this._final!==u&&u.call(this)}l.prototype._final=u,l.prototype._transform=function(d,p,m){throw new o("_transform()")},l.prototype._write=function(d,p,m){let _=this._readableState,b=this._writableState,T=_.length;this._transform(d,p,(k,C)=>{if(k){m(k);return}C!=null&&this.push(C),b.ended||T===_.length||_.length<_.highWaterMark?m():this[a]=m})},l.prototype._read=function(){if(this[a]){let d=this[a];this[a]=null,d()}}}),vw=Ae((e,t)=>{_e(),we(),be();var{ObjectSetPrototypeOf:r}=ht();t.exports=o;var n=ww();r(o.prototype,n.prototype),r(o,n);function o(i){if(!(this instanceof o))return new o(i);n.call(this,i)}o.prototype._transform=function(i,s,a){a(null,i)}}),hp=Ae((e,t)=>{_e(),we(),be();var r=ji(),{ArrayIsArray:n,Promise:o,SymbolAsyncIterator:i}=ht(),s=Gn(),{once:a}=hn(),l=zo(),u=dn(),{aggregateTwoErrors:c,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:p,ERR_MISSING_ARGS:m,ERR_STREAM_DESTROYED:_,ERR_STREAM_PREMATURE_CLOSE:b},AbortError:T}=jt(),{validateFunction:k,validateAbortSignal:C}=iu(),{isIterable:A,isReadable:M,isReadableNodeStream:$,isNodeStream:R,isTransformStream:D,isWebStream:j,isReadableStream:z,isReadableEnded:se}=En(),re=globalThis.AbortController||ap().AbortController,L,B;function oe(ie,me,ve){let ye=!1;ie.on("close",()=>{ye=!0});let V=s(ie,{readable:me,writable:ve},F=>{ye=!F});return{destroy:F=>{ye||(ye=!0,l.destroyer(ie,F||new _("pipe")))},cleanup:V}}function ne(ie){return k(ie[ie.length-1],"streams[stream.length - 1]"),ie.pop()}function ue(ie){if(A(ie))return ie;if($(ie))return ae(ie);throw new d("val",["Readable","Iterable","AsyncIterable"],ie)}async function*ae(ie){B||(B=au()),yield*B.prototype[i].call(ie)}async function G(ie,me,ve,{end:ye}){let V,F=null,Z=ee=>{if(ee&&(V=ee),F){let v=F;F=null,v()}},he=()=>new o((ee,v)=>{V?v(V):F=()=>{V?v(V):ee()}});me.on("drain",Z);let fe=s(me,{readable:!1},Z);try{me.writableNeedDrain&&await he();for await(let ee of ie)me.write(ee)||await he();ye&&me.end(),await he(),ve()}catch(ee){ve(V!==ee?c(V,ee):ee)}finally{fe(),me.off("drain",Z)}}async function pe(ie,me,ve,{end:ye}){D(me)&&(me=me.writable);let V=me.getWriter();try{for await(let F of ie)await V.ready,V.write(F).catch(()=>{});await V.ready,ye&&await V.close(),ve()}catch(F){try{await V.abort(F),ve(F)}catch(Z){ve(Z)}}}function de(...ie){return ge(ie,a(ne(ie)))}function ge(ie,me,ve){if(ie.length===1&&n(ie[0])&&(ie=ie[0]),ie.length<2)throw new m("streams");let ye=new re,V=ye.signal,F=ve==null?void 0:ve.signal,Z=[];C(F,"options.signal");function he(){N(new T)}F==null||F.addEventListener("abort",he);let fe,ee,v=[],S=0;function E(U){N(U,--S===0)}function N(U,q){if(U&&(!fe||fe.code==="ERR_STREAM_PREMATURE_CLOSE")&&(fe=U),!(!fe&&!q)){for(;v.length;)v.shift()(fe);F==null||F.removeEventListener("abort",he),ye.abort(),q&&(fe||Z.forEach(x=>x()),r.nextTick(me,fe,ee))}}let P;for(let U=0;U0,Y=x||(ve==null?void 0:ve.end)!==!1,le=U===ie.length-1;if(R(q)){let y=function(h){h&&h.name!=="AbortError"&&h.code!=="ERR_STREAM_PREMATURE_CLOSE"&&E(h)};if(Y){let{destroy:h,cleanup:f}=oe(q,x,K);v.push(h),M(q)&&le&&Z.push(f)}q.on("error",y),M(q)&&le&&Z.push(()=>{q.removeListener("error",y)})}if(U===0)if(typeof q=="function"){if(P=q({signal:V}),!A(P))throw new p("Iterable, AsyncIterable or Stream","source",P)}else A(q)||$(q)||D(q)?P=q:P=u.from(q);else if(typeof q=="function"){if(D(P)){var J;P=ue((J=P)===null||J===void 0?void 0:J.readable)}else P=ue(P);if(P=q(P,{signal:V}),x){if(!A(P,!0))throw new p("AsyncIterable",`transform[${U-1}]`,P)}else{var te;L||(L=vw());let y=new L({objectMode:!0}),h=(te=P)===null||te===void 0?void 0:te.then;if(typeof h=="function")S++,h.call(P,w=>{ee=w,w!=null&&y.write(w),Y&&y.end(),r.nextTick(E)},w=>{y.destroy(w),r.nextTick(E,w)});else if(A(P,!0))S++,G(P,y,E,{end:Y});else if(z(P)||D(P)){let w=P.readable||P;S++,G(w,y,E,{end:Y})}else throw new p("AsyncIterable or Promise","destination",P);P=y;let{destroy:f,cleanup:g}=oe(P,!1,!0);v.push(f),le&&Z.push(g)}}else if(R(q)){if($(P)){S+=2;let y=O(P,q,E,{end:Y});M(q)&&le&&Z.push(y)}else if(D(P)||z(P)){let y=P.readable||P;S++,G(y,q,E,{end:Y})}else if(A(P))S++,G(P,q,E,{end:Y});else throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);P=q}else if(j(q)){if($(P))S++,pe(ue(P),q,E,{end:Y});else if(z(P)||A(P))S++,pe(P,q,E,{end:Y});else if(D(P))S++,pe(P.readable,q,E,{end:Y});else throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);P=q}else P=u.from(q)}return(V!=null&&V.aborted||F!=null&&F.aborted)&&r.nextTick(he),P}function O(ie,me,ve,{end:ye}){let V=!1;if(me.on("close",()=>{V||ve(new b)}),ie.pipe(me,{end:!1}),ye){let F=function(){V=!0,me.end()};se(ie)?r.nextTick(F):ie.once("end",F)}else ve();return s(ie,{readable:!0,writable:!1},F=>{let Z=ie._readableState;F&&F.code==="ERR_STREAM_PREMATURE_CLOSE"&&Z&&Z.ended&&!Z.errored&&!Z.errorEmitted?ie.once("end",ve).once("error",ve):ve(F)}),s(me,{readable:!1,writable:!0},ve)}t.exports={pipelineImpl:ge,pipeline:de}}),Ew=Ae((e,t)=>{_e(),we(),be();var{pipeline:r}=hp(),n=dn(),{destroyer:o}=zo(),{isNodeStream:i,isReadable:s,isWritable:a,isWebStream:l,isTransformStream:u,isWritableStream:c,isReadableStream:d}=En(),{AbortError:p,codes:{ERR_INVALID_ARG_VALUE:m,ERR_MISSING_ARGS:_}}=jt(),b=Gn();t.exports=function(...T){if(T.length===0)throw new _("streams");if(T.length===1)return n.from(T[0]);let k=[...T];if(typeof T[0]=="function"&&(T[0]=n.from(T[0])),typeof T[T.length-1]=="function"){let L=T.length-1;T[L]=n.from(T[L])}for(let L=0;L0&&!(a(T[L])||c(T[L])||u(T[L])))throw new m(`streams[${L}]`,k[L],"must be writable")}let C,A,M,$,R;function D(L){let B=$;$=null,B?B(L):L?R.destroy(L):!re&&!se&&R.destroy()}let j=T[0],z=r(T,D),se=!!(a(j)||c(j)||u(j)),re=!!(s(z)||d(z)||u(z));if(R=new n({writableObjectMode:!!(j!=null&&j.writableObjectMode),readableObjectMode:!!(z!=null&&z.writableObjectMode),writable:se,readable:re}),se){if(i(j))R._write=function(B,oe,ne){j.write(B,oe)?ne():C=ne},R._final=function(B){j.end(),A=B},j.on("drain",function(){if(C){let B=C;C=null,B()}});else if(l(j)){let B=(u(j)?j.writable:j).getWriter();R._write=async function(oe,ne,ue){try{await B.ready,B.write(oe).catch(()=>{}),ue()}catch(ae){ue(ae)}},R._final=async function(oe){try{await B.ready,B.close().catch(()=>{}),A=oe}catch(ne){oe(ne)}}}let L=u(z)?z.readable:z;b(L,()=>{if(A){let B=A;A=null,B()}})}if(re){if(i(z))z.on("readable",function(){if(M){let L=M;M=null,L()}}),z.on("end",function(){R.push(null)}),R._read=function(){for(;;){let L=z.read();if(L===null){M=R._read;return}if(!R.push(L))return}};else if(l(z)){let L=(u(z)?z.readable:z).getReader();R._read=async function(){for(;;)try{let{value:B,done:oe}=await L.read();if(!R.push(B))return;if(oe){R.push(null);return}}catch{return}}}}return R._destroy=function(L,B){!L&&$!==null&&(L=new p),M=null,C=null,A=null,$===null?B(L):($=B,i(z)&&o(z,L))},R}}),WO=Ae((e,t)=>{_e(),we(),be();var r=globalThis.AbortController||ap().AbortController,{codes:{ERR_INVALID_ARG_VALUE:n,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:i,ERR_OUT_OF_RANGE:s},AbortError:a}=jt(),{validateAbortSignal:l,validateInteger:u,validateObject:c}=iu(),d=ht().Symbol("kWeak"),{finished:p}=Gn(),m=Ew(),{addAbortSignalNoValidate:_}=ou(),{isWritable:b,isNodeStream:T}=En(),{ArrayPrototypePush:k,MathFloor:C,Number:A,NumberIsNaN:M,Promise:$,PromiseReject:R,PromisePrototypeThen:D,Symbol:j}=ht(),z=j("kEmpty"),se=j("kEof");function re(ye,V){if(V!=null&&c(V,"options"),(V==null?void 0:V.signal)!=null&&l(V.signal,"options.signal"),T(ye)&&!b(ye))throw new n("stream",ye,"must be writable");let F=m(this,ye);return V!=null&&V.signal&&_(V.signal,F),F}function L(ye,V){if(typeof ye!="function")throw new o("fn",["Function","AsyncFunction"],ye);V!=null&&c(V,"options"),(V==null?void 0:V.signal)!=null&&l(V.signal,"options.signal");let F=1;return(V==null?void 0:V.concurrency)!=null&&(F=C(V.concurrency)),u(F,"concurrency",1),(async function*(){var Z,he;let fe=new r,ee=this,v=[],S=fe.signal,E={signal:S},N=()=>fe.abort();V!=null&&(Z=V.signal)!==null&&Z!==void 0&&Z.aborted&&N(),V==null||(he=V.signal)===null||he===void 0||he.addEventListener("abort",N);let P,J,te=!1;function U(){te=!0}async function q(){try{for await(let Y of ee){var x;if(te)return;if(S.aborted)throw new a;try{Y=ye(Y,E)}catch(le){Y=R(le)}Y!==z&&(typeof((x=Y)===null||x===void 0?void 0:x.catch)=="function"&&Y.catch(U),v.push(Y),P&&(P(),P=null),!te&&v.length&&v.length>=F&&await new $(le=>{J=le}))}v.push(se)}catch(Y){let le=R(Y);D(le,void 0,U),v.push(le)}finally{var K;te=!0,P&&(P(),P=null),V==null||(K=V.signal)===null||K===void 0||K.removeEventListener("abort",N)}}q();try{for(;;){for(;v.length>0;){let x=await v[0];if(x===se)return;if(S.aborted)throw new a;x!==z&&(yield x),v.shift(),J&&(J(),J=null)}await new $(x=>{P=x})}}finally{fe.abort(),te=!0,J&&(J(),J=null)}}).call(this)}function B(ye=void 0){return ye!=null&&c(ye,"options"),(ye==null?void 0:ye.signal)!=null&&l(ye.signal,"options.signal"),(async function*(){let V=0;for await(let Z of this){var F;if(ye!=null&&(F=ye.signal)!==null&&F!==void 0&&F.aborted)throw new a({cause:ye.signal.reason});yield[V++,Z]}}).call(this)}async function oe(ye,V=void 0){for await(let F of G.call(this,ye,V))return!0;return!1}async function ne(ye,V=void 0){if(typeof ye!="function")throw new o("fn",["Function","AsyncFunction"],ye);return!await oe.call(this,async(...F)=>!await ye(...F),V)}async function ue(ye,V){for await(let F of G.call(this,ye,V))return F}async function ae(ye,V){if(typeof ye!="function")throw new o("fn",["Function","AsyncFunction"],ye);async function F(Z,he){return await ye(Z,he),z}for await(let Z of L.call(this,F,V));}function G(ye,V){if(typeof ye!="function")throw new o("fn",["Function","AsyncFunction"],ye);async function F(Z,he){return await ye(Z,he)?Z:z}return L.call(this,F,V)}var pe=class extends i{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function de(ye,V,F){var Z;if(typeof ye!="function")throw new o("reducer",["Function","AsyncFunction"],ye);F!=null&&c(F,"options"),(F==null?void 0:F.signal)!=null&&l(F.signal,"options.signal");let he=arguments.length>1;if(F!=null&&(Z=F.signal)!==null&&Z!==void 0&&Z.aborted){let E=new a(void 0,{cause:F.signal.reason});throw this.once("error",()=>{}),await p(this.destroy(E)),E}let fe=new r,ee=fe.signal;if(F!=null&&F.signal){let E={once:!0,[d]:this};F.signal.addEventListener("abort",()=>fe.abort(),E)}let v=!1;try{for await(let E of this){var S;if(v=!0,F!=null&&(S=F.signal)!==null&&S!==void 0&&S.aborted)throw new a;he?V=await ye(V,E,{signal:ee}):(V=E,he=!0)}if(!v&&!he)throw new pe}finally{fe.abort()}return V}async function ge(ye){ye!=null&&c(ye,"options"),(ye==null?void 0:ye.signal)!=null&&l(ye.signal,"options.signal");let V=[];for await(let Z of this){var F;if(ye!=null&&(F=ye.signal)!==null&&F!==void 0&&F.aborted)throw new a(void 0,{cause:ye.signal.reason});k(V,Z)}return V}function O(ye,V){let F=L.call(this,ye,V);return(async function*(){for await(let Z of F)yield*Z}).call(this)}function ie(ye){if(ye=A(ye),M(ye))return 0;if(ye<0)throw new s("number",">= 0",ye);return ye}function me(ye,V=void 0){return V!=null&&c(V,"options"),(V==null?void 0:V.signal)!=null&&l(V.signal,"options.signal"),ye=ie(ye),(async function*(){var F;if(V!=null&&(F=V.signal)!==null&&F!==void 0&&F.aborted)throw new a;for await(let he of this){var Z;if(V!=null&&(Z=V.signal)!==null&&Z!==void 0&&Z.aborted)throw new a;ye--<=0&&(yield he)}}).call(this)}function ve(ye,V=void 0){return V!=null&&c(V,"options"),(V==null?void 0:V.signal)!=null&&l(V.signal,"options.signal"),ye=ie(ye),(async function*(){var F;if(V!=null&&(F=V.signal)!==null&&F!==void 0&&F.aborted)throw new a;for await(let he of this){var Z;if(V!=null&&(Z=V.signal)!==null&&Z!==void 0&&Z.aborted)throw new a;if(ye-- >0)yield he;else return}}).call(this)}t.exports.streamReturningOperators={asIndexedPairs:B,drop:me,filter:G,flatMap:O,map:L,take:ve,compose:re},t.exports.promiseReturningOperators={every:ne,forEach:ae,reduce:de,toArray:ge,some:oe,find:ue}}),Sw=Ae((e,t)=>{_e(),we(),be();var{ArrayPrototypePop:r,Promise:n}=ht(),{isIterable:o,isNodeStream:i,isWebStream:s}=En(),{pipelineImpl:a}=hp(),{finished:l}=Gn();Aw();function u(...c){return new n((d,p)=>{let m,_,b=c[c.length-1];if(b&&typeof b=="object"&&!i(b)&&!o(b)&&!s(b)){let T=r(c);m=T.signal,_=T.end}a(c,(T,k)=>{T?p(T):d(k)},{signal:m,end:_})})}t.exports={finished:l,pipeline:u}}),Aw=Ae((e,t)=>{_e(),we(),be();var{Buffer:r}=(wt(),Ge(bt)),{ObjectDefineProperty:n,ObjectKeys:o,ReflectApply:i}=ht(),{promisify:{custom:s}}=hn(),{streamReturningOperators:a,promiseReturningOperators:l}=WO(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:u}}=jt(),c=Ew(),{pipeline:d}=hp(),{destroyer:p}=zo(),m=Gn(),_=Sw(),b=En(),T=t.exports=lp().Stream;T.isDisturbed=b.isDisturbed,T.isErrored=b.isErrored,T.isReadable=b.isReadable,T.Readable=au();for(let C of o(a)){let A=function(...$){if(new.target)throw u();return T.Readable.from(i(M,this,$))},M=a[C];n(A,"name",{__proto__:null,value:M.name}),n(A,"length",{__proto__:null,value:M.length}),n(T.Readable.prototype,C,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}for(let C of o(l)){let A=function(...$){if(new.target)throw u();return i(M,this,$)},M=l[C];n(A,"name",{__proto__:null,value:M.name}),n(A,"length",{__proto__:null,value:M.length}),n(T.Readable.prototype,C,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}T.Writable=bw(),T.Duplex=dn(),T.Transform=ww(),T.PassThrough=vw(),T.pipeline=d;var{addAbortSignal:k}=ou();T.addAbortSignal=k,T.finished=m,T.destroy=p,T.compose=c,n(T,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return _}}),n(d,s,{__proto__:null,enumerable:!0,get(){return _.pipeline}}),n(m,s,{__proto__:null,enumerable:!0,get(){return _.finished}}),T.Stream=T,T._isUint8Array=function(C){return C instanceof Uint8Array},T._uint8ArrayToBuffer=function(C){return r.from(C.buffer,C.byteOffset,C.byteLength)}}),Hi=Ae((e,t)=>{_e(),we(),be();var r=Aw(),n=Sw(),o=r.Readable.destroy;t.exports=r.Readable,t.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,t.exports._isUint8Array=r._isUint8Array,t.exports.isDisturbed=r.isDisturbed,t.exports.isErrored=r.isErrored,t.exports.isReadable=r.isReadable,t.exports.Readable=r.Readable,t.exports.Writable=r.Writable,t.exports.Duplex=r.Duplex,t.exports.Transform=r.Transform,t.exports.PassThrough=r.PassThrough,t.exports.addAbortSignal=r.addAbortSignal,t.exports.finished=r.finished,t.exports.destroy=r.destroy,t.exports.destroy=o,t.exports.pipeline=r.pipeline,t.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return n}}),t.exports.Stream=r.Stream,t.exports.default=t.exports}),HO=Ae((e,t)=>{_e(),we(),be(),typeof Object.create=="function"?t.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,n){if(n){r.super_=n;var o=function(){};o.prototype=n.prototype,r.prototype=new o,r.prototype.constructor=r}}}),VO=Ae((e,t)=>{_e(),we(),be();var{Buffer:r}=(wt(),Ge(bt)),n=Symbol.for("BufferList");function o(i){if(!(this instanceof o))return new o(i);o._init.call(this,i)}o._init=function(i){Object.defineProperty(this,n,{value:!0}),this._bufs=[],this.length=0,i&&this.append(i)},o.prototype._new=function(i){return new o(i)},o.prototype._offset=function(i){if(i===0)return[0,0];let s=0;for(let a=0;athis.length||i<0)return;let s=this._offset(i);return this._bufs[s[0]][s[1]]},o.prototype.slice=function(i,s){return typeof i=="number"&&i<0&&(i+=this.length),typeof s=="number"&&s<0&&(s+=this.length),this.copy(null,0,i,s)},o.prototype.copy=function(i,s,a,l){if((typeof a!="number"||a<0)&&(a=0),(typeof l!="number"||l>this.length)&&(l=this.length),a>=this.length||l<=0)return i||r.alloc(0);let u=!!i,c=this._offset(a),d=l-a,p=d,m=u&&s||0,_=c[1];if(a===0&&l===this.length){if(!u)return this._bufs.length===1?this._bufs[0]:r.concat(this._bufs,this.length);for(let b=0;bT)this._bufs[b].copy(i,m,_),m+=T;else{this._bufs[b].copy(i,m,_,_+p),m+=T;break}p-=T,_&&(_=0)}return i.length>m?i.slice(0,m):i},o.prototype.shallowSlice=function(i,s){if(i=i||0,s=typeof s!="number"?this.length:s,i<0&&(i+=this.length),s<0&&(s+=this.length),i===s)return this._new();let a=this._offset(i),l=this._offset(s),u=this._bufs.slice(a[0],l[0]+1);return l[1]===0?u.pop():u[u.length-1]=u[u.length-1].slice(0,l[1]),a[1]!==0&&(u[0]=u[0].slice(a[1])),this._new(u)},o.prototype.toString=function(i,s,a){return this.slice(s,a).toString(i)},o.prototype.consume=function(i){if(i=Math.trunc(i),Number.isNaN(i)||i<=0)return this;for(;this._bufs.length;)if(i>=this._bufs[0].length)i-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(i),this.length-=i;break}return this},o.prototype.duplicate=function(){let i=this._new();for(let s=0;sthis.length?this.length:s;let l=this._offset(s),u=l[0],c=l[1];for(;u=i.length){let p=d.indexOf(i,c);if(p!==-1)return this._reverseOffset([u,p]);c=d.length-i.length+1}else{let p=this._reverseOffset([u,c]);if(this._match(p,i))return p;c++}c=0}return-1},o.prototype._match=function(i,s){if(this.length-i{_e(),we(),be();var r=Hi().Duplex,n=HO(),o=VO();function i(s){if(!(this instanceof i))return new i(s);if(typeof s=="function"){this._callback=s;let a=(function(l){this._callback&&(this._callback(l),this._callback=null)}).bind(this);this.on("pipe",function(l){l.on("error",a)}),this.on("unpipe",function(l){l.removeListener("error",a)}),s=null}o._init.call(this,s),r.call(this)}n(i,r),Object.assign(i.prototype,o.prototype),i.prototype._new=function(s){return new i(s)},i.prototype._write=function(s,a,l){this._appendBuffer(s),typeof l=="function"&&l()},i.prototype._read=function(s){if(!this.length)return this.push(null);s=Math.min(s,this.length),this.push(this.slice(0,s)),this.consume(s)},i.prototype.end=function(s){r.prototype.end.call(this,s),this._callback&&(this._callback(null,this.slice()),this._callback=null)},i.prototype._destroy=function(s,a){this._bufs.length=0,this.length=0,a(s)},i.prototype._isBufferList=function(s){return s instanceof i||s instanceof o||i.isBufferList(s)},i.isBufferList=o.isBufferList,t.exports=i,t.exports.BufferListStream=i,t.exports.BufferList=o}),KO=Ae((e,t)=>{_e(),we(),be();var r=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}};t.exports=r}),Tw=Ae((e,t)=>{_e(),we(),be();var r=t.exports,{Buffer:n}=(wt(),Ge(bt));r.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},r.requiredHeaderFlags={1:0,2:0,4:0,5:0,6:2,7:0,8:2,9:0,10:2,11:0,12:0,13:0,14:0,15:0},r.requiredHeaderFlagsErrors={};for(let i in r.requiredHeaderFlags){let s=r.requiredHeaderFlags[i];r.requiredHeaderFlagsErrors[i]="Invalid header flag bits, must be 0x"+s.toString(16)+" for "+r.types[i]+" packet"}r.codes={};for(let i in r.types){let s=r.types[i];r.codes[s]=i}r.CMD_SHIFT=4,r.CMD_MASK=240,r.DUP_MASK=8,r.QOS_MASK=3,r.QOS_SHIFT=1,r.RETAIN_MASK=1,r.VARBYTEINT_MASK=127,r.VARBYTEINT_FIN_MASK=128,r.VARBYTEINT_MAX=268435455,r.SESSIONPRESENT_MASK=1,r.SESSIONPRESENT_HEADER=n.from([r.SESSIONPRESENT_MASK]),r.CONNACK_HEADER=n.from([r.codes.connack<[0,1].map(a=>[0,1].map(l=>{let u=n.alloc(1);return u.writeUInt8(r.codes[i]<n.from([i])),r.EMPTY={pingreq:n.from([r.codes.pingreq<<4,0]),pingresp:n.from([r.codes.pingresp<<4,0]),disconnect:n.from([r.codes.disconnect<<4,0])},r.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},r.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},r.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},r.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}}),YO=Ae((e,t)=>{_e(),we(),be();var r=1e3,n=r*60,o=n*60,i=o*24,s=i*7,a=i*365.25;t.exports=function(p,m){m=m||{};var _=typeof p;if(_==="string"&&p.length>0)return l(p);if(_==="number"&&isFinite(p))return m.long?c(p):u(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function l(p){if(p=String(p),!(p.length>100)){var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(m){var _=parseFloat(m[1]),b=(m[2]||"ms").toLowerCase();switch(b){case"years":case"year":case"yrs":case"yr":case"y":return _*a;case"weeks":case"week":case"w":return _*s;case"days":case"day":case"d":return _*i;case"hours":case"hour":case"hrs":case"hr":case"h":return _*o;case"minutes":case"minute":case"mins":case"min":case"m":return _*n;case"seconds":case"second":case"secs":case"sec":case"s":return _*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return _;default:return}}}}function u(p){var m=Math.abs(p);return m>=i?Math.round(p/i)+"d":m>=o?Math.round(p/o)+"h":m>=n?Math.round(p/n)+"m":m>=r?Math.round(p/r)+"s":p+"ms"}function c(p){var m=Math.abs(p);return m>=i?d(p,m,i,"day"):m>=o?d(p,m,o,"hour"):m>=n?d(p,m,n,"minute"):m>=r?d(p,m,r,"second"):p+" ms"}function d(p,m,_,b){var T=m>=_*1.5;return Math.round(p/_)+" "+b+(T?"s":"")}}),zO=Ae((e,t)=>{_e(),we(),be();function r(n){i.debug=i,i.default=i,i.coerce=d,i.disable=l,i.enable=a,i.enabled=u,i.humanize=YO(),i.destroy=p,Object.keys(n).forEach(m=>{i[m]=n[m]}),i.names=[],i.skips=[],i.formatters={};function o(m){let _=0;for(let b=0;b{if(j==="%%")return"%";D++;let se=i.formatters[z];if(typeof se=="function"){let re=A[D];j=se.call(M,re),A.splice(D,1),D--}return j}),i.formatArgs.call(M,A),(M.log||i.log).apply(M,A)}return C.namespace=m,C.useColors=i.useColors(),C.color=i.selectColor(m),C.extend=s,C.destroy=i.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:()=>b!==null?b:(T!==i.namespaces&&(T=i.namespaces,k=i.enabled(m)),k),set:A=>{b=A}}),typeof i.init=="function"&&i.init(C),C}function s(m,_){let b=i(this.namespace+(typeof _>"u"?":":_)+m);return b.log=this.log,b}function a(m){i.save(m),i.namespaces=m,i.names=[],i.skips=[];let _,b=(typeof m=="string"?m:"").split(/[\s,]+/),T=b.length;for(_=0;_"-"+_)].join(",");return i.enable(""),m}function u(m){if(m[m.length-1]==="*")return!0;let _,b;for(_=0,b=i.skips.length;_{_e(),we(),be(),e.formatArgs=n,e.save=o,e.load=i,e.useColors=r,e.storage=s(),e.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,d=0;l[0].replace(/%[a-zA-Z%]/g,p=>{p!=="%%"&&(c++,p==="%c"&&(d=c))}),l.splice(d,0,u)}e.log=console.debug||console.log||(()=>{});function o(l){try{l?e.storage.setItem("debug",l):e.storage.removeItem("debug")}catch{}}function i(){let l;try{l=e.storage.getItem("debug")}catch{}return!l&&typeof We<"u"&&"env"in We&&(l=We.env.DEBUG),l}function s(){try{return localStorage}catch{}}t.exports=zO()(e);var{formatters:a}=t.exports;a.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}),GO=Ae((e,t)=>{_e(),we(),be();var r=qO(),{EventEmitter:n}=(Go(),Ge(Wi)),o=KO(),i=Tw(),s=pn()("mqtt-packet:parser"),a=class Ih extends n{constructor(){super(),this.parser=this.constructor.parser}static parser(u){return this instanceof Ih?(this.settings=u||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):new Ih().parser(u)}_resetState(){s("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new o,this.error=null,this._list=r(),this._stateCounter=0}parse(u){for(this.error&&this._resetState(),this._list.append(u),s("parse: current state: %s",this._states[this._stateCounter]);(this.packet.length!==-1||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,s("parse: state complete. _stateCounter is now: %d",this._stateCounter),s("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return s("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){let u=this._list.readUInt8(0),c=u>>i.CMD_SHIFT;this.packet.cmd=i.types[c];let d=u&15,p=i.requiredHeaderFlags[c];return p!=null&&d!==p?this._emitError(new Error(i.requiredHeaderFlagsErrors[c])):(this.packet.retain=(u&i.RETAIN_MASK)!==0,this.packet.qos=u>>i.QOS_SHIFT&i.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=(u&i.DUP_MASK)!==0,s("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){let u=this._parseVarByteNum(!0);return u&&(this.packet.length=u.value,this._list.consume(u.bytes)),s("_parseLength %d",u.value),!!u}_parsePayload(){s("_parsePayload: payload %O",this._list);let u=!1;if(this.packet.length===0||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}u=!0}return s("_parsePayload complete result: %s",u),u}_parseConnect(){s("_parseConnect");let u,c,d,p,m={},_=this.packet,b=this._parseString();if(b===null)return this._emitError(new Error("Cannot parse protocolId"));if(b!=="MQTT"&&b!=="MQIsdp")return this._emitError(new Error("Invalid protocolId"));if(_.protocolId=b,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(_.protocolVersion=this._list.readUInt8(this._pos),_.protocolVersion>=128&&(_.bridgeMode=!0,_.protocolVersion=_.protocolVersion-128),_.protocolVersion!==3&&_.protocolVersion!==4&&_.protocolVersion!==5)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(this._list.readUInt8(this._pos)&1)return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));m.username=this._list.readUInt8(this._pos)&i.USERNAME_MASK,m.password=this._list.readUInt8(this._pos)&i.PASSWORD_MASK,m.will=this._list.readUInt8(this._pos)&i.WILL_FLAG_MASK;let T=!!(this._list.readUInt8(this._pos)&i.WILL_RETAIN_MASK),k=(this._list.readUInt8(this._pos)&i.WILL_QOS_MASK)>>i.WILL_QOS_SHIFT;if(m.will)_.will={},_.will.retain=T,_.will.qos=k;else{if(T)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(k)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(_.clean=(this._list.readUInt8(this._pos)&i.CLEAN_SESSION_MASK)!==0,this._pos++,_.keepalive=this._parseNum(),_.keepalive===-1)return this._emitError(new Error("Packet too short"));if(_.protocolVersion===5){let A=this._parseProperties();Object.getOwnPropertyNames(A).length&&(_.properties=A)}let C=this._parseString();if(C===null)return this._emitError(new Error("Packet too short"));if(_.clientId=C,s("_parseConnect: packet.clientId: %s",_.clientId),m.will){if(_.protocolVersion===5){let A=this._parseProperties();Object.getOwnPropertyNames(A).length&&(_.will.properties=A)}if(u=this._parseString(),u===null)return this._emitError(new Error("Cannot parse will topic"));if(_.will.topic=u,s("_parseConnect: packet.will.topic: %s",_.will.topic),c=this._parseBuffer(),c===null)return this._emitError(new Error("Cannot parse will payload"));_.will.payload=c,s("_parseConnect: packet.will.paylaod: %s",_.will.payload)}if(m.username){if(p=this._parseString(),p===null)return this._emitError(new Error("Cannot parse username"));_.username=p,s("_parseConnect: packet.username: %s",_.username)}if(m.password){if(d=this._parseBuffer(),d===null)return this._emitError(new Error("Cannot parse password"));_.password=d}return this.settings=_,s("_parseConnect: complete"),_}_parseConnack(){s("_parseConnack");let u=this.packet;if(this._list.length<1)return null;let c=this._list.readUInt8(this._pos++);if(c>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(u.sessionPresent=!!(c&i.SESSIONPRESENT_MASK),this.settings.protocolVersion===5)this._list.length>=2?u.reasonCode=this._list.readUInt8(this._pos++):u.reasonCode=0;else{if(this._list.length<2)return null;u.returnCode=this._list.readUInt8(this._pos++)}if(u.returnCode===-1||u.reasonCode===-1)return this._emitError(new Error("Cannot parse return code"));if(this.settings.protocolVersion===5){let d=this._parseProperties();Object.getOwnPropertyNames(d).length&&(u.properties=d)}s("_parseConnack: complete")}_parsePublish(){s("_parsePublish");let u=this.packet;if(u.topic=this._parseString(),u.topic===null)return this._emitError(new Error("Cannot parse topic"));if(!(u.qos>0&&!this._parseMessageId())){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}u.payload=this._list.slice(this._pos,u.length),s("_parsePublish: payload from buffer list: %o",u.payload)}}_parseSubscribe(){s("_parseSubscribe");let u=this.packet,c,d,p,m,_,b,T;if(u.subscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let k=this._parseProperties();Object.getOwnPropertyNames(k).length&&(u.properties=k)}if(u.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos=u.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(d=this._parseByte(),this.settings.protocolVersion===5){if(d&192)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(d&252)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(p=d&i.SUBSCRIBE_OPTIONS_QOS_MASK,p>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(b=(d>>i.SUBSCRIBE_OPTIONS_NL_SHIFT&i.SUBSCRIBE_OPTIONS_NL_MASK)!==0,_=(d>>i.SUBSCRIBE_OPTIONS_RAP_SHIFT&i.SUBSCRIBE_OPTIONS_RAP_MASK)!==0,m=d>>i.SUBSCRIBE_OPTIONS_RH_SHIFT&i.SUBSCRIBE_OPTIONS_RH_MASK,m>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));T={topic:c,qos:p},this.settings.protocolVersion===5?(T.nl=b,T.rap=_,T.rh=m):this.settings.bridgeMode&&(T.rh=0,T.rap=!0,T.nl=!0),s("_parseSubscribe: push subscription `%s` to subscription",T),u.subscriptions.push(T)}}}_parseSuback(){s("_parseSuback");let u=this.packet;if(this.packet.granted=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}if(u.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos2&&c!==128)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(c)}}}_parseUnsubscribe(){s("_parseUnsubscribe");let u=this.packet;if(u.unsubscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}if(u.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos2){switch(u.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!i.MQTT5_PUBACK_PUBREC_CODES[u.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!i.MQTT5_PUBREL_PUBCOMP_CODES[u.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break}s("_parseConfirmation: packet.reasonCode `%d`",u.reasonCode)}else u.reasonCode=0;if(u.length>3){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}}return!0}_parseDisconnect(){let u=this.packet;if(s("_parseDisconnect"),this.settings.protocolVersion===5){this._list.length>0?(u.reasonCode=this._parseByte(),i.MQTT5_DISCONNECT_CODES[u.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):u.reasonCode=0;let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}return s("_parseDisconnect result: true"),!0}_parseAuth(){s("_parseAuth");let u=this.packet;if(this.settings.protocolVersion!==5)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(u.reasonCode=this._parseByte(),!i.MQTT5_AUTH_CODES[u.reasonCode])return this._emitError(new Error("Invalid auth reason code"));let c=this._parseProperties();return Object.getOwnPropertyNames(c).length&&(u.properties=c),s("_parseAuth: result: true"),!0}_parseMessageId(){let u=this.packet;return u.messageId=this._parseNum(),u.messageId===null?(this._emitError(new Error("Cannot parse messageId")),!1):(s("_parseMessageId: packet.messageId %d",u.messageId),!0)}_parseString(u){let c=this._parseNum(),d=c+this._pos;if(c===-1||d>this._list.length||d>this.packet.length)return null;let p=this._list.toString("utf8",this._pos,d);return this._pos+=c,s("_parseString: result: %s",p),p}_parseStringPair(){return s("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){let u=this._parseNum(),c=u+this._pos;if(u===-1||c>this._list.length||c>this.packet.length)return null;let d=this._list.slice(this._pos,c);return this._pos+=u,s("_parseBuffer: result: %o",d),d}_parseNum(){if(this._list.length-this._pos<2)return-1;let u=this._list.readUInt16BE(this._pos);return this._pos+=2,s("_parseNum: result: %s",u),u}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;let u=this._list.readUInt32BE(this._pos);return this._pos+=4,s("_parse4ByteNum: result: %s",u),u}_parseVarByteNum(u){s("_parseVarByteNum");let c=4,d=0,p=1,m=0,_=!1,b,T=this._pos?this._pos:0;for(;d=d&&this._emitError(new Error("Invalid variable byte integer")),T&&(this._pos+=d),_?u?_={bytes:d,value:m}:_=m:_=!1,s("_parseVarByteNum: result: %o",_),_}_parseByte(){let u;return this._pos{_e(),we(),be();var{Buffer:r}=(wt(),Ge(bt)),n=65536,o={},i=r.isBuffer(r.from([1,2]).subarray(0,1));function s(c){let d=r.allocUnsafe(2);return d.writeUInt8(c>>8,0),d.writeUInt8(c&255,1),d}function a(){for(let c=0;c0&&(d=d|128),m.writeUInt8(d,p++);while(c>0&&p<4);return c>0&&(p=0),i?m.subarray(0,p):m.slice(0,p)}function u(c){let d=r.allocUnsafe(4);return d.writeUInt32BE(c,0),d}t.exports={cache:o,generateCache:a,generateNumber:s,genBufVariableByteInt:l,generate4ByteBuffer:u}}),XO=Ae((e,t)=>{_e(),we(),be(),typeof We>"u"||!We.version||We.version.indexOf("v0.")===0||We.version.indexOf("v1.")===0&&We.version.indexOf("v1.8.")!==0?t.exports={nextTick:r}:t.exports=We;function r(n,o,i,s){if(typeof n!="function")throw new TypeError('"callback" argument must be a function');var a=arguments.length,l,u;switch(a){case 0:case 1:return We.nextTick(n);case 2:return We.nextTick(function(){n.call(null,o)});case 3:return We.nextTick(function(){n.call(null,o,i)});case 4:return We.nextTick(function(){n.call(null,o,i,s)});default:for(l=new Array(a-1),u=0;u{_e(),we(),be();var r=Tw(),{Buffer:n}=(wt(),Ge(bt)),o=n.allocUnsafe(0),i=n.from([0]),s=QO(),a=XO().nextTick,l=pn()("mqtt-packet:writeToStream"),u=s.cache,c=s.generateNumber,d=s.generateCache,p=s.genBufVariableByteInt,m=s.generate4ByteBuffer,_=ae,b=!0;function T(V,F,Z){switch(l("generate called"),F.cork&&(F.cork(),a(k,F)),b&&(b=!1,d()),l("generate: packet.cmd: %s",V.cmd),V.cmd){case"connect":return C(V,F);case"connack":return A(V,F,Z);case"publish":return M(V,F,Z);case"puback":case"pubrec":case"pubrel":case"pubcomp":return $(V,F,Z);case"subscribe":return R(V,F,Z);case"suback":return D(V,F,Z);case"unsubscribe":return j(V,F,Z);case"unsuback":return z(V,F,Z);case"pingreq":case"pingresp":return se(V,F);case"disconnect":return re(V,F,Z);case"auth":return L(V,F,Z);default:return F.destroy(new Error("Unknown command")),!1}}Object.defineProperty(T,"cacheNumbers",{get(){return _===ae},set(V){V?((!u||Object.keys(u).length===0)&&(b=!0),_=ae):(b=!1,_=G)}});function k(V){V.uncork()}function C(V,F,Z){let he=V||{},fe=he.protocolId||"MQTT",ee=he.protocolVersion||4,v=he.will,S=he.clean,E=he.keepalive||0,N=he.clientId||"",P=he.username,J=he.password,te=he.properties;S===void 0&&(S=!0);let U=0;if(!fe||typeof fe!="string"&&!n.isBuffer(fe))return F.destroy(new Error("Invalid protocolId")),!1;if(U+=fe.length+2,ee!==3&&ee!==4&&ee!==5)return F.destroy(new Error("Invalid protocol version")),!1;if(U+=1,(typeof N=="string"||n.isBuffer(N))&&(N||ee>=4)&&(N||S))U+=n.byteLength(N)+2;else{if(ee<4)return F.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(S*1===0)return F.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if(typeof E!="number"||E<0||E>65535||E%1!==0)return F.destroy(new Error("Invalid keepalive")),!1;U+=2,U+=1;let q,x;if(ee===5){if(q=ge(F,te),!q)return!1;U+=q.length}if(v){if(typeof v!="object")return F.destroy(new Error("Invalid will")),!1;if(!v.topic||typeof v.topic!="string")return F.destroy(new Error("Invalid will topic")),!1;if(U+=n.byteLength(v.topic)+2,U+=2,v.payload)if(v.payload.length>=0)typeof v.payload=="string"?U+=n.byteLength(v.payload):U+=v.payload.length;else return F.destroy(new Error("Invalid will payload")),!1;if(x={},ee===5){if(x=ge(F,v.properties),!x)return!1;U+=x.length}}let K=!1;if(P!=null)if(ye(P))K=!0,U+=n.byteLength(P)+2;else return F.destroy(new Error("Invalid username")),!1;if(J!=null){if(!K)return F.destroy(new Error("Username is required to use password")),!1;if(ye(J))U+=ve(J)+2;else return F.destroy(new Error("Invalid password")),!1}F.write(r.CONNECT_HEADER),oe(F,U),de(F,fe),he.bridgeMode&&(ee+=128),F.write(ee===131?r.VERSION131:ee===132?r.VERSION132:ee===4?r.VERSION4:ee===5?r.VERSION5:r.VERSION3);let Y=0;return Y|=P!=null?r.USERNAME_MASK:0,Y|=J!=null?r.PASSWORD_MASK:0,Y|=v&&v.retain?r.WILL_RETAIN_MASK:0,Y|=v&&v.qos?v.qos<0&&_(F,N),te==null||te.write(),l("publish: payload: %o",E),F.write(E)}function $(V,F,Z){let he=Z?Z.protocolVersion:4,fe=V||{},ee=fe.cmd||"puback",v=fe.messageId,S=fe.dup&&ee==="pubrel"?r.DUP_MASK:0,E=0,N=fe.reasonCode,P=fe.properties,J=he===5?3:2;if(ee==="pubrel"&&(E=1),typeof v!="number")return F.destroy(new Error("Invalid messageId")),!1;let te=null;if(he===5&&typeof P=="object"){if(te=O(F,P,Z,J),!te)return!1;J+=te.length}return F.write(r.ACKS[ee][E][S][0]),J===3&&(J+=N!==0?1:-1),oe(F,J),_(F,v),he===5&&J!==2&&F.write(n.from([N])),te!==null?te.write():J===4&&F.write(n.from([0])),!0}function R(V,F,Z){l("subscribe: packet: ");let he=Z?Z.protocolVersion:4,fe=V||{},ee=fe.dup?r.DUP_MASK:0,v=fe.messageId,S=fe.subscriptions,E=fe.properties,N=0;if(typeof v!="number")return F.destroy(new Error("Invalid messageId")),!1;N+=2;let P=null;if(he===5){if(P=ge(F,E),!P)return!1;N+=P.length}if(typeof S=="object"&&S.length)for(let te=0;te2)return F.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}N+=n.byteLength(U)+2+1}else return F.destroy(new Error("Invalid subscriptions")),!1;l("subscribe: writing to stream: %o",r.SUBSCRIBE_HEADER),F.write(r.SUBSCRIBE_HEADER[1][ee?1:0][0]),oe(F,N),_(F,v),P!==null&&P.write();let J=!0;for(let te of S){let U=te.topic,q=te.qos,x=+te.nl,K=+te.rap,Y=te.rh,le;ne(F,U),le=r.SUBSCRIBE_OPTIONS_QOS[q],he===5&&(le|=x?r.SUBSCRIBE_OPTIONS_NL:0,le|=K?r.SUBSCRIBE_OPTIONS_RAP:0,le|=Y?r.SUBSCRIBE_OPTIONS_RH[Y]:0),J=F.write(n.from([le]))}return J}function D(V,F,Z){let he=Z?Z.protocolVersion:4,fe=V||{},ee=fe.messageId,v=fe.granted,S=fe.properties,E=0;if(typeof ee!="number")return F.destroy(new Error("Invalid messageId")),!1;if(E+=2,typeof v=="object"&&v.length)for(let P=0;Pr.VARBYTEINT_MAX)return V.destroy(new Error(`Invalid variable byte integer: ${F}`)),!1;let Z=B[F];return Z||(Z=p(F),F<16384&&(B[F]=Z)),l("writeVarByteInt: writing to stream: %o",Z),V.write(Z)}function ne(V,F){let Z=n.byteLength(F);return _(V,Z),l("writeString: %s",F),V.write(F,"utf8")}function ue(V,F,Z){ne(V,F),ne(V,Z)}function ae(V,F){return l("writeNumberCached: number: %d",F),l("writeNumberCached: %o",u[F]),V.write(u[F])}function G(V,F){let Z=c(F);return l("writeNumberGenerated: %o",Z),V.write(Z)}function pe(V,F){let Z=m(F);return l("write4ByteNumber: %o",Z),V.write(Z)}function de(V,F){typeof F=="string"?ne(V,F):F?(_(V,F.length),V.write(F)):_(V,0)}function ge(V,F){if(typeof F!="object"||F.length!=null)return{length:1,write(){me(V,{},0)}};let Z=0;function he(fe,ee){let v=r.propertiesTypes[fe],S=0;switch(v){case"byte":{if(typeof ee!="boolean")return V.destroy(new Error(`Invalid ${fe}: ${ee}`)),!1;S+=2;break}case"int8":{if(typeof ee!="number"||ee<0||ee>255)return V.destroy(new Error(`Invalid ${fe}: ${ee}`)),!1;S+=2;break}case"binary":{if(ee&&ee===null)return V.destroy(new Error(`Invalid ${fe}: ${ee}`)),!1;S+=1+n.byteLength(ee)+2;break}case"int16":{if(typeof ee!="number"||ee<0||ee>65535)return V.destroy(new Error(`Invalid ${fe}: ${ee}`)),!1;S+=3;break}case"int32":{if(typeof ee!="number"||ee<0||ee>4294967295)return V.destroy(new Error(`Invalid ${fe}: ${ee}`)),!1;S+=5;break}case"var":{if(typeof ee!="number"||ee<0||ee>268435455)return V.destroy(new Error(`Invalid ${fe}: ${ee}`)),!1;S+=1+n.byteLength(p(ee));break}case"string":{if(typeof ee!="string")return V.destroy(new Error(`Invalid ${fe}: ${ee}`)),!1;S+=3+n.byteLength(ee.toString());break}case"pair":{if(typeof ee!="object")return V.destroy(new Error(`Invalid ${fe}: ${ee}`)),!1;S+=Object.getOwnPropertyNames(ee).reduce((E,N)=>{let P=ee[N];return Array.isArray(P)?E+=P.reduce((J,te)=>(J+=3+n.byteLength(N.toString())+2+n.byteLength(te.toString()),J),0):E+=3+n.byteLength(N.toString())+2+n.byteLength(ee[N].toString()),E},0);break}default:return V.destroy(new Error(`Invalid property ${fe}: ${ee}`)),!1}return S}if(F)for(let fe in F){let ee=0,v=0,S=F[fe];if(Array.isArray(S))for(let E=0;Eee;){let S=fe.shift();if(S&&F[S])delete F[S],v=ge(V,F);else return!1}return v}function ie(V,F,Z){switch(r.propertiesTypes[F]){case"byte":{V.write(n.from([r.properties[F]])),V.write(n.from([+Z]));break}case"int8":{V.write(n.from([r.properties[F]])),V.write(n.from([Z]));break}case"binary":{V.write(n.from([r.properties[F]])),de(V,Z);break}case"int16":{V.write(n.from([r.properties[F]])),_(V,Z);break}case"int32":{V.write(n.from([r.properties[F]])),pe(V,Z);break}case"var":{V.write(n.from([r.properties[F]])),oe(V,Z);break}case"string":{V.write(n.from([r.properties[F]])),ne(V,Z);break}case"pair":{Object.getOwnPropertyNames(Z).forEach(he=>{let fe=Z[he];Array.isArray(fe)?fe.forEach(ee=>{V.write(n.from([r.properties[F]])),ue(V,he.toString(),ee.toString())}):(V.write(n.from([r.properties[F]])),ue(V,he.toString(),fe.toString()))});break}default:return V.destroy(new Error(`Invalid property ${F} value: ${Z}`)),!1}}function me(V,F,Z){oe(V,Z);for(let he in F)if(Object.prototype.hasOwnProperty.call(F,he)&&F[he]!==null){let fe=F[he];if(Array.isArray(fe))for(let ee=0;ee{_e(),we(),be();var r=xw(),{EventEmitter:n}=(Go(),Ge(Wi)),{Buffer:o}=(wt(),Ge(bt));function i(a,l){let u=new s;return r(a,u,l),u.concat()}var s=class extends n{constructor(){super(),this._array=new Array(20),this._i=0}write(a){return this._array[this._i++]=a,!0}concat(){let a=0,l=new Array(this._array.length),u=this._array,c=0,d;for(d=0;d{_e(),we(),be(),e.parser=GO().parser,e.generate=JO(),e.writeToStream=xw()}),Iw=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(){this.nextId=Math.max(1,Math.floor(Math.random()*65535))}allocate(){let r=this.nextId++;return this.nextId===65536&&(this.nextId=1),r}getLastAllocated(){return this.nextId===1?65535:this.nextId-1}register(r){return!0}deallocate(r){}clear(){}};e.default=t}),ek=Ae((e,t)=>{_e(),we(),be(),t.exports=n;function r(i){return i instanceof ml?ml.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function n(i){if(i=i||{},i.circles)return o(i);return i.proto?l:a;function s(u,c){for(var d=Object.keys(u),p=new Array(d.length),m=0;m{_e(),we(),be(),t.exports=ek()()}),rk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0}),e.validateTopics=e.validateTopic=void 0;function t(n){let o=n.split("/");for(let i=0;i{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=Hi(),r={objectMode:!0},n={clean:!0},o=class{constructor(i){this.options=i||{},this.options=Object.assign(Object.assign({},n),i),this._inflights=new Map}put(i,s){return this._inflights.set(i.messageId,i),s&&s(),this}createStream(){let i=new t.Readable(r),s=[],a=!1,l=0;return this._inflights.forEach((u,c)=>{s.push(u)}),i._read=()=>{!a&&l{if(!a)return a=!0,setTimeout(()=>{i.emit("close")},0),i},i}del(i,s){let a=this._inflights.get(i.messageId);return a?(this._inflights.delete(i.messageId),s(null,a)):s&&s(new Error("missing packet")),this}get(i,s){let a=this._inflights.get(i.messageId);return a?s(null,a):s&&s(new Error("missing packet")),this}close(i){this.options.clean&&(this._inflights=null),i&&i()}};e.default=o}),nk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=[0,16,128,131,135,144,145,151,153],r=(n,o,i)=>{n.log("handlePublish: packet %o",o),i=typeof i<"u"?i:n.noop;let s=o.topic.toString(),a=o.payload,{qos:l}=o,{messageId:u}=o,{options:c}=n;if(n.options.protocolVersion===5){let d;if(o.properties&&(d=o.properties.topicAlias),typeof d<"u")if(s.length===0)if(d>0&&d<=65535){let p=n.topicAliasRecv.getTopicByAlias(d);if(p)s=p,n.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",s,d);else{n.log("handlePublish :: unregistered topic alias. alias: %d",d),n.emit("error",new Error("Received unregistered Topic Alias"));return}}else{n.log("handlePublish :: topic alias out of range. alias: %d",d),n.emit("error",new Error("Received Topic Alias is out of range"));return}else if(n.topicAliasRecv.put(s,d))n.log("handlePublish :: registered topic: %s - alias: %d",s,d);else{n.log("handlePublish :: topic alias out of range. alias: %d",d),n.emit("error",new Error("Received Topic Alias is out of range"));return}}switch(n.log("handlePublish: qos %d",l),l){case 2:{c.customHandleAcks(s,a,o,(d,p)=>{if(typeof d=="number"&&(p=d,d=null),d)return n.emit("error",d);if(t.indexOf(p)===-1)return n.emit("error",new Error("Wrong reason code for pubrec"));p?n._sendPacket({cmd:"pubrec",messageId:u,reasonCode:p},i):n.incomingStore.put(o,()=>{n._sendPacket({cmd:"pubrec",messageId:u},i)})});break}case 1:{c.customHandleAcks(s,a,o,(d,p)=>{if(typeof d=="number"&&(p=d,d=null),d)return n.emit("error",d);if(t.indexOf(p)===-1)return n.emit("error",new Error("Wrong reason code for puback"));p||n.emit("message",s,a,o),n.handleMessage(o,m=>{if(m)return i&&i(m);n._sendPacket({cmd:"puback",messageId:u,reasonCode:p},i)})});break}case 0:n.emit("message",s,a,o),n.handleMessage(o,i);break;default:n.log("handlePublish: unknown QoS. Doing nothing.");break}};e.default=r}),ik=Ae((e,t)=>{t.exports={version:"5.10.1"}}),Qo=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0}),e.MQTTJS_VERSION=e.nextTick=e.applyMixin=e.ErrorWithReasonCode=void 0;var t=class Rw extends Error{constructor(o,i){super(o),this.code=i,Object.setPrototypeOf(this,Rw.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}};e.ErrorWithReasonCode=t;function r(n,o,i=!1){var s;let a=[o];for(;;){let l=a[0],u=Object.getPrototypeOf(l);if(u!=null&&u.prototype)a.unshift(u);else break}for(let l of a)for(let u of Object.getOwnPropertyNames(l.prototype))(i||u!=="constructor")&&Object.defineProperty(n.prototype,u,(s=Object.getOwnPropertyDescriptor(l.prototype,u))!==null&&s!==void 0?s:Object.create(null))}e.applyMixin=r,e.nextTick=typeof(We==null?void 0:We.nextTick)=="function"?We.nextTick:n=>{setTimeout(n,0)},e.MQTTJS_VERSION=ik().version}),lu=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=void 0;var t=Qo();e.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};var r=(n,o)=>{let{messageId:i}=o,s=o.cmd,a=null,l=n.outgoing[i]?n.outgoing[i].cb:null,u=null;if(!l){n.log("_handleAck :: Server sent an ack in error. Ignoring.");return}switch(n.log("_handleAck :: packet type",s),s){case"pubcomp":case"puback":{let c=o.reasonCode;c&&c>0&&c!==16?(u=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[c]}`,c),n._removeOutgoingAndStoreMessage(i,()=>{l(u,o)})):n._removeOutgoingAndStoreMessage(i,l);break}case"pubrec":{a={cmd:"pubrel",qos:2,messageId:i};let c=o.reasonCode;c&&c>0&&c!==16?(u=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[c]}`,c),n._removeOutgoingAndStoreMessage(i,()=>{l(u,o)})):n._sendPacket(a);break}case"suback":{delete n.outgoing[i],n.messageIdProvider.deallocate(i);let c=o.granted;for(let d=0;d{delete n._resubscribeTopics[_]})}}delete n.messageIdToTopic[i],n._invokeStoreProcessingQueue(),l(u,o);break}case"unsuback":{delete n.outgoing[i],n.messageIdProvider.deallocate(i),n._invokeStoreProcessingQueue(),l(null,o);break}default:n.emit("error",new Error("unrecognized packet type"))}n.disconnecting&&Object.keys(n.outgoing).length===0&&n.emit("outgoingEmpty")};e.default=r}),ok=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=Qo(),r=lu(),n=(o,i)=>{let{options:s}=o,a=s.protocolVersion,l=a===5?i.reasonCode:i.returnCode;if(a!==5){let u=new t.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${a}`,l);o.emit("error",u);return}o.handleAuth(i,(u,c)=>{if(u){o.emit("error",u);return}if(l===24)o.reconnecting=!1,o._sendPacket(c);else{let d=new t.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[l]}`,l);o.emit("error",d)}})};e.default=n}),sk=Ae(e=>{var m,_,b,T,k,C,A,M,$,R,D,j,z,se,re,L,B,oe,ne,ue,ae,G,pe,de,ge,O,Ch,me,ve,ye,V,Ow,Z,he,fe,On,kn,Rh,Va,qa,et,Oh,_s,U;_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;var t=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,r=new Set,n=typeof We=="object"&&We?We:{},o=(q,x,K,Y)=>{typeof n.emitWarning=="function"?n.emitWarning(q,x,K,Y):console.error(`[${K}] ${x}: ${q}`)},i=globalThis.AbortController,s=globalThis.AbortSignal;if(typeof i>"u"){s=class{constructor(){nt(this,"onabort");nt(this,"_onabort",[]);nt(this,"reason");nt(this,"aborted",!1)}addEventListener(K,Y){this._onabort.push(Y)}},i=class{constructor(){nt(this,"signal",new s);x()}abort(K){var Y,le;if(!this.signal.aborted){this.signal.reason=K,this.signal.aborted=!0;for(let y of this.signal._onabort)y(K);(le=(Y=this.signal).onabort)==null||le.call(Y,K)}}};let q=((m=n.env)==null?void 0:m.LRU_CACHE_IGNORE_AC_WARNING)!=="1",x=()=>{q&&(q=!1,o("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",x))}}var a=q=>!r.has(q),l=q=>q&&q===Math.floor(q)&&q>0&&isFinite(q),u=q=>l(q)?q<=Math.pow(2,8)?Uint8Array:q<=Math.pow(2,16)?Uint16Array:q<=Math.pow(2,32)?Uint32Array:q<=Number.MAX_SAFE_INTEGER?c:null:null,c=class extends Array{constructor(q){super(q),this.fill(0)}},d=(_=class{constructor(x,K){nt(this,"heap");nt(this,"length");if(!X(_,b))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new K(x),this.length=0}static create(x){let K=u(x);if(!K)return[];Le(_,b,!0);let Y=new _(x,K);return Le(_,b,!1),Y}push(x){this.heap[this.length++]=x}pop(){return this.heap[--this.length]}},b=new WeakMap,Ue(_,b,!1),_),p=(U=class{constructor(x){Ue(this,O);Ue(this,T);Ue(this,k);Ue(this,C);Ue(this,A);Ue(this,M);nt(this,"ttl");nt(this,"ttlResolution");nt(this,"ttlAutopurge");nt(this,"updateAgeOnGet");nt(this,"updateAgeOnHas");nt(this,"allowStale");nt(this,"noDisposeOnSet");nt(this,"noUpdateTTL");nt(this,"maxEntrySize");nt(this,"sizeCalculation");nt(this,"noDeleteOnFetchRejection");nt(this,"noDeleteOnStaleGet");nt(this,"allowStaleOnFetchAbort");nt(this,"allowStaleOnFetchRejection");nt(this,"ignoreFetchAbort");Ue(this,$);Ue(this,R);Ue(this,D);Ue(this,j);Ue(this,z);Ue(this,se);Ue(this,re);Ue(this,L);Ue(this,B);Ue(this,oe);Ue(this,ne);Ue(this,ue);Ue(this,ae);Ue(this,G);Ue(this,pe);Ue(this,de);Ue(this,ge);Ue(this,me,()=>{});Ue(this,ve,()=>{});Ue(this,ye,()=>{});Ue(this,V,()=>!1);Ue(this,Z,x=>{});Ue(this,he,(x,K,Y)=>{});Ue(this,fe,(x,K,Y,le)=>{if(Y||le)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:K=0,ttl:Y,ttlResolution:le=1,ttlAutopurge:y,updateAgeOnGet:h,updateAgeOnHas:f,allowStale:g,dispose:w,disposeAfter:I,noDisposeOnSet:W,noUpdateTTL:ce,maxSize:xe=0,maxEntrySize:ke=0,sizeCalculation:Te,fetchMethod:Oe,noDeleteOnFetchRejection:Re,noDeleteOnStaleGet:Ve,allowStaleOnFetchRejection:ut,allowStaleOnFetchAbort:Ze,ignoreFetchAbort:at}=x;if(K!==0&&!l(K))throw new TypeError("max option must be a nonnegative integer");let mt=K?u(K):Array;if(!mt)throw new Error("invalid max value: "+K);if(Le(this,T,K),Le(this,k,xe),this.maxEntrySize=ke||X(this,k),this.sizeCalculation=Te,this.sizeCalculation){if(!X(this,k)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(Oe!==void 0&&typeof Oe!="function")throw new TypeError("fetchMethod must be a function if specified");if(Le(this,M,Oe),Le(this,de,!!Oe),Le(this,D,new Map),Le(this,j,new Array(K).fill(void 0)),Le(this,z,new Array(K).fill(void 0)),Le(this,se,new mt(K)),Le(this,re,new mt(K)),Le(this,L,0),Le(this,B,0),Le(this,oe,d.create(K)),Le(this,$,0),Le(this,R,0),typeof w=="function"&&Le(this,C,w),typeof I=="function"?(Le(this,A,I),Le(this,ne,[])):(Le(this,A,void 0),Le(this,ne,void 0)),Le(this,pe,!!X(this,C)),Le(this,ge,!!X(this,A)),this.noDisposeOnSet=!!W,this.noUpdateTTL=!!ce,this.noDeleteOnFetchRejection=!!Re,this.allowStaleOnFetchRejection=!!ut,this.allowStaleOnFetchAbort=!!Ze,this.ignoreFetchAbort=!!at,this.maxEntrySize!==0){if(X(this,k)!==0&&!l(X(this,k)))throw new TypeError("maxSize must be a positive integer if specified");if(!l(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Ne(this,O,Ow).call(this)}if(this.allowStale=!!g,this.noDeleteOnStaleGet=!!Ve,this.updateAgeOnGet=!!h,this.updateAgeOnHas=!!f,this.ttlResolution=l(le)||le===0?le:1,this.ttlAutopurge=!!y,this.ttl=Y||0,this.ttl){if(!l(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Ne(this,O,Ch).call(this)}if(X(this,T)===0&&this.ttl===0&&X(this,k)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!X(this,T)&&!X(this,k)){let ct="LRU_CACHE_UNBOUNDED";a(ct)&&(r.add(ct),o("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",ct,U))}}static unsafeExposeInternals(x){return{starts:X(x,ae),ttls:X(x,G),sizes:X(x,ue),keyMap:X(x,D),keyList:X(x,j),valList:X(x,z),next:X(x,se),prev:X(x,re),get head(){return X(x,L)},get tail(){return X(x,B)},free:X(x,oe),isBackgroundFetch:K=>{var Y;return Ne(Y=x,O,et).call(Y,K)},backgroundFetch:(K,Y,le,y)=>{var h;return Ne(h=x,O,qa).call(h,K,Y,le,y)},moveToTail:K=>{var Y;return Ne(Y=x,O,_s).call(Y,K)},indexes:K=>{var Y;return Ne(Y=x,O,On).call(Y,K)},rindexes:K=>{var Y;return Ne(Y=x,O,kn).call(Y,K)},isStale:K=>{var Y;return X(Y=x,V).call(Y,K)}}}get max(){return X(this,T)}get maxSize(){return X(this,k)}get calculatedSize(){return X(this,R)}get size(){return X(this,$)}get fetchMethod(){return X(this,M)}get dispose(){return X(this,C)}get disposeAfter(){return X(this,A)}getRemainingTTL(x){return X(this,D).has(x)?1/0:0}*entries(){for(let x of Ne(this,O,On).call(this))X(this,z)[x]!==void 0&&X(this,j)[x]!==void 0&&!Ne(this,O,et).call(this,X(this,z)[x])&&(yield[X(this,j)[x],X(this,z)[x]])}*rentries(){for(let x of Ne(this,O,kn).call(this))X(this,z)[x]!==void 0&&X(this,j)[x]!==void 0&&!Ne(this,O,et).call(this,X(this,z)[x])&&(yield[X(this,j)[x],X(this,z)[x]])}*keys(){for(let x of Ne(this,O,On).call(this)){let K=X(this,j)[x];K!==void 0&&!Ne(this,O,et).call(this,X(this,z)[x])&&(yield K)}}*rkeys(){for(let x of Ne(this,O,kn).call(this)){let K=X(this,j)[x];K!==void 0&&!Ne(this,O,et).call(this,X(this,z)[x])&&(yield K)}}*values(){for(let x of Ne(this,O,On).call(this))X(this,z)[x]!==void 0&&!Ne(this,O,et).call(this,X(this,z)[x])&&(yield X(this,z)[x])}*rvalues(){for(let x of Ne(this,O,kn).call(this))X(this,z)[x]!==void 0&&!Ne(this,O,et).call(this,X(this,z)[x])&&(yield X(this,z)[x])}[Symbol.iterator](){return this.entries()}find(x,K={}){for(let Y of Ne(this,O,On).call(this)){let le=X(this,z)[Y],y=Ne(this,O,et).call(this,le)?le.__staleWhileFetching:le;if(y!==void 0&&x(y,X(this,j)[Y],this))return this.get(X(this,j)[Y],K)}}forEach(x,K=this){for(let Y of Ne(this,O,On).call(this)){let le=X(this,z)[Y],y=Ne(this,O,et).call(this,le)?le.__staleWhileFetching:le;y!==void 0&&x.call(K,y,X(this,j)[Y],this)}}rforEach(x,K=this){for(let Y of Ne(this,O,kn).call(this)){let le=X(this,z)[Y],y=Ne(this,O,et).call(this,le)?le.__staleWhileFetching:le;y!==void 0&&x.call(K,y,X(this,j)[Y],this)}}purgeStale(){let x=!1;for(let K of Ne(this,O,kn).call(this,{allowStale:!0}))X(this,V).call(this,K)&&(this.delete(X(this,j)[K]),x=!0);return x}dump(){let x=[];for(let K of Ne(this,O,On).call(this,{allowStale:!0})){let Y=X(this,j)[K],le=X(this,z)[K],y=Ne(this,O,et).call(this,le)?le.__staleWhileFetching:le;if(y===void 0||Y===void 0)continue;let h={value:y};if(X(this,G)&&X(this,ae)){h.ttl=X(this,G)[K];let f=t.now()-X(this,ae)[K];h.start=Math.floor(Date.now()-f)}X(this,ue)&&(h.size=X(this,ue)[K]),x.unshift([Y,h])}return x}load(x){this.clear();for(let[K,Y]of x){if(Y.start){let le=Date.now()-Y.start;Y.start=t.now()-le}this.set(K,Y.value,Y)}}set(x,K,Y={}){var ce,xe,ke,Te,Oe;if(K===void 0)return this.delete(x),this;let{ttl:le=this.ttl,start:y,noDisposeOnSet:h=this.noDisposeOnSet,sizeCalculation:f=this.sizeCalculation,status:g}=Y,{noUpdateTTL:w=this.noUpdateTTL}=Y,I=X(this,fe).call(this,x,K,Y.size||0,f);if(this.maxEntrySize&&I>this.maxEntrySize)return g&&(g.set="miss",g.maxEntrySizeExceeded=!0),this.delete(x),this;let W=X(this,$)===0?void 0:X(this,D).get(x);if(W===void 0)W=X(this,$)===0?X(this,B):X(this,oe).length!==0?X(this,oe).pop():X(this,$)===X(this,T)?Ne(this,O,Va).call(this,!1):X(this,$),X(this,j)[W]=x,X(this,z)[W]=K,X(this,D).set(x,W),X(this,se)[X(this,B)]=W,X(this,re)[W]=X(this,B),Le(this,B,W),ia(this,$)._++,X(this,he).call(this,W,I,g),g&&(g.set="add"),w=!1;else{Ne(this,O,_s).call(this,W);let Re=X(this,z)[W];if(K!==Re){if(X(this,de)&&Ne(this,O,et).call(this,Re)){Re.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:Ve}=Re;Ve!==void 0&&!h&&(X(this,pe)&&((ce=X(this,C))==null||ce.call(this,Ve,x,"set")),X(this,ge)&&((xe=X(this,ne))==null||xe.push([Ve,x,"set"])))}else h||(X(this,pe)&&((ke=X(this,C))==null||ke.call(this,Re,x,"set")),X(this,ge)&&((Te=X(this,ne))==null||Te.push([Re,x,"set"])));if(X(this,Z).call(this,W),X(this,he).call(this,W,I,g),X(this,z)[W]=K,g){g.set="replace";let Ve=Re&&Ne(this,O,et).call(this,Re)?Re.__staleWhileFetching:Re;Ve!==void 0&&(g.oldValue=Ve)}}else g&&(g.set="update")}if(le!==0&&!X(this,G)&&Ne(this,O,Ch).call(this),X(this,G)&&(w||X(this,ye).call(this,W,le,y),g&&X(this,ve).call(this,g,W)),!h&&X(this,ge)&&X(this,ne)){let Re=X(this,ne),Ve;for(;Ve=Re==null?void 0:Re.shift();)(Oe=X(this,A))==null||Oe.call(this,...Ve)}return this}pop(){var x;try{for(;X(this,$);){let K=X(this,z)[X(this,L)];if(Ne(this,O,Va).call(this,!0),Ne(this,O,et).call(this,K)){if(K.__staleWhileFetching)return K.__staleWhileFetching}else if(K!==void 0)return K}}finally{if(X(this,ge)&&X(this,ne)){let K=X(this,ne),Y;for(;Y=K==null?void 0:K.shift();)(x=X(this,A))==null||x.call(this,...Y)}}}has(x,K={}){let{updateAgeOnHas:Y=this.updateAgeOnHas,status:le}=K,y=X(this,D).get(x);if(y!==void 0){let h=X(this,z)[y];if(Ne(this,O,et).call(this,h)&&h.__staleWhileFetching===void 0)return!1;if(X(this,V).call(this,y))le&&(le.has="stale",X(this,ve).call(this,le,y));else return Y&&X(this,me).call(this,y),le&&(le.has="hit",X(this,ve).call(this,le,y)),!0}else le&&(le.has="miss");return!1}peek(x,K={}){let{allowStale:Y=this.allowStale}=K,le=X(this,D).get(x);if(le!==void 0&&(Y||!X(this,V).call(this,le))){let y=X(this,z)[le];return Ne(this,O,et).call(this,y)?y.__staleWhileFetching:y}}async fetch(x,K={}){let{allowStale:Y=this.allowStale,updateAgeOnGet:le=this.updateAgeOnGet,noDeleteOnStaleGet:y=this.noDeleteOnStaleGet,ttl:h=this.ttl,noDisposeOnSet:f=this.noDisposeOnSet,size:g=0,sizeCalculation:w=this.sizeCalculation,noUpdateTTL:I=this.noUpdateTTL,noDeleteOnFetchRejection:W=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:ce=this.allowStaleOnFetchRejection,ignoreFetchAbort:xe=this.ignoreFetchAbort,allowStaleOnFetchAbort:ke=this.allowStaleOnFetchAbort,context:Te,forceRefresh:Oe=!1,status:Re,signal:Ve}=K;if(!X(this,de))return Re&&(Re.fetch="get"),this.get(x,{allowStale:Y,updateAgeOnGet:le,noDeleteOnStaleGet:y,status:Re});let ut={allowStale:Y,updateAgeOnGet:le,noDeleteOnStaleGet:y,ttl:h,noDisposeOnSet:f,size:g,sizeCalculation:w,noUpdateTTL:I,noDeleteOnFetchRejection:W,allowStaleOnFetchRejection:ce,allowStaleOnFetchAbort:ke,ignoreFetchAbort:xe,status:Re,signal:Ve},Ze=X(this,D).get(x);if(Ze===void 0){Re&&(Re.fetch="miss");let at=Ne(this,O,qa).call(this,x,Ze,ut,Te);return at.__returned=at}else{let at=X(this,z)[Ze];if(Ne(this,O,et).call(this,at)){let Zo=Y&&at.__staleWhileFetching!==void 0;return Re&&(Re.fetch="inflight",Zo&&(Re.returnedStale=!0)),Zo?at.__staleWhileFetching:at.__returned=at}let mt=X(this,V).call(this,Ze);if(!Oe&&!mt)return Re&&(Re.fetch="hit"),Ne(this,O,_s).call(this,Ze),le&&X(this,me).call(this,Ze),Re&&X(this,ve).call(this,Re,Ze),at;let ct=Ne(this,O,qa).call(this,x,Ze,ut,Te),Xi=ct.__staleWhileFetching!==void 0&&Y;return Re&&(Re.fetch=mt?"stale":"refresh",Xi&&mt&&(Re.returnedStale=!0)),Xi?ct.__staleWhileFetching:ct.__returned=ct}}get(x,K={}){let{allowStale:Y=this.allowStale,updateAgeOnGet:le=this.updateAgeOnGet,noDeleteOnStaleGet:y=this.noDeleteOnStaleGet,status:h}=K,f=X(this,D).get(x);if(f!==void 0){let g=X(this,z)[f],w=Ne(this,O,et).call(this,g);return h&&X(this,ve).call(this,h,f),X(this,V).call(this,f)?(h&&(h.get="stale"),w?(h&&Y&&g.__staleWhileFetching!==void 0&&(h.returnedStale=!0),Y?g.__staleWhileFetching:void 0):(y||this.delete(x),h&&Y&&(h.returnedStale=!0),Y?g:void 0)):(h&&(h.get="hit"),w?g.__staleWhileFetching:(Ne(this,O,_s).call(this,f),le&&X(this,me).call(this,f),g))}else h&&(h.get="miss")}delete(x){var Y,le,y,h;let K=!1;if(X(this,$)!==0){let f=X(this,D).get(x);if(f!==void 0)if(K=!0,X(this,$)===1)this.clear();else{X(this,Z).call(this,f);let g=X(this,z)[f];Ne(this,O,et).call(this,g)?g.__abortController.abort(new Error("deleted")):(X(this,pe)||X(this,ge))&&(X(this,pe)&&((Y=X(this,C))==null||Y.call(this,g,x,"delete")),X(this,ge)&&((le=X(this,ne))==null||le.push([g,x,"delete"]))),X(this,D).delete(x),X(this,j)[f]=void 0,X(this,z)[f]=void 0,f===X(this,B)?Le(this,B,X(this,re)[f]):f===X(this,L)?Le(this,L,X(this,se)[f]):(X(this,se)[X(this,re)[f]]=X(this,se)[f],X(this,re)[X(this,se)[f]]=X(this,re)[f]),ia(this,$)._--,X(this,oe).push(f)}}if(X(this,ge)&&((y=X(this,ne))!=null&&y.length)){let f=X(this,ne),g;for(;g=f==null?void 0:f.shift();)(h=X(this,A))==null||h.call(this,...g)}return K}clear(){var x,K,Y;for(let le of Ne(this,O,kn).call(this,{allowStale:!0})){let y=X(this,z)[le];if(Ne(this,O,et).call(this,y))y.__abortController.abort(new Error("deleted"));else{let h=X(this,j)[le];X(this,pe)&&((x=X(this,C))==null||x.call(this,y,h,"delete")),X(this,ge)&&((K=X(this,ne))==null||K.push([y,h,"delete"]))}}if(X(this,D).clear(),X(this,z).fill(void 0),X(this,j).fill(void 0),X(this,G)&&X(this,ae)&&(X(this,G).fill(0),X(this,ae).fill(0)),X(this,ue)&&X(this,ue).fill(0),Le(this,L,0),Le(this,B,0),X(this,oe).length=0,Le(this,R,0),Le(this,$,0),X(this,ge)&&X(this,ne)){let le=X(this,ne),y;for(;y=le==null?void 0:le.shift();)(Y=X(this,A))==null||Y.call(this,...y)}}},T=new WeakMap,k=new WeakMap,C=new WeakMap,A=new WeakMap,M=new WeakMap,$=new WeakMap,R=new WeakMap,D=new WeakMap,j=new WeakMap,z=new WeakMap,se=new WeakMap,re=new WeakMap,L=new WeakMap,B=new WeakMap,oe=new WeakMap,ne=new WeakMap,ue=new WeakMap,ae=new WeakMap,G=new WeakMap,pe=new WeakMap,de=new WeakMap,ge=new WeakMap,O=new WeakSet,Ch=function(){let x=new c(X(this,T)),K=new c(X(this,T));Le(this,G,x),Le(this,ae,K),Le(this,ye,(y,h,f=t.now())=>{if(K[y]=h!==0?f:0,x[y]=h,h!==0&&this.ttlAutopurge){let g=setTimeout(()=>{X(this,V).call(this,y)&&this.delete(X(this,j)[y])},h+1);g.unref&&g.unref()}}),Le(this,me,y=>{K[y]=x[y]!==0?t.now():0}),Le(this,ve,(y,h)=>{if(x[h]){let f=x[h],g=K[h];y.ttl=f,y.start=g,y.now=Y||le();let w=y.now-g;y.remainingTTL=f-w}});let Y=0,le=()=>{let y=t.now();if(this.ttlResolution>0){Y=y;let h=setTimeout(()=>Y=0,this.ttlResolution);h.unref&&h.unref()}return y};this.getRemainingTTL=y=>{let h=X(this,D).get(y);if(h===void 0)return 0;let f=x[h],g=K[h];if(f===0||g===0)return 1/0;let w=(Y||le())-g;return f-w},Le(this,V,y=>x[y]!==0&&K[y]!==0&&(Y||le())-K[y]>x[y])},me=new WeakMap,ve=new WeakMap,ye=new WeakMap,V=new WeakMap,Ow=function(){let x=new c(X(this,T));Le(this,R,0),Le(this,ue,x),Le(this,Z,K=>{Le(this,R,X(this,R)-x[K]),x[K]=0}),Le(this,fe,(K,Y,le,y)=>{if(Ne(this,O,et).call(this,Y))return 0;if(!l(le))if(y){if(typeof y!="function")throw new TypeError("sizeCalculation must be a function");if(le=y(Y,K),!l(le))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return le}),Le(this,he,(K,Y,le)=>{if(x[K]=Y,X(this,k)){let y=X(this,k)-x[K];for(;X(this,R)>y;)Ne(this,O,Va).call(this,!0)}Le(this,R,X(this,R)+x[K]),le&&(le.entrySize=Y,le.totalCalculatedSize=X(this,R))})},Z=new WeakMap,he=new WeakMap,fe=new WeakMap,On=function*({allowStale:x=this.allowStale}={}){if(X(this,$))for(let K=X(this,B);!(!Ne(this,O,Rh).call(this,K)||((x||!X(this,V).call(this,K))&&(yield K),K===X(this,L)));)K=X(this,re)[K]},kn=function*({allowStale:x=this.allowStale}={}){if(X(this,$))for(let K=X(this,L);!(!Ne(this,O,Rh).call(this,K)||((x||!X(this,V).call(this,K))&&(yield K),K===X(this,B)));)K=X(this,se)[K]},Rh=function(x){return x!==void 0&&X(this,D).get(X(this,j)[x])===x},Va=function(x){var y,h;let K=X(this,L),Y=X(this,j)[K],le=X(this,z)[K];return X(this,de)&&Ne(this,O,et).call(this,le)?le.__abortController.abort(new Error("evicted")):(X(this,pe)||X(this,ge))&&(X(this,pe)&&((y=X(this,C))==null||y.call(this,le,Y,"evict")),X(this,ge)&&((h=X(this,ne))==null||h.push([le,Y,"evict"]))),X(this,Z).call(this,K),x&&(X(this,j)[K]=void 0,X(this,z)[K]=void 0,X(this,oe).push(K)),X(this,$)===1?(Le(this,L,Le(this,B,0)),X(this,oe).length=0):Le(this,L,X(this,se)[K]),X(this,D).delete(Y),ia(this,$)._--,K},qa=function(x,K,Y,le){let y=K===void 0?void 0:X(this,z)[K];if(Ne(this,O,et).call(this,y))return y;let h=new i,{signal:f}=Y;f==null||f.addEventListener("abort",()=>h.abort(f.reason),{signal:h.signal});let g={signal:h.signal,options:Y,context:le},w=(Te,Oe=!1)=>{let{aborted:Re}=h.signal,Ve=Y.ignoreFetchAbort&&Te!==void 0;if(Y.status&&(Re&&!Oe?(Y.status.fetchAborted=!0,Y.status.fetchError=h.signal.reason,Ve&&(Y.status.fetchAbortIgnored=!0)):Y.status.fetchResolved=!0),Re&&!Ve&&!Oe)return W(h.signal.reason);let ut=xe;return X(this,z)[K]===xe&&(Te===void 0?ut.__staleWhileFetching?X(this,z)[K]=ut.__staleWhileFetching:this.delete(x):(Y.status&&(Y.status.fetchUpdated=!0),this.set(x,Te,g.options))),Te},I=Te=>(Y.status&&(Y.status.fetchRejected=!0,Y.status.fetchError=Te),W(Te)),W=Te=>{let{aborted:Oe}=h.signal,Re=Oe&&Y.allowStaleOnFetchAbort,Ve=Re||Y.allowStaleOnFetchRejection,ut=Ve||Y.noDeleteOnFetchRejection,Ze=xe;if(X(this,z)[K]===xe&&(!ut||Ze.__staleWhileFetching===void 0?this.delete(x):Re||(X(this,z)[K]=Ze.__staleWhileFetching)),Ve)return Y.status&&Ze.__staleWhileFetching!==void 0&&(Y.status.returnedStale=!0),Ze.__staleWhileFetching;if(Ze.__returned===Ze)throw Te},ce=(Te,Oe)=>{var Ve;let Re=(Ve=X(this,M))==null?void 0:Ve.call(this,x,y,g);Re&&Re instanceof Promise&&Re.then(ut=>Te(ut===void 0?void 0:ut),Oe),h.signal.addEventListener("abort",()=>{(!Y.ignoreFetchAbort||Y.allowStaleOnFetchAbort)&&(Te(void 0),Y.allowStaleOnFetchAbort&&(Te=ut=>w(ut,!0)))})};Y.status&&(Y.status.fetchDispatched=!0);let xe=new Promise(ce).then(w,I),ke=Object.assign(xe,{__abortController:h,__staleWhileFetching:y,__returned:void 0});return K===void 0?(this.set(x,ke,{...g.options,status:void 0}),K=X(this,D).get(x)):X(this,z)[K]=ke,ke},et=function(x){if(!X(this,de))return!1;let K=x;return!!K&&K instanceof Promise&&K.hasOwnProperty("__staleWhileFetching")&&K.__abortController instanceof i},Oh=function(x,K){X(this,re)[K]=x,X(this,se)[x]=K},_s=function(x){x!==X(this,B)&&(x===X(this,L)?Le(this,L,X(this,se)[x]):Ne(this,O,Oh).call(this,X(this,re)[x],X(this,se)[x]),Ne(this,O,Oh).call(this,X(this,B),x),Le(this,B,x))},U);e.LRUCache=p}),Sn=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.ContainerIterator=e.Container=e.Base=void 0;var t=class{constructor(o=0){this.iteratorType=o}equals(o){return this.o===o.o}};e.ContainerIterator=t;var r=class{constructor(){this.i=0}get length(){return this.i}size(){return this.i}empty(){return this.i===0}};e.Base=r;var n=class extends r{};e.Container=n}),ak=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Sn(),r=class extends t.Base{constructor(o=[]){super(),this.S=[];let i=this;o.forEach(function(s){i.push(s)})}clear(){this.i=0,this.S=[]}push(o){return this.S.push(o),this.i+=1,this.i}pop(){if(this.i!==0)return this.i-=1,this.S.pop()}top(){return this.S[this.i-1]}},n=r;e.default=n}),lk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Sn(),r=class extends t.Base{constructor(o=[]){super(),this.j=0,this.q=[];let i=this;o.forEach(function(s){i.push(s)})}clear(){this.q=[],this.i=this.j=0}push(o){let i=this.q.length;if(this.j/i>.5&&this.j+this.i>=i&&i>4096){let s=this.i;for(let a=0;a{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Sn(),r=class extends t.Base{constructor(o=[],i=function(a,l){return a>l?-1:a>1;for(let l=this.i-1>>1;l>=0;--l)this.k(l,a)}m(o){let i=this.C[o];for(;o>0;){let s=o-1>>1,a=this.C[s];if(this.v(a,i)<=0)break;this.C[o]=a,o=s}this.C[o]=i}k(o,i){let s=this.C[o];for(;o0&&(a=l,u=this.C[l]),this.v(u,s)>=0)break;this.C[o]=u,o=a}this.C[o]=s}clear(){this.i=0,this.C.length=0}push(o){this.C.push(o),this.m(this.i),this.i+=1}pop(){if(this.i===0)return;let o=this.C[0],i=this.C.pop();return this.i-=1,this.i&&(this.C[0]=i,this.k(0,this.i>>1)),o}top(){return this.C[0]}find(o){return this.C.indexOf(o)>=0}remove(o){let i=this.C.indexOf(o);return i<0?!1:(i===0?this.pop():i===this.i-1?(this.C.pop(),this.i-=1):(this.C.splice(i,1,this.C.pop()),this.i-=1,this.m(i),this.k(i,this.i>>1)),!0)}updateItem(o){let i=this.C.indexOf(o);return i<0?!1:(this.m(i),this.k(i,this.i>>1),!0)}toArray(){return[...this.C]}},n=r;e.default=n}),dp=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Sn(),r=class extends t.Container{},n=r;e.default=n}),An=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.throwIteratorAccessError=t;function t(){throw new RangeError("Iterator access denied!")}}),kw=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.RandomIterator=void 0;var t=Sn(),r=An(),n=class extends t.ContainerIterator{constructor(o,i){super(i),this.o=o,this.iteratorType===0?(this.pre=function(){return this.o===0&&(0,r.throwIteratorAccessError)(),this.o-=1,this},this.next=function(){return this.o===this.container.size()&&(0,r.throwIteratorAccessError)(),this.o+=1,this}):(this.pre=function(){return this.o===this.container.size()-1&&(0,r.throwIteratorAccessError)(),this.o+=1,this},this.next=function(){return this.o===-1&&(0,r.throwIteratorAccessError)(),this.o-=1,this})}get pointer(){return this.container.getElementByPos(this.o)}set pointer(o){this.container.setElementByPos(this.o,o)}};e.RandomIterator=n}),ck=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=n(dp()),r=kw();function n(a){return a&&a.t?a:{default:a}}var o=class Mw extends r.RandomIterator{constructor(l,u,c){super(l,c),this.container=u}copy(){return new Mw(this.o,this.container,this.iteratorType)}},i=class extends t.default{constructor(a=[],l=!0){if(super(),Array.isArray(a))this.J=l?[...a]:a,this.i=a.length;else{this.J=[];let u=this;a.forEach(function(c){u.pushBack(c)})}}clear(){this.i=0,this.J.length=0}begin(){return new o(0,this)}end(){return new o(this.i,this)}rBegin(){return new o(this.i-1,this,1)}rEnd(){return new o(-1,this,1)}front(){return this.J[0]}back(){return this.J[this.i-1]}getElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;return this.J[a]}eraseElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;return this.J.splice(a,1),this.i-=1,this.i}eraseElementByValue(a){let l=0;for(let u=0;uthis.i-1)throw new RangeError;this.J[a]=l}insert(a,l,u=1){if(a<0||a>this.i)throw new RangeError;return this.J.splice(a,0,...new Array(u).fill(l)),this.i+=u,this.i}find(a){for(let l=0;l{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=o(dp()),r=Sn(),n=An();function o(l){return l&&l.t?l:{default:l}}var i=class Nw extends r.ContainerIterator{constructor(u,c,d,p){super(p),this.o=u,this.h=c,this.container=d,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l}set pointer(u){this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l=u}copy(){return new Nw(this.o,this.h,this.container,this.iteratorType)}},s=class extends t.default{constructor(l=[]){super(),this.h={},this.p=this._=this.h.L=this.h.B=this.h;let u=this;l.forEach(function(c){u.pushBack(c)})}V(l){let{L:u,B:c}=l;u.B=c,c.L=u,l===this.p&&(this.p=c),l===this._&&(this._=u),this.i-=1}G(l,u){let c=u.B,d={l,L:u,B:c};u.B=d,c.L=d,u===this.h&&(this.p=d),c===this.h&&(this._=d),this.i+=1}clear(){this.i=0,this.p=this._=this.h.L=this.h.B=this.h}begin(){return new i(this.p,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this._,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){return this.p.l}back(){return this._.l}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return u.l}eraseElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return this.V(u),this.i}eraseElementByValue(l){let u=this.p;for(;u!==this.h;)u.l===l&&this.V(u),u=u.B;return this.i}eraseElementByIterator(l){let u=l.o;return u===this.h&&(0,n.throwIteratorAccessError)(),l=l.next(),this.V(u),l}pushBack(l){return this.G(l,this._),this.i}popBack(){if(this.i===0)return;let l=this._.l;return this.V(this._),l}pushFront(l){return this.G(l,this.h),this.i}popFront(){if(this.i===0)return;let l=this.p.l;return this.V(this.p),l}setElementByPos(l,u){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;c.l=u}insert(l,u,c=1){if(l<0||l>this.i)throw new RangeError;if(c<=0)return this.i;if(l===0)for(;c--;)this.pushFront(u);else if(l===this.i)for(;c--;)this.pushBack(u);else{let d=this.p;for(let m=1;m{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=n(dp()),r=kw();function n(a){return a&&a.t?a:{default:a}}var o=class Pw extends r.RandomIterator{constructor(l,u,c){super(l,c),this.container=u}copy(){return new Pw(this.o,this.container,this.iteratorType)}},i=class extends t.default{constructor(a=[],l=4096){super(),this.j=0,this.D=0,this.R=0,this.N=0,this.P=0,this.A=[];let u=(()=>{if(typeof a.length=="number")return a.length;if(typeof a.size=="number")return a.size;if(typeof a.size=="function")return a.size();throw new TypeError("Cannot get the length or size of the container")})();this.F=l,this.P=Math.max(Math.ceil(u/this.F),1);for(let p=0;p>1)-(c>>1),this.D=this.N=this.F-u%this.F>>1;let d=this;a.forEach(function(p){d.pushBack(p)})}T(){let a=[],l=Math.max(this.P>>1,1);for(let u=0;u>1}begin(){return new o(0,this)}end(){return new o(this.i,this)}rBegin(){return new o(this.i-1,this,1)}rEnd(){return new o(-1,this,1)}front(){if(this.i!==0)return this.A[this.j][this.D]}back(){if(this.i!==0)return this.A[this.R][this.N]}pushBack(a){return this.i&&(this.N0?this.N-=1:this.R>0?(this.R-=1,this.N=this.F-1):(this.R=this.P-1,this.N=this.F-1)),this.i-=1,a}pushFront(a){return this.i&&(this.D>0?this.D-=1:this.j>0?(this.j-=1,this.D=this.F-1):(this.j=this.P-1,this.D=this.F-1),this.j===this.R&&this.D===this.N&&this.T()),this.i+=1,this.A[this.j][this.D]=a,this.i}popFront(){if(this.i===0)return;let a=this.A[this.j][this.D];return this.i!==1&&(this.Dthis.i-1)throw new RangeError;let{curNodeBucketIndex:l,curNodePointerIndex:u}=this.O(a);return this.A[l][u]}setElementByPos(a,l){if(a<0||a>this.i-1)throw new RangeError;let{curNodeBucketIndex:u,curNodePointerIndex:c}=this.O(a);this.A[u][c]=l}insert(a,l,u=1){if(a<0||a>this.i)throw new RangeError;if(a===0)for(;u--;)this.pushFront(l);else if(a===this.i)for(;u--;)this.pushBack(l);else{let c=[];for(let d=a;dthis.i-1)throw new RangeError;if(a===0)this.popFront();else if(a===this.i-1)this.popBack();else{let l=[];for(let c=a+1;ca;)this.popBack();return this.i}sort(a){let l=[];for(let u=0;u{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.TreeNodeEnableIndex=e.TreeNode=void 0;var t=class{constructor(n,o){this.ee=1,this.u=void 0,this.l=void 0,this.U=void 0,this.W=void 0,this.tt=void 0,this.u=n,this.l=o}L(){let n=this;if(n.ee===1&&n.tt.tt===n)n=n.W;else if(n.U)for(n=n.U;n.W;)n=n.W;else{let o=n.tt;for(;o.U===n;)n=o,o=n.tt;n=o}return n}B(){let n=this;if(n.W){for(n=n.W;n.U;)n=n.U;return n}else{let o=n.tt;for(;o.W===n;)n=o,o=n.tt;return n.W!==o?o:n}}te(){let n=this.tt,o=this.W,i=o.U;return n.tt===this?n.tt=o:n.U===this?n.U=o:n.W=o,o.tt=n,o.U=this,this.tt=o,this.W=i,i&&(i.tt=this),o}se(){let n=this.tt,o=this.U,i=o.W;return n.tt===this?n.tt=o:n.U===this?n.U=o:n.W=o,o.tt=n,o.W=this,this.tt=o,this.U=i,i&&(i.tt=this),o}};e.TreeNode=t;var r=class extends t{constructor(){super(...arguments),this.rt=1}te(){let n=super.te();return this.ie(),n.ie(),n}se(){let n=super.se();return this.ie(),n.ie(),n}ie(){this.rt=1,this.U&&(this.rt+=this.U.rt),this.W&&(this.rt+=this.W.rt)}};e.TreeNodeEnableIndex=r}),Lw=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=dk(),r=Sn(),n=An(),o=class extends r.Container{constructor(s=function(l,u){return lu?1:0},a=!1){super(),this.Y=void 0,this.v=s,a?(this.re=t.TreeNodeEnableIndex,this.M=function(l,u,c){let d=this.ne(l,u,c);if(d){let p=d.tt;for(;p!==this.h;)p.rt+=1,p=p.tt;let m=this.he(d);if(m){let{parentNode:_,grandParent:b,curNode:T}=m;_.ie(),b.ie(),T.ie()}}return this.i},this.V=function(l){let u=this.fe(l);for(;u!==this.h;)u.rt-=1,u=u.tt}):(this.re=t.TreeNode,this.M=function(l,u,c){let d=this.ne(l,u,c);return d&&this.he(d),this.i},this.V=this.fe),this.h=new this.re}X(s,a){let l=this.h;for(;s;){let u=this.v(s.u,a);if(u<0)s=s.W;else if(u>0)l=s,s=s.U;else return s}return l}Z(s,a){let l=this.h;for(;s;)this.v(s.u,a)<=0?s=s.W:(l=s,s=s.U);return l}$(s,a){let l=this.h;for(;s;){let u=this.v(s.u,a);if(u<0)l=s,s=s.W;else if(u>0)s=s.U;else return s}return l}rr(s,a){let l=this.h;for(;s;)this.v(s.u,a)<0?(l=s,s=s.W):s=s.U;return l}ue(s){for(;;){let a=s.tt;if(a===this.h)return;if(s.ee===1){s.ee=0;return}if(s===a.U){let l=a.W;if(l.ee===1)l.ee=0,a.ee=1,a===this.Y?this.Y=a.te():a.te();else if(l.W&&l.W.ee===1){l.ee=a.ee,a.ee=0,l.W.ee=0,a===this.Y?this.Y=a.te():a.te();return}else l.U&&l.U.ee===1?(l.ee=1,l.U.ee=0,l.se()):(l.ee=1,s=a)}else{let l=a.U;if(l.ee===1)l.ee=0,a.ee=1,a===this.Y?this.Y=a.se():a.se();else if(l.U&&l.U.ee===1){l.ee=a.ee,a.ee=0,l.U.ee=0,a===this.Y?this.Y=a.se():a.se();return}else l.W&&l.W.ee===1?(l.ee=1,l.W.ee=0,l.te()):(l.ee=1,s=a)}}}fe(s){if(this.i===1)return this.clear(),this.h;let a=s;for(;a.U||a.W;){if(a.W)for(a=a.W;a.U;)a=a.U;else a=a.U;[s.u,a.u]=[a.u,s.u],[s.l,a.l]=[a.l,s.l],s=a}this.h.U===a?this.h.U=a.tt:this.h.W===a&&(this.h.W=a.tt),this.ue(a);let l=a.tt;return a===l.U?l.U=void 0:l.W=void 0,this.i-=1,this.Y.ee=0,l}oe(s,a){return s===void 0?!1:this.oe(s.U,a)||a(s)?!0:this.oe(s.W,a)}he(s){for(;;){let a=s.tt;if(a.ee===0)return;let l=a.tt;if(a===l.U){let u=l.W;if(u&&u.ee===1){if(u.ee=a.ee=0,l===this.Y)return;l.ee=1,s=l;continue}else if(s===a.W){if(s.ee=0,s.U&&(s.U.tt=a),s.W&&(s.W.tt=l),a.W=s.U,l.U=s.W,s.U=a,s.W=l,l===this.Y)this.Y=s,this.h.tt=s;else{let c=l.tt;c.U===l?c.U=s:c.W=s}return s.tt=l.tt,a.tt=s,l.tt=s,l.ee=1,{parentNode:a,grandParent:l,curNode:s}}else a.ee=0,l===this.Y?this.Y=l.se():l.se(),l.ee=1}else{let u=l.U;if(u&&u.ee===1){if(u.ee=a.ee=0,l===this.Y)return;l.ee=1,s=l;continue}else if(s===a.U){if(s.ee=0,s.U&&(s.U.tt=l),s.W&&(s.W.tt=a),l.W=s.U,a.U=s.W,s.U=l,s.W=a,l===this.Y)this.Y=s,this.h.tt=s;else{let c=l.tt;c.U===l?c.U=s:c.W=s}return s.tt=l.tt,a.tt=s,l.tt=s,l.ee=1,{parentNode:a,grandParent:l,curNode:s}}else a.ee=0,l===this.Y?this.Y=l.te():l.te(),l.ee=1}return}}ne(s,a,l){if(this.Y===void 0){this.i+=1,this.Y=new this.re(s,a),this.Y.ee=0,this.Y.tt=this.h,this.h.tt=this.Y,this.h.U=this.Y,this.h.W=this.Y;return}let u,c=this.h.U,d=this.v(c.u,s);if(d===0){c.l=a;return}else if(d>0)c.U=new this.re(s,a),c.U.tt=c,u=c.U,this.h.U=u;else{let p=this.h.W,m=this.v(p.u,s);if(m===0){p.l=a;return}else if(m<0)p.W=new this.re(s,a),p.W.tt=p,u=p.W,this.h.W=u;else{if(l!==void 0){let _=l.o;if(_!==this.h){let b=this.v(_.u,s);if(b===0){_.l=a;return}else if(b>0){let T=_.L(),k=this.v(T.u,s);if(k===0){T.l=a;return}else k<0&&(u=new this.re(s,a),T.W===void 0?(T.W=u,u.tt=T):(_.U=u,u.tt=_))}}}if(u===void 0)for(u=this.Y;;){let _=this.v(u.u,s);if(_>0){if(u.U===void 0){u.U=new this.re(s,a),u.U.tt=u,u=u.U;break}u=u.U}else if(_<0){if(u.W===void 0){u.W=new this.re(s,a),u.W.tt=u,u=u.W;break}u=u.W}else{u.l=a;return}}}}return this.i+=1,u}I(s,a){for(;s;){let l=this.v(s.u,a);if(l<0)s=s.W;else if(l>0)s=s.U;else return s}return s||this.h}clear(){this.i=0,this.Y=void 0,this.h.tt=void 0,this.h.U=this.h.W=void 0}updateKeyByIterator(s,a){let l=s.o;if(l===this.h&&(0,n.throwIteratorAccessError)(),this.i===1)return l.u=a,!0;if(l===this.h.U)return this.v(l.B().u,a)>0?(l.u=a,!0):!1;if(l===this.h.W)return this.v(l.L().u,a)<0?(l.u=a,!0):!1;let u=l.L().u;if(this.v(u,a)>=0)return!1;let c=l.B().u;return this.v(c,a)<=0?!1:(l.u=a,!0)}eraseElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;let a=0,l=this;return this.oe(this.Y,function(u){return s===a?(l.V(u),!0):(a+=1,!1)}),this.i}eraseElementByKey(s){if(this.i===0)return!1;let a=this.I(this.Y,s);return a===this.h?!1:(this.V(a),!0)}eraseElementByIterator(s){let a=s.o;a===this.h&&(0,n.throwIteratorAccessError)();let l=a.W===void 0;return s.iteratorType===0?l&&s.next():(!l||a.U===void 0)&&s.next(),this.V(a),s}forEach(s){let a=0;for(let l of this)s(l,a++,this)}getElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;let a,l=0;for(let u of this){if(l===s){a=u;break}l+=1}return a}getHeight(){if(this.i===0)return 0;let s=function(a){return a?Math.max(s(a.U),s(a.W))+1:0};return s(this.Y)}},i=o;e.default=i}),Dw=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Sn(),r=An(),n=class extends t.ContainerIterator{constructor(i,s,a){super(a),this.o=i,this.h=s,this.iteratorType===0?(this.pre=function(){return this.o===this.h.U&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this}):(this.pre=function(){return this.o===this.h.W&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this})}get index(){let i=this.o,s=this.h.tt;if(i===this.h)return s?s.rt-1:0;let a=0;for(i.U&&(a+=i.U.rt);i!==s;){let l=i.tt;i===l.W&&(a+=1,l.U&&(a+=l.U.rt)),i=l}return a}},o=n;e.default=o}),pk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=o(Lw()),r=o(Dw()),n=An();function o(l){return l&&l.t?l:{default:l}}var i=class Bw extends r.default{constructor(u,c,d,p){super(u,c,p),this.container=d}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.u}copy(){return new Bw(this.o,this.h,this.container,this.iteratorType)}},s=class extends t.default{constructor(l=[],u,c){super(u,c);let d=this;l.forEach(function(p){d.insert(p)})}*K(l){l!==void 0&&(yield*this.K(l.U),yield l.u,yield*this.K(l.W))}begin(){return new i(this.h.U||this.h,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this.h.W||this.h,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){return this.h.U?this.h.U.u:void 0}back(){return this.h.W?this.h.W.u:void 0}insert(l,u){return this.M(l,void 0,u)}find(l){let u=this.I(this.Y,l);return new i(u,this.h,this)}lowerBound(l){let u=this.X(this.Y,l);return new i(u,this.h,this)}upperBound(l){let u=this.Z(this.Y,l);return new i(u,this.h,this)}reverseLowerBound(l){let u=this.$(this.Y,l);return new i(u,this.h,this)}reverseUpperBound(l){let u=this.rr(this.Y,l);return new i(u,this.h,this)}union(l){let u=this;return l.forEach(function(c){u.insert(c)}),this.i}[Symbol.iterator](){return this.K(this.Y)}},a=s;e.default=a}),gk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=o(Lw()),r=o(Dw()),n=An();function o(l){return l&&l.t?l:{default:l}}var i=class $w extends r.default{constructor(u,c,d,p){super(u,c,p),this.container=d}get pointer(){this.o===this.h&&(0,n.throwIteratorAccessError)();let u=this;return new Proxy([],{get(c,d){if(d==="0")return u.o.u;if(d==="1")return u.o.l},set(c,d,p){if(d!=="1")throw new TypeError("props must be 1");return u.o.l=p,!0}})}copy(){return new $w(this.o,this.h,this.container,this.iteratorType)}},s=class extends t.default{constructor(l=[],u,c){super(u,c);let d=this;l.forEach(function(p){d.setElement(p[0],p[1])})}*K(l){l!==void 0&&(yield*this.K(l.U),yield[l.u,l.l],yield*this.K(l.W))}begin(){return new i(this.h.U||this.h,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this.h.W||this.h,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){if(this.i===0)return;let l=this.h.U;return[l.u,l.l]}back(){if(this.i===0)return;let l=this.h.W;return[l.u,l.l]}lowerBound(l){let u=this.X(this.Y,l);return new i(u,this.h,this)}upperBound(l){let u=this.Z(this.Y,l);return new i(u,this.h,this)}reverseLowerBound(l){let u=this.$(this.Y,l);return new i(u,this.h,this)}reverseUpperBound(l){let u=this.rr(this.Y,l);return new i(u,this.h,this)}setElement(l,u,c){return this.M(l,u,c)}find(l){let u=this.I(this.Y,l);return new i(u,this.h,this)}getElementByKey(l){return this.I(this.Y,l).l}union(l){let u=this;return l.forEach(function(c){u.setElement(c[0],c[1])}),this.i}[Symbol.iterator](){return this.K(this.Y)}},a=s;e.default=a}),Uw=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=t;function t(r){let n=typeof r;return n==="object"&&r!==null||n==="function"}}),Fw=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.HashContainerIterator=e.HashContainer=void 0;var t=Sn(),r=o(Uw()),n=An();function o(a){return a&&a.t?a:{default:a}}var i=class extends t.ContainerIterator{constructor(a,l,u){super(u),this.o=a,this.h=l,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}};e.HashContainerIterator=i;var s=class extends t.Container{constructor(){super(),this.H=[],this.g={},this.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(this.g,null),this.h={},this.h.L=this.h.B=this.p=this._=this.h}V(a){let{L:l,B:u}=a;l.B=u,u.L=l,a===this.p&&(this.p=u),a===this._&&(this._=l),this.i-=1}M(a,l,u){u===void 0&&(u=(0,r.default)(a));let c;if(u){let d=a[this.HASH_TAG];if(d!==void 0)return this.H[d].l=l,this.i;Object.defineProperty(a,this.HASH_TAG,{value:this.H.length,configurable:!0}),c={u:a,l,L:this._,B:this.h},this.H.push(c)}else{let d=this.g[a];if(d)return d.l=l,this.i;c={u:a,l,L:this._,B:this.h},this.g[a]=c}return this.i===0?(this.p=c,this.h.B=c):this._.B=c,this._=c,this.h.L=c,++this.i}I(a,l){if(l===void 0&&(l=(0,r.default)(a)),l){let u=a[this.HASH_TAG];return u===void 0?this.h:this.H[u]}else return this.g[a]||this.h}clear(){let a=this.HASH_TAG;this.H.forEach(function(l){delete l.u[a]}),this.H=[],this.g={},Object.setPrototypeOf(this.g,null),this.i=0,this.p=this._=this.h.L=this.h.B=this.h}eraseElementByKey(a,l){let u;if(l===void 0&&(l=(0,r.default)(a)),l){let c=a[this.HASH_TAG];if(c===void 0)return!1;delete a[this.HASH_TAG],u=this.H[c],delete this.H[c]}else{if(u=this.g[a],u===void 0)return!1;delete this.g[a]}return this.V(u),!0}eraseElementByIterator(a){let l=a.o;return l===this.h&&(0,n.throwIteratorAccessError)(),this.V(l),a.next()}eraseElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let l=this.p;for(;a--;)l=l.B;return this.V(l),this.i}};e.HashContainer=s}),mk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Fw(),r=An(),n=class jw extends t.HashContainerIterator{constructor(a,l,u,c){super(a,l,c),this.container=u}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.u}copy(){return new jw(this.o,this.h,this.container,this.iteratorType)}},o=class extends t.HashContainer{constructor(s=[]){super();let a=this;s.forEach(function(l){a.insert(l)})}begin(){return new n(this.p,this.h,this)}end(){return new n(this.h,this.h,this)}rBegin(){return new n(this._,this.h,this,1)}rEnd(){return new n(this.h,this.h,this,1)}front(){return this.p.u}back(){return this._.u}insert(s,a){return this.M(s,void 0,a)}getElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;let a=this.p;for(;s--;)a=a.B;return a.u}find(s,a){let l=this.I(s,a);return new n(l,this.h,this)}forEach(s){let a=0,l=this.p;for(;l!==this.h;)s(l.u,a++,this),l=l.B}[Symbol.iterator](){return(function*(){let s=this.p;for(;s!==this.h;)yield s.u,s=s.B}).bind(this)()}},i=o;e.default=i}),yk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Fw(),r=o(Uw()),n=An();function o(l){return l&&l.t?l:{default:l}}var i=class Ww extends t.HashContainerIterator{constructor(u,c,d,p){super(u,c,p),this.container=d}get pointer(){this.o===this.h&&(0,n.throwIteratorAccessError)();let u=this;return new Proxy([],{get(c,d){if(d==="0")return u.o.u;if(d==="1")return u.o.l},set(c,d,p){if(d!=="1")throw new TypeError("props must be 1");return u.o.l=p,!0}})}copy(){return new Ww(this.o,this.h,this.container,this.iteratorType)}},s=class extends t.HashContainer{constructor(l=[]){super();let u=this;l.forEach(function(c){u.setElement(c[0],c[1])})}begin(){return new i(this.p,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this._,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){if(this.i!==0)return[this.p.u,this.p.l]}back(){if(this.i!==0)return[this._.u,this._.l]}setElement(l,u,c){return this.M(l,u,c)}getElementByKey(l,u){if(u===void 0&&(u=(0,r.default)(l)),u){let d=l[this.HASH_TAG];return d!==void 0?this.H[d].l:void 0}let c=this.g[l];return c?c.l:void 0}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return[u.u,u.l]}find(l,u){let c=this.I(l,u);return new i(c,this.h,this)}forEach(l){let u=0,c=this.p;for(;c!==this.h;)l([c.u,c.l],u++,this),c=c.B}[Symbol.iterator](){return(function*(){let l=this.p;for(;l!==this.h;)yield[l.u,l.l],l=l.B}).bind(this)()}},a=s;e.default=a}),_k=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"t",{value:!0}),Object.defineProperty(e,"Deque",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"HashMap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"HashSet",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"LinkList",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"OrderedMap",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"OrderedSet",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"PriorityQueue",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Queue",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Stack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Vector",{enumerable:!0,get:function(){return o.default}});var t=d(ak()),r=d(lk()),n=d(uk()),o=d(ck()),i=d(fk()),s=d(hk()),a=d(pk()),l=d(gk()),u=d(mk()),c=d(yk());function d(p){return p&&p.t?p:{default:p}}}),bk=Ae((e,t)=>{_e(),we(),be();var r=_k().OrderedSet,n=pn()("number-allocator:trace"),o=pn()("number-allocator:error");function i(a,l){this.low=a,this.high=l}i.prototype.equals=function(a){return this.low===a.low&&this.high===a.high},i.prototype.compare=function(a){return this.lowu.compare(c)),n("Create"),this.clear()}s.prototype.firstVacant=function(){return this.ss.size()===0?null:this.ss.front().low},s.prototype.alloc=function(){if(this.ss.size()===0)return n("alloc():empty"),null;let a=this.ss.begin(),l=a.pointer.low,u=a.pointer.high,c=l;return c+1<=u?this.ss.updateKeyByIterator(a,new i(l+1,u)):this.ss.eraseElementByPos(0),n("alloc():"+c),c},s.prototype.use=function(a){let l=new i(a,a),u=this.ss.lowerBound(l);if(!u.equals(this.ss.end())){let c=u.pointer.low,d=u.pointer.high;return u.pointer.equals(l)?(this.ss.eraseElementByIterator(u),n("use():"+a),!0):c>a?!1:c===a?(this.ss.updateKeyByIterator(u,new i(c+1,d)),n("use():"+a),!0):d===a?(this.ss.updateKeyByIterator(u,new i(c,d-1)),n("use():"+a),!0):(this.ss.updateKeyByIterator(u,new i(a+1,d)),this.ss.insert(new i(c,a-1)),n("use():"+a),!0)}return n("use():failed"),!1},s.prototype.free=function(a){if(athis.max){o("free():"+a+" is out of range");return}let l=new i(a,a),u=this.ss.upperBound(l);if(u.equals(this.ss.end())){if(u.equals(this.ss.begin())){this.ss.insert(l);return}u.pre();let c=u.pointer.high;u.pointer.high+1===a?this.ss.updateKeyByIterator(u,new i(c,a)):this.ss.insert(l)}else if(u.equals(this.ss.begin()))if(a+1===u.pointer.low){let c=u.pointer.high;this.ss.updateKeyByIterator(u,new i(a,c))}else this.ss.insert(l);else{let c=u.pointer.low,d=u.pointer.high;u.pre();let p=u.pointer.low;u.pointer.high+1===a?a+1===c?(this.ss.eraseElementByIterator(u),this.ss.updateKeyByIterator(u,new i(p,d))):this.ss.updateKeyByIterator(u,new i(p,a)):a+1===c?(this.ss.eraseElementByIterator(u.next()),this.ss.insert(new i(a,d))):this.ss.insert(l)}n("free():"+a)},s.prototype.clear=function(){n("clear()"),this.ss.clear(),this.ss.insert(new i(this.min,this.max))},s.prototype.intervalCount=function(){return this.ss.size()},s.prototype.dump=function(){console.log("length:"+this.ss.size());for(let a of this.ss)console.log(a)},t.exports=s}),Hw=Ae((e,t)=>{_e(),we(),be();var r=bk();t.exports.NumberAllocator=r}),wk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=sk(),r=Hw(),n=class{constructor(o){o>0&&(this.aliasToTopic=new t.LRUCache({max:o}),this.topicToAlias={},this.numberAllocator=new r.NumberAllocator(1,o),this.max=o,this.length=0)}put(o,i){if(i===0||i>this.max)return!1;let s=this.aliasToTopic.get(i);return s&&delete this.topicToAlias[s],this.aliasToTopic.set(i,o),this.topicToAlias[o]=i,this.numberAllocator.use(i),this.length=this.aliasToTopic.size,!0}getTopicByAlias(o){return this.aliasToTopic.get(o)}getAliasByTopic(o){let i=this.topicToAlias[o];return typeof i<"u"&&this.aliasToTopic.get(i),i}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){return this.numberAllocator.firstVacant()||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}};e.default=n}),vk=Ae(e=>{_e(),we(),be();var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var r=lu(),n=t(wk()),o=Qo(),i=(s,a)=>{s.log("_handleConnack");let{options:l}=s,u=l.protocolVersion===5?a.reasonCode:a.returnCode;if(clearTimeout(s.connackTimer),delete s.topicAliasSend,a.properties){if(a.properties.topicAliasMaximum){if(a.properties.topicAliasMaximum>65535){s.emit("error",new Error("topicAliasMaximum from broker is out of range"));return}a.properties.topicAliasMaximum>0&&(s.topicAliasSend=new n.default(a.properties.topicAliasMaximum))}a.properties.serverKeepAlive&&l.keepalive&&(l.keepalive=a.properties.serverKeepAlive),a.properties.maximumPacketSize&&(l.properties||(l.properties={}),l.properties.maximumPacketSize=a.properties.maximumPacketSize)}if(u===0)s.reconnecting=!1,s._onConnect(a);else if(u>0){let c=new o.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[u]}`,u);s.emit("error",c)}};e.default=i}),Ek=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=(r,n,o)=>{r.log("handling pubrel packet");let i=typeof o<"u"?o:r.noop,{messageId:s}=n,a={cmd:"pubcomp",messageId:s};r.incomingStore.get(n,(l,u)=>{l?r._sendPacket(a,i):(r.emit("message",u.topic,u.payload,u),r.handleMessage(u,c=>{if(c)return i(c);r.incomingStore.del(u,r.noop),r._sendPacket(a,i)}))})};e.default=t}),Sk=Ae(e=>{_e(),we(),be();var t=e&&e.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(nk()),n=t(ok()),o=t(vk()),i=t(lu()),s=t(Ek()),a=(l,u,c)=>{let{options:d}=l;if(d.protocolVersion===5&&d.properties&&d.properties.maximumPacketSize&&d.properties.maximumPacketSize{_e(),we(),be();var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0}),e.TypedEventEmitter=void 0;var r=t((Go(),Ge(Wi))),n=Qo(),o=class{};e.TypedEventEmitter=o,(0,n.applyMixin)(o,r.default)}),uu=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0}),e.isReactNativeBrowser=e.isWebWorker=void 0;var t=()=>{var i;return typeof window<"u"?typeof navigator<"u"&&((i=navigator.userAgent)===null||i===void 0?void 0:i.toLowerCase().indexOf(" electron/"))>-1&&We!=null&&We.versions?!Object.prototype.hasOwnProperty.call(We.versions,"electron"):typeof window.document<"u":!1},r=()=>{var i,s;return!!(typeof self=="object"&&!((s=(i=self==null?void 0:self.constructor)===null||i===void 0?void 0:i.name)===null||s===void 0)&&s.includes("WorkerGlobalScope"))},n=()=>typeof navigator<"u"&&navigator.product==="ReactNative",o=t()||r()||n();e.isWebWorker=r(),e.isReactNativeBrowser=n(),e.default=o}),Tk=Ae((e,t)=>{_e(),we(),be(),function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.fastUniqueNumbers={}))}(e,function(r){var n=function(m){return function(_){var b=m(_);return _.add(b),b}},o=function(m){return function(_,b){return m.set(_,b),b}},i=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,s=536870912,a=s*2,l=function(m,_){return function(b){var T=_.get(b),k=T===void 0?b.size:Ti)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;b.has(k);)k=Math.floor(Math.random()*i);return m(b,k)}},u=new WeakMap,c=o(u),d=l(c,u),p=n(d);r.addUniqueNumber=p,r.generateUniqueNumber=d})}),xk=Ae((e,t)=>{_e(),we(),be(),function(r,n){typeof e=="object"&&typeof t<"u"?n(e,Tk()):typeof define=="function"&&define.amd?define(["exports","fast-unique-numbers"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.workerTimersBroker={},r.fastUniqueNumbers))}(e,function(r,n){var o=function(a){return a.method!==void 0&&a.method==="call"},i=function(a){return a.error===null&&typeof a.id=="number"},s=function(a){var l=new Map([[0,function(){}]]),u=new Map([[0,function(){}]]),c=new Map,d=new Worker(a);d.addEventListener("message",function(T){var k=T.data;if(o(k)){var C=k.params,A=C.timerId,M=C.timerType;if(M==="interval"){var $=l.get(A);if(typeof $=="number"){var R=c.get($);if(R===void 0||R.timerId!==A||R.timerType!==M)throw new Error("The timer is in an undefined state.")}else if(typeof $<"u")$();else throw new Error("The timer is in an undefined state.")}else if(M==="timeout"){var D=u.get(A);if(typeof D=="number"){var j=c.get(D);if(j===void 0||j.timerId!==A||j.timerType!==M)throw new Error("The timer is in an undefined state.")}else if(typeof D<"u")D(),u.delete(A);else throw new Error("The timer is in an undefined state.")}}else if(i(k)){var z=k.id,se=c.get(z);if(se===void 0)throw new Error("The timer is in an undefined state.");var re=se.timerId,L=se.timerType;c.delete(z),L==="interval"?l.delete(re):u.delete(re)}else{var B=k.error.message;throw new Error(B)}});var p=function(T){var k=n.generateUniqueNumber(c);c.set(k,{timerId:T,timerType:"interval"}),l.set(T,k),d.postMessage({id:k,method:"clear",params:{timerId:T,timerType:"interval"}})},m=function(T){var k=n.generateUniqueNumber(c);c.set(k,{timerId:T,timerType:"timeout"}),u.set(T,k),d.postMessage({id:k,method:"clear",params:{timerId:T,timerType:"timeout"}})},_=function(T){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=n.generateUniqueNumber(l);return l.set(C,function(){T(),typeof l.get(C)=="function"&&d.postMessage({id:null,method:"set",params:{delay:k,now:performance.now(),timerId:C,timerType:"interval"}})}),d.postMessage({id:null,method:"set",params:{delay:k,now:performance.now(),timerId:C,timerType:"interval"}}),C},b=function(T){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=n.generateUniqueNumber(u);return u.set(C,T),d.postMessage({id:null,method:"set",params:{delay:k,now:performance.now(),timerId:C,timerType:"timeout"}}),C};return{clearInterval:p,clearTimeout:m,setInterval:_,setTimeout:b}};r.load=s})}),Ik=Ae((e,t)=>{_e(),we(),be(),function(r,n){typeof e=="object"&&typeof t<"u"?n(e,xk()):typeof define=="function"&&define.amd?define(["exports","worker-timers-broker"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.workerTimers={},r.workerTimersBroker))}(e,function(r,n){var o=function(d,p){var m=null;return function(){if(m!==null)return m;var _=new Blob([p],{type:"application/javascript; charset=utf-8"}),b=URL.createObjectURL(_);return m=d(b),setTimeout(function(){return URL.revokeObjectURL(b)}),m}},i=`(()=>{var e={472:(e,t,r)=>{var o,i;void 0===(i="function"==typeof(o=function(){"use strict";var e=new Map,t=new Map,r=function(t){var r=e.get(t);if(void 0===r)throw new Error('There is no interval scheduled with the given id "'.concat(t,'".'));clearTimeout(r),e.delete(t)},o=function(e){var r=t.get(e);if(void 0===r)throw new Error('There is no timeout scheduled with the given id "'.concat(e,'".'));clearTimeout(r),t.delete(e)},i=function(e,t){var r,o=performance.now();return{expected:o+(r=e-Math.max(0,o-t)),remainingDelay:r}},n=function e(t,r,o,i){var n=performance.now();n>o?postMessage({id:null,method:"call",params:{timerId:r,timerType:i}}):t.set(r,setTimeout(e,o-n,t,r,o,i))},a=function(t,r,o){var a=i(t,o),s=a.expected,d=a.remainingDelay;e.set(r,setTimeout(n,d,e,r,s,"interval"))},s=function(e,r,o){var a=i(e,o),s=a.expected,d=a.remainingDelay;t.set(r,setTimeout(n,d,t,r,s,"timeout"))};addEventListener("message",(function(e){var t=e.data;try{if("clear"===t.method){var i=t.id,n=t.params,d=n.timerId,c=n.timerType;if("interval"===c)r(d),postMessage({error:null,id:i});else{if("timeout"!==c)throw new Error('The given type "'.concat(c,'" is not supported'));o(d),postMessage({error:null,id:i})}}else{if("set"!==t.method)throw new Error('The given method "'.concat(t.method,'" is not supported'));var u=t.params,l=u.delay,p=u.now,m=u.timerId,v=u.timerType;if("interval"===v)a(l,m,p);else{if("timeout"!==v)throw new Error('The given type "'.concat(v,'" is not supported'));s(l,m,p)}}}catch(e){postMessage({error:{message:e.message},id:t.id,result:null})}}))})?o.call(t,r,t,e):o)||(e.exports=i)}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(472)})()})();`,s=o(n.load,i),a=function(d){return s().clearInterval(d)},l=function(d){return s().clearTimeout(d)},u=function(){var d;return(d=s()).setInterval.apply(d,arguments)},c=function(){var d;return(d=s()).setTimeout.apply(d,arguments)};r.clearInterval=a,r.clearTimeout=l,r.setInterval=u,r.setTimeout=c})}),Ck=Ae(e=>{_e(),we(),be();var t=e&&e.__createBinding||(Object.create?function(u,c,d,p){p===void 0&&(p=d);var m=Object.getOwnPropertyDescriptor(c,d);(!m||("get"in m?!c.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,p,m)}:function(u,c,d,p){p===void 0&&(p=d),u[p]=c[d]}),r=e&&e.__setModuleDefault||(Object.create?function(u,c){Object.defineProperty(u,"default",{enumerable:!0,value:c})}:function(u,c){u.default=c}),n=e&&e.__importStar||function(u){if(u&&u.__esModule)return u;var c={};if(u!=null)for(var d in u)d!=="default"&&Object.prototype.hasOwnProperty.call(u,d)&&t(c,u,d);return r(c,u),c};Object.defineProperty(e,"__esModule",{value:!0});var o=n(uu()),i=Ik(),s={set:i.setInterval,clear:i.clearInterval},a={set:(u,c)=>setInterval(u,c),clear:u=>clearInterval(u)},l=u=>{switch(u){case"native":return a;case"worker":return s;case"auto":default:return o.default&&!o.isWebWorker&&!o.isReactNativeBrowser?s:a}};e.default=l}),Vw=Ae(e=>{_e(),we(),be();var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Ck()),n=class{get keepaliveTimeoutTimestamp(){return this._keepaliveTimeoutTimestamp}get intervalEvery(){return this._intervalEvery}get keepalive(){return this._keepalive}constructor(o,i){this.destroyed=!1,this.client=o,this.timer=typeof i=="object"&&"set"in i&&"clear"in i?i:(0,r.default)(i),this.setKeepalive(o.options.keepalive)}clear(){this.timerId&&(this.timer.clear(this.timerId),this.timerId=null)}setKeepalive(o){if(o*=1e3,isNaN(o)||o<=0||o>2147483647)throw new Error(`Keepalive value must be an integer between 0 and 2147483647. Provided value is ${o}`);this._keepalive=o,this.reschedule(),this.client.log(`KeepaliveManager: set keepalive to ${o}ms`)}destroy(){this.clear(),this.destroyed=!0}reschedule(){if(this.destroyed)return;this.clear(),this.counter=0;let o=Math.ceil(this._keepalive*1.5);this._keepaliveTimeoutTimestamp=Date.now()+o,this._intervalEvery=Math.ceil(this._keepalive/2),this.timerId=this.timer.set(()=>{this.destroyed||(this.counter+=1,this.counter===2?this.client.sendPing():this.counter>2&&this.client.onKeepaliveTimeout())},this._intervalEvery)}};e.default=n}),kh=Ae(e=>{_e(),we(),be();var t=e&&e.__createBinding||(Object.create?function($,R,D,j){j===void 0&&(j=D);var z=Object.getOwnPropertyDescriptor(R,D);(!z||("get"in z?!R.__esModule:z.writable||z.configurable))&&(z={enumerable:!0,get:function(){return R[D]}}),Object.defineProperty($,j,z)}:function($,R,D,j){j===void 0&&(j=D),$[j]=R[D]}),r=e&&e.__setModuleDefault||(Object.create?function($,R){Object.defineProperty($,"default",{enumerable:!0,value:R})}:function($,R){$.default=R}),n=e&&e.__importStar||function($){if($&&$.__esModule)return $;var R={};if($!=null)for(var D in $)D!=="default"&&Object.prototype.hasOwnProperty.call($,D)&&t(R,$,D);return r(R,$),R},o=e&&e.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(e,"__esModule",{value:!0});var i=o(yO()),s=o(ZO()),a=o(Iw()),l=Hi(),u=o(tk()),c=n(rk()),d=o(pn()),p=o(Cw()),m=o(Sk()),_=Qo(),b=Ak(),T=o(Vw()),k=n(uu()),C=globalThis.setImmediate||((...$)=>{let R=$.shift();(0,_.nextTick)(()=>{R(...$)})}),A={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:30*1e3,clean:!0,resubscribe:!0,writeCache:!0,timerVariant:"auto"},M=class Mh extends b.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(R,D){super(),this.options=D||{};for(let j in A)typeof this.options[j]>"u"?this.options[j]=A[j]:this.options[j]=D[j];this.log=this.options.log||(0,d.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: version:",Mh.VERSION),k.isWebWorker?this.log("MqttClient :: environment","webworker"):this.log("MqttClient :: environment",k.default?"browser":"node"),this.log("MqttClient :: options.protocol",D.protocol),this.log("MqttClient :: options.protocolVersion",D.protocolVersion),this.log("MqttClient :: options.username",D.username),this.log("MqttClient :: options.keepalive",D.keepalive),this.log("MqttClient :: options.reconnectPeriod",D.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",D.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",D.properties?D.properties.topicAliasMaximum:void 0),this.options.clientId=typeof D.clientId=="string"?D.clientId:Mh.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=D.protocolVersion===5&&D.customHandleAcks?D.customHandleAcks:(...j)=>{j[3](null,0)},this.options.writeCache||(s.default.writeToStream.cacheNumbers=!1),this.streamBuilder=R,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new a.default:this.options.messageIdProvider,this.outgoingStore=D.outgoingStore||new p.default,this.incomingStore=D.incomingStore||new p.default,this.queueQoSZero=D.queueQoSZero===void 0?!0:D.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.keepaliveManager=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,D.properties&&D.properties.topicAliasMaximum>0&&(D.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new i.default(D.properties.topicAliasMaximum)),this.on("connect",()=>{let{queue:j}=this,z=()=>{let se=j.shift();this.log("deliver :: entry %o",se);let re=null;if(!se){this._resubscribe();return}re=se.packet,this.log("deliver :: call _sendPacket for %o",re);let L=!0;re.messageId&&re.messageId!==0&&(this.messageIdProvider.register(re.messageId)||(L=!1)),L?this._sendPacket(re,B=>{se.cb&&se.cb(B),z()}):(this.log("messageId: %d has already used. The message is skipped and removed.",re.messageId),z())};this.log("connect :: sending queued packets"),z()}),this.on("close",()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this._destroyKeepaliveManager(),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()}),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(R,D){D()}handleMessage(R,D){D()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var R;let D=new l.Writable,j=s.default.parser(this.options),z=null,se=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.disconnected&&!this.reconnecting&&(this.incomingStore=this.options.incomingStore||new p.default,this.outgoingStore=this.options.outgoingStore||new p.default,this.disconnecting=!1,this.disconnected=!1),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),j.on("packet",ne=>{this.log("parser :: on packet push to packets array."),se.push(ne)});let re=()=>{this.log("work :: getting next packet in queue");let ne=se.shift();if(ne)this.log("work :: packet pulled from queue"),(0,m.default)(this,ne,L);else{this.log("work :: no packets in queue");let ue=z;z=null,this.log("work :: done flag is %s",!!ue),ue&&ue()}},L=()=>{if(se.length)(0,_.nextTick)(re);else{let ne=z;z=null,ne()}};D._write=(ne,ue,ae)=>{z=ae,this.log("writable stream :: parsing buffer"),j.parse(ne),re()};let B=ne=>{this.log("streamErrorHandler :: error",ne.message),ne.code?(this.log("streamErrorHandler :: emitting error"),this.emit("error",ne)):this.noop(ne)};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(D),this.stream.on("error",B),this.stream.on("close",()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")}),this.log("connect: sending packet `connect`");let oe={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(oe.will=Object.assign(Object.assign({},this.options.will),{payload:(R=this.options.will)===null||R===void 0?void 0:R.payload})),this.topicAliasRecv&&(oe.properties||(oe.properties={}),this.topicAliasRecv&&(oe.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(oe),j.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&typeof this.options.authPacket=="object"){let ne=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(ne)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout(()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this.emit("error",new Error("connack timeout")),this._cleanUp(!0)},this.options.connectTimeout),this}publish(R,D,j,z){this.log("publish :: message `%s` to topic `%s`",D,R);let{options:se}=this;typeof j=="function"&&(z=j,j=null),j=j||{},j=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),j);let{qos:re,retain:L,dup:B,properties:oe,cbStorePut:ne}=j;if(this._checkDisconnecting(z))return this;let ue=()=>{let ae=0;if((re===1||re===2)&&(ae=this._nextId(),ae===null))return this.log("No messageId left"),!1;let G={cmd:"publish",topic:R,payload:D,qos:re,retain:L,messageId:ae,dup:B};switch(se.protocolVersion===5&&(G.properties=oe),this.log("publish :: qos",re),re){case 1:case 2:this.outgoing[G.messageId]={volatile:!1,cb:z||this.noop},this.log("MqttClient:publish: packet cmd: %s",G.cmd),this._sendPacket(G,void 0,ne);break;default:this.log("MqttClient:publish: packet cmd: %s",G.cmd),this._sendPacket(G,z,ne);break}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!ue())&&this._storeProcessingQueue.push({invoke:ue,cbStorePut:j.cbStorePut,callback:z}),this}publishAsync(R,D,j){return new Promise((z,se)=>{this.publish(R,D,j,(re,L)=>{re?se(re):z(L)})})}subscribe(R,D,j){let z=this.options.protocolVersion;typeof D=="function"&&(j=D),j=j||this.noop;let se=!1,re=[];typeof R=="string"?(R=[R],re=R):Array.isArray(R)?re=R:typeof R=="object"&&(se=R.resubscribe,delete R.resubscribe,re=Object.keys(R));let L=c.validateTopics(re);if(L!==null)return C(j,new Error(`Invalid topic ${L}`)),this;if(this._checkDisconnecting(j))return this.log("subscribe: discconecting true"),this;let B={qos:0};z===5&&(B.nl=!1,B.rap=!1,B.rh=0),D=Object.assign(Object.assign({},B),D);let oe=D.properties,ne=[],ue=(G,pe)=>{if(pe=pe||D,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,G)||this._resubscribeTopics[G].qos{this.log("subscribe: array topic %s",G),ue(G)}):Object.keys(R).forEach(G=>{this.log("subscribe: object topic %s, %o",G,R[G]),ue(G,R[G])}),!ne.length)return j(null,[]),this;let ae=()=>{let G=this._nextId();if(G===null)return this.log("No messageId left"),!1;let pe={cmd:"subscribe",subscriptions:ne,messageId:G};if(oe&&(pe.properties=oe),this.options.resubscribe){this.log("subscribe :: resubscribe true");let de=[];ne.forEach(ge=>{if(this.options.reconnectPeriod>0){let O={qos:ge.qos};z===5&&(O.nl=ge.nl||!1,O.rap=ge.rap||!1,O.rh=ge.rh||0,O.properties=ge.properties),this._resubscribeTopics[ge.topic]=O,de.push(ge.topic)}}),this.messageIdToTopic[pe.messageId]=de}return this.outgoing[pe.messageId]={volatile:!0,cb(de,ge){if(!de){let{granted:O}=ge;for(let ie=0;ie0||!ae())&&this._storeProcessingQueue.push({invoke:ae,callback:j}),this}subscribeAsync(R,D){return new Promise((j,z)=>{this.subscribe(R,D,(se,re)=>{se?z(se):j(re)})})}unsubscribe(R,D,j){typeof R=="string"&&(R=[R]),typeof D=="function"&&(j=D),j=j||this.noop;let z=c.validateTopics(R);if(z!==null)return C(j,new Error(`Invalid topic ${z}`)),this;if(this._checkDisconnecting(j))return this;let se=()=>{let re=this._nextId();if(re===null)return this.log("No messageId left"),!1;let L={cmd:"unsubscribe",messageId:re,unsubscriptions:[]};return typeof R=="string"?L.unsubscriptions=[R]:Array.isArray(R)&&(L.unsubscriptions=R),this.options.resubscribe&&L.unsubscriptions.forEach(B=>{delete this._resubscribeTopics[B]}),typeof D=="object"&&D.properties&&(L.properties=D.properties),this.outgoing[L.messageId]={volatile:!0,cb:j},this.log("unsubscribe: call _sendPacket"),this._sendPacket(L),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!se())&&this._storeProcessingQueue.push({invoke:se,callback:j}),this}unsubscribeAsync(R,D){return new Promise((j,z)=>{this.unsubscribe(R,D,(se,re)=>{se?z(se):j(re)})})}end(R,D,j){this.log("end :: (%s)",this.options.clientId),(R==null||typeof R!="boolean")&&(j=j||D,D=R,R=!1),typeof D!="object"&&(j=j||D,D=null),this.log("end :: cb? %s",!!j),(!j||typeof j!="function")&&(j=this.noop);let z=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close(re=>{this.outgoingStore.close(L=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),j){let B=re||L;this.log("end :: closeStores: invoking callback with args"),j(B)}})}),this._deferredReconnect?this._deferredReconnect():(this.options.reconnectPeriod===0||this.options.manualConnect)&&(this.disconnecting=!1)},se=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,R),this._cleanUp(R,()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),(0,_.nextTick)(z)},D)};return this.disconnecting?(j(),this):(this._clearReconnect(),this.disconnecting=!0,!R&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,se,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),se()),this)}endAsync(R,D){return new Promise((j,z)=>{this.end(R,D,se=>{se?z(se):j()})})}removeOutgoingMessage(R){if(this.outgoing[R]){let{cb:D}=this.outgoing[R];this._removeOutgoingAndStoreMessage(R,()=>{D(new Error("Message removed"))})}return this}reconnect(R){this.log("client reconnect");let D=()=>{R?(this.options.incomingStore=R.incomingStore,this.options.outgoingStore=R.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new p.default,this.outgoingStore=this.options.outgoingStore||new p.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=D:D(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach(R=>{this.outgoing[R].volatile&&typeof this.outgoing[R].cb=="function"&&(this.outgoing[R].cb(new Error("Connection closed")),delete this.outgoing[R])}))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach(R=>{typeof this.outgoing[R].cb=="function"&&(this.outgoing[R].cb(new Error("Connection closed")),delete this.outgoing[R])}))}_removeTopicAliasAndRecoverTopicName(R){let D;R.properties&&(D=R.properties.topicAlias);let j=R.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",D,j),j.length===0){if(typeof D>"u")return new Error("Unregistered Topic Alias");if(j=this.topicAliasSend.getTopicByAlias(D),typeof j>"u")return new Error("Unregistered Topic Alias");R.topic=j}D&&delete R.properties.topicAlias}_checkDisconnecting(R){return this.disconnecting&&(R&&R!==this.noop?R(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this.connect()}),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval(()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()},this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(R,D,j={}){if(D&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",D)),this.log("_cleanUp :: forced? %s",R),R)this.options.reconnectPeriod===0&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{let z=Object.assign({cmd:"disconnect"},j);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(z,()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),C(()=>{this.stream.end(()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)})})})}!this.disconnecting&&!this.reconnecting&&(this.log("_cleanUp :: client not disconnecting/reconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),this._destroyKeepaliveManager(),D&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",D),D())}_storeAndSend(R,D,j){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",R.cmd);let z=R,se;if(z.cmd==="publish"&&(z=(0,u.default)(R),se=this._removeTopicAliasAndRecoverTopicName(z),se))return D&&D(se);this.outgoingStore.put(z,re=>{if(re)return D&&D(re);j(),this._writePacket(R,D)})}_applyTopicAlias(R){if(this.options.protocolVersion===5&&R.cmd==="publish"){let D;R.properties&&(D=R.properties.topicAlias);let j=R.topic.toString();if(this.topicAliasSend)if(D){if(j.length!==0&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",j,D),!this.topicAliasSend.put(j,D)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",j,D),new Error("Sending Topic Alias out of range")}else j.length!==0&&(this.options.autoAssignTopicAlias?(D=this.topicAliasSend.getAliasByTopic(j),D?(R.topic="",R.properties=Object.assign(Object.assign({},R.properties),{topicAlias:D}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",j,D)):(D=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(j,D),R.properties=Object.assign(Object.assign({},R.properties),{topicAlias:D}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",j,D))):this.options.autoUseTopicAlias&&(D=this.topicAliasSend.getAliasByTopic(j),D&&(R.topic="",R.properties=Object.assign(Object.assign({},R.properties),{topicAlias:D}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",j,D))));else if(D)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",j,D),new Error("Sending Topic Alias out of range")}}_noop(R){this.log("noop ::",R)}_writePacket(R,D){this.log("_writePacket :: packet: %O",R),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",R),this.log("_writePacket :: writing to stream");let j=s.default.writeToStream(R,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",j),!j&&D&&D!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",D)):D&&(this.log("_writePacket :: invoking cb"),D())}_sendPacket(R,D,j,z){this.log("_sendPacket :: (%s) :: start",this.options.clientId),j=j||this.noop,D=D||this.noop;let se=this._applyTopicAlias(R);if(se){D(se);return}if(!this.connected){if(R.cmd==="auth"){this._writePacket(R,D);return}this.log("_sendPacket :: client not connected. Storing packet offline."),this._storePacket(R,D,j);return}if(z){this._writePacket(R,D);return}switch(R.cmd){case"publish":break;case"pubrel":this._storeAndSend(R,D,j);return;default:this._writePacket(R,D);return}switch(R.qos){case 2:case 1:this._storeAndSend(R,D,j);break;case 0:default:this._writePacket(R,D);break}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}_storePacket(R,D,j){this.log("_storePacket :: packet: %o",R),this.log("_storePacket :: cb? %s",!!D),j=j||this.noop;let z=R;if(z.cmd==="publish"){z=(0,u.default)(R);let re=this._removeTopicAliasAndRecoverTopicName(z);if(re)return D&&D(re)}let se=z.qos||0;se===0&&this.queueQoSZero||z.cmd!=="publish"?this.queue.push({packet:z,cb:D}):se>0?(D=this.outgoing[z.messageId]?this.outgoing[z.messageId].cb:null,this.outgoingStore.put(z,re=>{if(re)return D&&D(re);j()})):D&&D(new Error("No connection to broker"))}_setupKeepaliveManager(){this.log("_setupKeepaliveManager :: keepalive %d (seconds)",this.options.keepalive),!this.keepaliveManager&&this.options.keepalive&&(this.keepaliveManager=new T.default(this,this.options.timerVariant))}_destroyKeepaliveManager(){this.keepaliveManager&&(this.log("_destroyKeepaliveManager :: destroying keepalive manager"),this.keepaliveManager.destroy(),this.keepaliveManager=null)}reschedulePing(R=!1){this.keepaliveManager&&this.options.keepalive&&(R||this.options.reschedulePings)&&this._reschedulePing()}_reschedulePing(){this.log("_reschedulePing :: rescheduling ping"),this.keepaliveManager.reschedule()}sendPing(){this.log("_sendPing :: sending pingreq"),this._sendPacket({cmd:"pingreq"})}onKeepaliveTimeout(){this.emit("error",new Error("Keepalive timeout")),this.log("onKeepaliveTimeout :: calling _cleanUp with force true"),this._cleanUp(!0)}_resubscribe(){this.log("_resubscribe");let R=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&R.length>0)if(this.options.resubscribe)if(this.options.protocolVersion===5){this.log("_resubscribe: protocolVersion 5");for(let D=0;D{let j=this.outgoingStore.createStream(),z=()=>{j.destroy(),j=null,this._flushStoreProcessingQueue(),se()},se=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",z),j.on("error",L=>{se(),this._flushStoreProcessingQueue(),this.removeListener("close",z),this.emit("error",L)});let re=()=>{if(!j)return;let L=j.read(1),B;if(!L){j.once("readable",re);return}if(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[L.messageId]){re();return}!this.disconnecting&&!this.reconnectTimer?(B=this.outgoing[L.messageId]?this.outgoing[L.messageId].cb:null,this.outgoing[L.messageId]={volatile:!1,cb(oe,ne){B&&B(oe,ne),re()}},this._packetIdsDuringStoreProcessing[L.messageId]=!0,this.messageIdProvider.register(L.messageId)?this._sendPacket(L,void 0,void 0,!0):this.log("messageId: %d has already used.",L.messageId)):j.destroy&&j.destroy()};j.on("end",()=>{let L=!0;for(let B in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[B]){L=!1;break}this.removeListener("close",z),L?(se(),this._invokeAllStoreProcessingQueue(),this.emit("connect",R)):D()}),re()};D()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){let R=this._storeProcessingQueue[0];if(R&&R.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(let R of this._storeProcessingQueue)R.cbStorePut&&R.cbStorePut(new Error("Connection closed")),R.callback&&R.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(R,D){delete this.outgoing[R],this.outgoingStore.del({messageId:R},(j,z)=>{D(j,z),this.messageIdProvider.deallocate(R),this._invokeStoreProcessingQueue()})}};M.VERSION=_.MQTTJS_VERSION,e.default=M}),Rk=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=Hw(),r=class{constructor(){this.numberAllocator=new t.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(n){return this.numberAllocator.use(n)}deallocate(n){this.numberAllocator.free(n)}clear(){this.numberAllocator.clear()}};e.default=r});function oi(e){throw new RangeError(Kw[e])}function Nm(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);let o=function(i,s){let a=[],l=i.length;for(;l--;)a[l]=s(i[l]);return a}((e=e.replace(qw,".")).split("."),t).join(".");return n+o}function Pm(e){let t=[],r=0,n=e.length;for(;r=55296&&o<=56319&&r{_e(),we(),be(),Lm=/^xn--/,Dm=/[^\0-\x7E]/,qw=/[\x2E\u3002\uFF0E\uFF61]/g,Kw={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fr=Math.floor,ba=String.fromCharCode,pc=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},gc=function(e,t,r){let n=0;for(e=r?fr(e/700):e>>1,e+=fr(e/t);e>455;n+=36)e=fr(e/35);return fr(n+36*e/(e+38))},mc=function(e){let t=[],r=e.length,n=0,o=128,i=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let l=0;l=128&&oi("not-basic"),t.push(e.charCodeAt(l));for(let l=s>0?s+1:0;l=r&&oi("invalid-input");let m=(a=e.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(m>=36||m>fr((2147483647-n)/d))&&oi("overflow"),n+=m*d;let _=p<=i?1:p>=i+26?26:p-i;if(m<_)break;let b=36-_;d>fr(2147483647/b)&&oi("overflow"),d*=b}let c=t.length+1;i=gc(n-u,c,u==0),fr(n/c)>2147483647-o&&oi("overflow"),o+=fr(n/c),n%=c,t.splice(n++,0,o)}var a;return String.fromCodePoint(...t)},yc=function(e){let t=[],r=(e=Pm(e)).length,n=128,o=0,i=72;for(let l of e)l<128&&t.push(ba(l));let s=t.length,a=s;for(s&&t.push("-");a=n&&cfr((2147483647-o)/u)&&oi("overflow"),o+=(l-n)*u,n=l;for(let c of e)if(c2147483647&&oi("overflow"),c==n){let d=o;for(let p=36;;p+=36){let m=p<=i?1:p>=i+26?26:p-i;if(dString.fromCodePoint(...e)},decode:mc,encode:yc,toASCII:function(e){return Nm(e,function(t){return Dm.test(t)?"xn--"+yc(t):t})},toUnicode:function(e){return Nm(e,function(t){return Lm.test(t)?mc(t.slice(4).toLowerCase()):t})}},Mn.decode,Mn.encode,Mn.toASCII,Mn.toUnicode,Mn.ucs2,Mn.version});function kk(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Bm,to,$m,Tr,Mk=_t(()=>{_e(),we(),be(),Bm=function(e,t,r,n){t=t||"&",r=r||"=";var o={};if(typeof e!="string"||e.length===0)return o;var i=/\+/g;e=e.split(t);var s=1e3;n&&typeof n.maxKeys=="number"&&(s=n.maxKeys);var a=e.length;s>0&&a>s&&(a=s);for(var l=0;l=0?(u=m.substr(0,_),c=m.substr(_+1)):(u=m,c=""),d=decodeURIComponent(u),p=decodeURIComponent(c),kk(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o},to=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},$m=function(e,t,r,n){return t=t||"&",r=r||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(o){var i=encodeURIComponent(to(o))+r;return Array.isArray(e[o])?e[o].map(function(s){return i+encodeURIComponent(to(s))}).join(t):i+encodeURIComponent(to(e[o]))}).join(t):n?encodeURIComponent(to(n))+r+encodeURIComponent(to(e)):""},Tr={},Tr.decode=Tr.parse=Bm,Tr.encode=Tr.stringify=$m,Tr.decode,Tr.encode,Tr.parse,Tr.stringify});function Nh(){throw new Error("setTimeout has not been defined")}function Ph(){throw new Error("clearTimeout has not been defined")}function Yw(e){if(Xr===setTimeout)return setTimeout(e,0);if((Xr===Nh||!Xr)&&setTimeout)return Xr=setTimeout,setTimeout(e,0);try{return Xr(e,0)}catch{try{return Xr.call(null,e,0)}catch{return Xr.call(this||Ti,e,0)}}}function Nk(){xi&&_i&&(xi=!1,_i.length?Mr=_i.concat(Mr):Os=-1,Mr.length&&zw())}function zw(){if(!xi){var e=Yw(Nk);xi=!0;for(var t=Mr.length;t;){for(_i=Mr,Mr=[];++Os{_e(),we(),be(),Ti=typeof globalThis<"u"?globalThis:typeof self<"u"?self:Ri,ot=Fm={},function(){try{Xr=typeof setTimeout=="function"?setTimeout:Nh}catch{Xr=Nh}try{Jr=typeof clearTimeout=="function"?clearTimeout:Ph}catch{Jr=Ph}}(),Mr=[],xi=!1,Os=-1,ot.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r1)for(var k=1;k{_e(),we(),be(),Ka={},Lh=!1,ci=typeof globalThis<"u"?globalThis:typeof self<"u"?self:Ri,tt=Lk(),tt.platform="browser",tt.addListener,tt.argv,tt.binding,tt.browser,tt.chdir,tt.cwd,tt.emit,tt.env,tt.listeners,tt.nextTick,tt.off,tt.on,tt.once,tt.prependListener,tt.prependOnceListener,tt.removeAllListeners,tt.removeListener,tt.title,tt.umask,tt.version,tt.versions});function Dk(){if(Dh)return Ya;Dh=!0;var e=tt;function t(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function r(i,s){for(var a="",l=0,u=-1,c=0,d,p=0;p<=i.length;++p){if(p2){var m=a.lastIndexOf("/");if(m!==a.length-1){m===-1?(a="",l=0):(a=a.slice(0,m),l=a.length-1-a.lastIndexOf("/")),u=p,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=p,c=0;continue}}s&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+i.slice(u+1,p):a=i.slice(u+1,p),l=p-u-1;u=p,c=0}else d===46&&c!==-1?++c:c=-1}return a}function n(i,s){var a=s.dir||s.root,l=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+l:a+i+l:l}var o={resolve:function(){for(var i="",s=!1,a,l=arguments.length-1;l>=-1&&!s;l--){var u;l>=0?u=arguments[l]:(a===void 0&&(a=e.cwd()),u=a),t(u),u.length!==0&&(i=u+"/"+i,s=u.charCodeAt(0)===47)}return i=r(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(t(i),i.length===0)return".";var s=i.charCodeAt(0)===47,a=i.charCodeAt(i.length-1)===47;return i=r(i,!s),i.length===0&&!s&&(i="."),i.length>0&&a&&(i+="/"),s?"/"+i:i},isAbsolute:function(i){return t(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,s=0;s0&&(i===void 0?i=a:i+="/"+a)}return i===void 0?".":o.normalize(i)},relative:function(i,s){if(t(i),t(s),i===s||(i=o.resolve(i),s=o.resolve(s),i===s))return"";for(var a=1;am){if(s.charCodeAt(c+b)===47)return s.slice(c+b+1);if(b===0)return s.slice(c+b)}else u>m&&(i.charCodeAt(a+b)===47?_=b:b===0&&(_=0));break}var T=i.charCodeAt(a+b),k=s.charCodeAt(c+b);if(T!==k)break;T===47&&(_=b)}var C="";for(b=a+_+1;b<=l;++b)(b===l||i.charCodeAt(b)===47)&&(C.length===0?C+="..":C+="/..");return C.length>0?C+s.slice(c+_):(c+=_,s.charCodeAt(c)===47&&++c,s.slice(c))},_makeLong:function(i){return i},dirname:function(i){if(t(i),i.length===0)return".";for(var s=i.charCodeAt(0),a=s===47,l=-1,u=!0,c=i.length-1;c>=1;--c)if(s=i.charCodeAt(c),s===47){if(!u){l=c;break}}else u=!1;return l===-1?a?"/":".":a&&l===1?"//":i.slice(0,l)},basename:function(i,s){if(s!==void 0&&typeof s!="string")throw new TypeError('"ext" argument must be a string');t(i);var a=0,l=-1,u=!0,c;if(s!==void 0&&s.length>0&&s.length<=i.length){if(s.length===i.length&&s===i)return"";var d=s.length-1,p=-1;for(c=i.length-1;c>=0;--c){var m=i.charCodeAt(c);if(m===47){if(!u){a=c+1;break}}else p===-1&&(u=!1,p=c+1),d>=0&&(m===s.charCodeAt(d)?--d===-1&&(l=c):(d=-1,l=p))}return a===l?l=p:l===-1&&(l=i.length),i.slice(a,l)}else{for(c=i.length-1;c>=0;--c)if(i.charCodeAt(c)===47){if(!u){a=c+1;break}}else l===-1&&(u=!1,l=c+1);return l===-1?"":i.slice(a,l)}},extname:function(i){t(i);for(var s=-1,a=0,l=-1,u=!0,c=0,d=i.length-1;d>=0;--d){var p=i.charCodeAt(d);if(p===47){if(!u){a=d+1;break}continue}l===-1&&(u=!1,l=d+1),p===46?s===-1?s=d:c!==1&&(c=1):s!==-1&&(c=-1)}return s===-1||l===-1||c===0||c===1&&s===l-1&&s===a+1?"":i.slice(s,l)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){t(i);var s={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return s;var a=i.charCodeAt(0),l=a===47,u;l?(s.root="/",u=1):u=0;for(var c=-1,d=0,p=-1,m=!0,_=i.length-1,b=0;_>=u;--_){if(a=i.charCodeAt(_),a===47){if(!m){d=_+1;break}continue}p===-1&&(m=!1,p=_+1),a===46?c===-1?c=_:b!==1&&(b=1):c!==-1&&(b=-1)}return c===-1||p===-1||b===0||b===1&&c===p-1&&c===d+1?p!==-1&&(d===0&&l?s.base=s.name=i.slice(1,p):s.base=s.name=i.slice(d,p)):(d===0&&l?(s.name=i.slice(1,c),s.base=i.slice(1,p)):(s.name=i.slice(d,c),s.base=i.slice(d,p)),s.ext=i.slice(c,p)),d>0?s.dir=i.slice(0,d-1):l&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null};return o.posix=o,Ya=o,Ya}var Ya,Dh,Bh,Bk=_t(()=>{_e(),we(),be(),Gw(),Ya={},Dh=!1,Bh=Dk()}),Qw={};Fi(Qw,{URL:()=>pv,Url:()=>uv,default:()=>qe,fileURLToPath:()=>Xw,format:()=>cv,parse:()=>dv,pathToFileURL:()=>Jw,resolve:()=>fv,resolveObject:()=>hv});function tr(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function us(e,t,r){if(e&&dr.isObject(e)&&e instanceof tr)return e;var n=new tr;return n.parse(e,t,r),n}function $k(){if($h)return za;$h=!0;var e=it;function t(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function r(i,s){for(var a="",l=0,u=-1,c=0,d,p=0;p<=i.length;++p){if(p2){var m=a.lastIndexOf("/");if(m!==a.length-1){m===-1?(a="",l=0):(a=a.slice(0,m),l=a.length-1-a.lastIndexOf("/")),u=p,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=p,c=0;continue}}s&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+i.slice(u+1,p):a=i.slice(u+1,p),l=p-u-1;u=p,c=0}else d===46&&c!==-1?++c:c=-1}return a}function n(i,s){var a=s.dir||s.root,l=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+l:a+i+l:l}var o={resolve:function(){for(var i="",s=!1,a,l=arguments.length-1;l>=-1&&!s;l--){var u;l>=0?u=arguments[l]:(a===void 0&&(a=e.cwd()),u=a),t(u),u.length!==0&&(i=u+"/"+i,s=u.charCodeAt(0)===47)}return i=r(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(t(i),i.length===0)return".";var s=i.charCodeAt(0)===47,a=i.charCodeAt(i.length-1)===47;return i=r(i,!s),i.length===0&&!s&&(i="."),i.length>0&&a&&(i+="/"),s?"/"+i:i},isAbsolute:function(i){return t(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,s=0;s0&&(i===void 0?i=a:i+="/"+a)}return i===void 0?".":o.normalize(i)},relative:function(i,s){if(t(i),t(s),i===s||(i=o.resolve(i),s=o.resolve(s),i===s))return"";for(var a=1;am){if(s.charCodeAt(c+b)===47)return s.slice(c+b+1);if(b===0)return s.slice(c+b)}else u>m&&(i.charCodeAt(a+b)===47?_=b:b===0&&(_=0));break}var T=i.charCodeAt(a+b),k=s.charCodeAt(c+b);if(T!==k)break;T===47&&(_=b)}var C="";for(b=a+_+1;b<=l;++b)(b===l||i.charCodeAt(b)===47)&&(C.length===0?C+="..":C+="/..");return C.length>0?C+s.slice(c+_):(c+=_,s.charCodeAt(c)===47&&++c,s.slice(c))},_makeLong:function(i){return i},dirname:function(i){if(t(i),i.length===0)return".";for(var s=i.charCodeAt(0),a=s===47,l=-1,u=!0,c=i.length-1;c>=1;--c)if(s=i.charCodeAt(c),s===47){if(!u){l=c;break}}else u=!1;return l===-1?a?"/":".":a&&l===1?"//":i.slice(0,l)},basename:function(i,s){if(s!==void 0&&typeof s!="string")throw new TypeError('"ext" argument must be a string');t(i);var a=0,l=-1,u=!0,c;if(s!==void 0&&s.length>0&&s.length<=i.length){if(s.length===i.length&&s===i)return"";var d=s.length-1,p=-1;for(c=i.length-1;c>=0;--c){var m=i.charCodeAt(c);if(m===47){if(!u){a=c+1;break}}else p===-1&&(u=!1,p=c+1),d>=0&&(m===s.charCodeAt(d)?--d===-1&&(l=c):(d=-1,l=p))}return a===l?l=p:l===-1&&(l=i.length),i.slice(a,l)}else{for(c=i.length-1;c>=0;--c)if(i.charCodeAt(c)===47){if(!u){a=c+1;break}}else l===-1&&(u=!1,l=c+1);return l===-1?"":i.slice(a,l)}},extname:function(i){t(i);for(var s=-1,a=0,l=-1,u=!0,c=0,d=i.length-1;d>=0;--d){var p=i.charCodeAt(d);if(p===47){if(!u){a=d+1;break}continue}l===-1&&(u=!1,l=d+1),p===46?s===-1?s=d:c!==1&&(c=1):s!==-1&&(c=-1)}return s===-1||l===-1||c===0||c===1&&s===l-1&&s===a+1?"":i.slice(s,l)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){t(i);var s={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return s;var a=i.charCodeAt(0),l=a===47,u;l?(s.root="/",u=1):u=0;for(var c=-1,d=0,p=-1,m=!0,_=i.length-1,b=0;_>=u;--_){if(a=i.charCodeAt(_),a===47){if(!m){d=_+1;break}continue}p===-1&&(m=!1,p=_+1),a===46?c===-1?c=_:b!==1&&(b=1):c!==-1&&(b=-1)}return c===-1||p===-1||b===0||b===1&&c===p-1&&c===d+1?p!==-1&&(d===0&&l?s.base=s.name=i.slice(1,p):s.base=s.name=i.slice(d,p)):(d===0&&l?(s.name=i.slice(1,c),s.base=i.slice(1,p)):(s.name=i.slice(d,c),s.base=i.slice(d,p)),s.ext=i.slice(c,p)),d>0?s.dir=i.slice(0,d-1):l&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null};return o.posix=o,za=o,za}function Uk(e){if(typeof e=="string")e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(e.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return bl?Fk(e):jk(e)}function Fk(e){let t=e.hostname,r=e.pathname;for(let n=0;nrv||o!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function jk(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;r_v||o!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function Vk(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;r{_e(),we(),be(),Ok(),Mk(),Pk(),Bk(),Gw(),qe={},jm=Mn,dr={isString:function(e){return typeof e=="string"},isObject:function(e){return typeof e=="object"&&e!==null},isNull:function(e){return e===null},isNullOrUndefined:function(e){return e==null}},qe.parse=us,qe.resolve=function(e,t){return us(e,!1,!0).resolve(t)},qe.resolveObject=function(e,t){return e?us(e,!1,!0).resolveObject(t):t},qe.format=function(e){return dr.isString(e)&&(e=us(e)),e instanceof tr?e.format():tr.prototype.format.call(e)},qe.Url=tr,Wm=/^([a-z0-9.+-]+:)/i,Hm=/:[0-9]*$/,Vm=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,qm=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),wa=["'"].concat(qm),_c=["%","/","?",";","#"].concat(wa),bc=["/","?","#"],wc=/^[+a-z0-9A-Z_-]{0,63}$/,Km=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ym={javascript:!0,"javascript:":!0},va={javascript:!0,"javascript:":!0},si={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ea=Tr,tr.prototype.parse=function(e,t,r){if(!dr.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),o=n!==-1&&n127?M+="x":M+=A[$];if(!M.match(wc)){var D=k.slice(0,_),j=k.slice(_+1),z=A.match(Km);z&&(D.push(z[1]),j.unshift(z[2])),j.length&&(s="/"+j.join(".")+s),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=jm.toASCII(this.hostname));var se=this.port?":"+this.port:"",re=this.hostname||"";this.host=re+se,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!Ym[u])for(_=0,C=wa.length;_0)&&r.host.split("@"))&&(r.auth=z.shift(),r.host=r.hostname=z.shift())),r.search=e.search,r.query=e.query,dr.isNull(r.pathname)&&dr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!A.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var $=A.slice(-1)[0],R=(r.host||e.host||A.length>1)&&($==="."||$==="..")||$==="",D=0,j=A.length;j>=0;j--)($=A[j])==="."?A.splice(j,1):$===".."?(A.splice(j,1),D++):D&&(A.splice(j,1),D--);if(!k&&!C)for(;D--;D)A.unshift("..");!k||A[0]===""||A[0]&&A[0].charAt(0)==="/"||A.unshift(""),R&&A.join("/").substr(-1)!=="/"&&A.push("");var z,se=A[0]===""||A[0]&&A[0].charAt(0)==="/";return M&&(r.hostname=r.host=se?"":A.length?A.shift():"",(z=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=z.shift(),r.host=r.hostname=z.shift())),(k=k||r.host&&A.length)&&!se&&A.unshift(""),A.length?r.pathname=A.join("/"):(r.pathname=null,r.path=null),dr.isNull(r.pathname)&&dr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},tr.prototype.parseHost=function(){var e=this.host,t=Hm.exec(e);t&&((t=t[0])!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},qe.Url,qe.format,qe.resolve,qe.resolveObject,za={},$h=!1,Uh=$k(),zm=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,qe.URL=typeof URL<"u"?URL:null,qe.pathToFileURL=Wk,qe.fileURLToPath=Uk,qe.Url,qe.format,qe.resolve,qe.resolveObject,qe.URL,Zw=92,ev=47,tv=97,rv=122,bl=zm==="win32",nv=/\//g,iv=/%/g,ov=/\\/g,sv=/\n/g,av=/\r/g,lv=/\t/g,Gm=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,qe.URL=typeof URL<"u"?URL:null,qe.pathToFileURL=Jw,qe.fileURLToPath=Xw,uv=qe.Url,cv=qe.format,fv=qe.resolve,hv=qe.resolveObject,dv=qe.parse,pv=qe.URL,gv=92,mv=47,yv=97,_v=122,wl=Gm==="win32",bv=/\//g,wv=/%/g,vv=/\\/g,Ev=/\n/g,Sv=/\r/g,Av=/\t/g}),Kk=Ae((e,t)=>{_e(),we(),be(),t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}}),pp=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0}),e.BufferedDuplex=e.writev=void 0;var t=Hi(),r=(wt(),Ge(bt));function n(i,s){let a=new Array(i.length);for(let l=0;l{this.destroyed||this.push(l)})}_read(i){this.proxy.read(i)}_write(i,s,a){this.isSocketOpen?this.writeToProxy(i,s,a):this.writeQueue.push({chunk:i,encoding:s,cb:a})}_final(i){this.writeQueue=[],this.proxy.end(i)}_destroy(i,s){this.writeQueue=[],this.proxy.destroy(),s(i)}socketReady(){this.emit("connect"),this.isSocketOpen=!0,this.processWriteQueue()}writeToProxy(i,s,a){this.proxy.write(i,s)===!1?this.proxy.once("drain",a):a()}processWriteQueue(){for(;this.writeQueue.length>0;){let{chunk:i,encoding:s,cb:a}=this.writeQueue.shift();this.writeToProxy(i,s,a)}}};e.BufferedDuplex=o}),Sa=Ae(e=>{_e(),we(),be();var t=e&&e.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(e,"__esModule",{value:!0}),e.streamBuilder=e.browserStreamBuilder=void 0;var r=(wt(),Ge(bt)),n=t(Kk()),o=t(pn()),i=Hi(),s=t(uu()),a=pp(),l=(0,o.default)("mqttjs:ws"),u=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function c(k,C){let A=`${k.protocol}://${k.hostname}:${k.port}${k.path}`;return typeof k.transformWsUrl=="function"&&(A=k.transformWsUrl(A,k,C)),A}function d(k){let C=k;return k.port||(k.protocol==="wss"?C.port=443:C.port=80),k.path||(C.path="/"),k.wsOptions||(C.wsOptions={}),!s.default&&!k.forceNativeWebSocket&&k.protocol==="wss"&&u.forEach(A=>{Object.prototype.hasOwnProperty.call(k,A)&&!Object.prototype.hasOwnProperty.call(k.wsOptions,A)&&(C.wsOptions[A]=k[A])}),C}function p(k){let C=d(k);if(C.hostname||(C.hostname=C.host),!C.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");let A=new URL(document.URL);C.hostname=A.hostname,C.port||(C.port=Number(A.port))}return C.objectMode===void 0&&(C.objectMode=!(C.binary===!0||C.binary===void 0)),C}function m(k,C,A){l("createWebSocket"),l(`protocol: ${A.protocolId} ${A.protocolVersion}`);let M=A.protocolId==="MQIsdp"&&A.protocolVersion===3?"mqttv3.1":"mqtt";l(`creating new Websocket for url: ${C} and protocol: ${M}`);let $;return A.createWebsocket?$=A.createWebsocket(C,[M],A):$=new n.default(C,[M],A.wsOptions),$}function _(k,C){let A=C.protocolId==="MQIsdp"&&C.protocolVersion===3?"mqttv3.1":"mqtt",M=c(C,k),$;return C.createWebsocket?$=C.createWebsocket(M,[A],C):$=new WebSocket(M,[A]),$.binaryType="arraybuffer",$}var b=(k,C)=>{l("streamBuilder");let A=d(C);A.hostname=A.hostname||A.host||"localhost";let M=c(A,k),$=m(k,M,A),R=n.default.createWebSocketStream($,A.wsOptions);return R.url=M,$.on("close",()=>{R.destroy()}),R};e.streamBuilder=b;var T=(k,C)=>{l("browserStreamBuilder");let A,M=p(C).browserBufferSize||1024*512,$=C.browserBufferTimeout||1e3,R=!C.objectMode,D=_(k,C),j=se(C,ne,ue);C.objectMode||(j._writev=a.writev.bind(j)),j.on("close",()=>{D.close()});let z=typeof D.addEventListener<"u";D.readyState===D.OPEN?(A=j,A.socket=D):(A=new a.BufferedDuplex(C,j,D),z?D.addEventListener("open",re):D.onopen=re),z?(D.addEventListener("close",L),D.addEventListener("error",B),D.addEventListener("message",oe)):(D.onclose=L,D.onerror=B,D.onmessage=oe);function se(ae,G,pe){let de=new i.Transform({objectMode:ae.objectMode});return de._write=G,de._flush=pe,de}function re(){l("WebSocket onOpen"),A instanceof a.BufferedDuplex&&A.socketReady()}function L(ae){l("WebSocket onClose",ae),A.end(),A.destroy()}function B(ae){l("WebSocket onError",ae);let G=new Error("WebSocket error");G.event=ae,A.destroy(G)}async function oe(ae){let{data:G}=ae;G instanceof ArrayBuffer?G=r.Buffer.from(G):G instanceof Blob?G=r.Buffer.from(await new Response(G).arrayBuffer()):G=r.Buffer.from(G,"utf8"),j&&!j.destroyed&&j.push(G)}function ne(ae,G,pe){if(D.bufferedAmount>M){setTimeout(ne,$,ae,G,pe);return}R&&typeof ae=="string"&&(ae=r.Buffer.from(ae,"utf8"));try{D.send(ae)}catch(de){return pe(de)}pe()}function ue(ae){D.close(),ae()}return A};e.browserStreamBuilder=T}),gp={};Fi(gp,{Server:()=>rt,Socket:()=>rt,Stream:()=>rt,_createServerHandle:()=>rt,_normalizeArgs:()=>rt,_setSimultaneousAccepts:()=>rt,connect:()=>rt,createConnection:()=>rt,createServer:()=>rt,default:()=>Tv,isIP:()=>rt,isIPv4:()=>rt,isIPv6:()=>rt});function rt(){throw new Error("Node.js net module is not supported by JSPM core outside of Node.js")}var Tv,xv=_t(()=>{_e(),we(),be(),Tv={_createServerHandle:rt,_normalizeArgs:rt,_setSimultaneousAccepts:rt,connect:rt,createConnection:rt,createServer:rt,isIP:rt,isIPv4:rt,isIPv6:rt,Server:rt,Socket:rt,Stream:rt}}),Qm=Ae(e=>{_e(),we(),be();var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var r=t((xv(),Ge(gp))),n=t(pn()),o=(0,n.default)("mqttjs:tcp"),i=(s,a)=>{a.port=a.port||1883,a.hostname=a.hostname||a.host||"localhost";let{port:l,path:u}=a,c=a.hostname;return o("port %d and host %s",l,c),r.default.createConnection({port:l,host:c,path:u})};e.default=i}),Iv={};Fi(Iv,{default:()=>Cv});var Cv,Yk=_t(()=>{_e(),we(),be(),Cv={}}),Xm=Ae(e=>{_e(),we(),be();var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t((Yk(),Ge(Iv))),n=t((xv(),Ge(gp))),o=t(pn()),i=(0,o.default)("mqttjs:tls"),s=(a,l)=>{l.port=l.port||8883,l.host=l.hostname||l.host||"localhost",n.default.isIP(l.host)===0&&(l.servername=l.host),l.rejectUnauthorized=l.rejectUnauthorized!==!1,delete l.path,i("port %d host %s rejectUnauthorized %b",l.port,l.host,l.rejectUnauthorized);let u=r.default.connect(l);u.on("secureConnect",()=>{l.rejectUnauthorized&&!u.authorized?u.emit("error",new Error("TLS not authorized")):u.removeListener("error",c)});function c(d){l.rejectUnauthorized&&a.emit("error",d),u.end()}return u.on("error",c),u};e.default=s}),Jm=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=(wt(),Ge(bt)),r=Hi(),n=pp(),o,i,s;function a(){let p=new r.Transform;return p._write=(m,_,b)=>{o.send({data:m.buffer,success(){b()},fail(T){b(new Error(T))}})},p._flush=m=>{o.close({success(){m()}})},p}function l(p){p.hostname||(p.hostname="localhost"),p.path||(p.path="/"),p.wsOptions||(p.wsOptions={})}function u(p,m){let _=p.protocol==="wxs"?"wss":"ws",b=`${_}://${p.hostname}${p.path}`;return p.port&&p.port!==80&&p.port!==443&&(b=`${_}://${p.hostname}:${p.port}${p.path}`),typeof p.transformWsUrl=="function"&&(b=p.transformWsUrl(b,p,m)),b}function c(){o.onOpen(()=>{s.socketReady()}),o.onMessage(p=>{let{data:m}=p;m instanceof ArrayBuffer?m=t.Buffer.from(m):m=t.Buffer.from(m,"utf8"),i.push(m)}),o.onClose(()=>{s.emit("close"),s.end(),s.destroy()}),o.onError(p=>{let m=new Error(p.errMsg);s.destroy(m)})}var d=(p,m)=>{if(m.hostname=m.hostname||m.host,!m.hostname)throw new Error("Could not determine host. Specify host manually.");let _=m.protocolId==="MQIsdp"&&m.protocolVersion===3?"mqttv3.1":"mqtt";l(m);let b=u(m,p);o=wx.connectSocket({url:b,protocols:[_]}),i=a(),s=new n.BufferedDuplex(m,i,o),s._destroy=(k,C)=>{o.close({success(){C&&C(k)}})};let T=s.destroy;return s.destroy=(k,C)=>(s.destroy=T,setTimeout(()=>{o.close({fail(){s._destroy(k,C)}})},0),s),c(),s};e.default=d}),Zm=Ae(e=>{_e(),we(),be(),Object.defineProperty(e,"__esModule",{value:!0});var t=(wt(),Ge(bt)),r=Hi(),n=pp(),o,i,s,a=!1;function l(){let m=new r.Transform;return m._write=(_,b,T)=>{o.sendSocketMessage({data:_.buffer,success(){T()},fail(){T(new Error)}})},m._flush=_=>{o.closeSocket({success(){_()}})},m}function u(m){m.hostname||(m.hostname="localhost"),m.path||(m.path="/"),m.wsOptions||(m.wsOptions={})}function c(m,_){let b=m.protocol==="alis"?"wss":"ws",T=`${b}://${m.hostname}${m.path}`;return m.port&&m.port!==80&&m.port!==443&&(T=`${b}://${m.hostname}:${m.port}${m.path}`),typeof m.transformWsUrl=="function"&&(T=m.transformWsUrl(T,m,_)),T}function d(){a||(a=!0,o.onSocketOpen(()=>{s.socketReady()}),o.onSocketMessage(m=>{if(typeof m.data=="string"){let _=t.Buffer.from(m.data,"base64");i.push(_)}else{let _=new FileReader;_.addEventListener("load",()=>{let b=_.result;b instanceof ArrayBuffer?b=t.Buffer.from(b):b=t.Buffer.from(b,"utf8"),i.push(b)}),_.readAsArrayBuffer(m.data)}}),o.onSocketClose(()=>{s.end(),s.destroy()}),o.onSocketError(m=>{s.destroy(m)}))}var p=(m,_)=>{if(_.hostname=_.hostname||_.host,!_.hostname)throw new Error("Could not determine host. Specify host manually.");let b=_.protocolId==="MQIsdp"&&_.protocolVersion===3?"mqttv3.1":"mqtt";u(_);let T=c(_,m);return o=_.my,o.connectSocket({url:T,protocols:b}),i=l(),s=new n.BufferedDuplex(_,i,o),d(),s};e.default=p}),zk=Ae(e=>{_e(),we(),be();var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectAsync=void 0;var r=t(pn()),n=t((qk(),Ge(Qw))),o=t(kh()),i=t(uu());typeof(We==null?void 0:We.nextTick)!="function"&&(We.nextTick=setImmediate);var s=(0,r.default)("mqttjs"),a=null;function l(d){let p;d.auth&&(p=d.auth.match(/^(.+):(.+)$/),p?(d.username=p[1],d.password=p[2]):d.username=d.auth)}function u(d,p){var m,_,b,T;if(s("connecting to an MQTT broker..."),typeof d=="object"&&!p&&(p=d,d=""),p=p||{},d&&typeof d=="string"){let A=n.default.parse(d,!0),M={};if(A.port!=null&&(M.port=Number(A.port)),M.host=A.hostname,M.query=A.query,M.auth=A.auth,M.protocol=A.protocol,M.path=A.path,M.protocol=(m=M.protocol)===null||m===void 0?void 0:m.replace(/:$/,""),p=Object.assign(Object.assign({},M),p),!p.protocol)throw new Error("Missing protocol")}if(p.unixSocket=p.unixSocket||((_=p.protocol)===null||_===void 0?void 0:_.includes("+unix")),p.unixSocket?p.protocol=p.protocol.replace("+unix",""):!(!((b=p.protocol)===null||b===void 0)&&b.startsWith("ws"))&&!(!((T=p.protocol)===null||T===void 0)&&T.startsWith("wx"))&&delete p.path,l(p),p.query&&typeof p.query.clientId=="string"&&(p.clientId=p.query.clientId),p.cert&&p.key)if(p.protocol){if(["mqtts","wss","wxs","alis"].indexOf(p.protocol)===-1)switch(p.protocol){case"mqtt":p.protocol="mqtts";break;case"ws":p.protocol="wss";break;case"wx":p.protocol="wxs";break;case"ali":p.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${p.protocol}"!`)}}else throw new Error("Missing secure protocol key");if(a||(a={},!i.default&&!p.forceNativeWebSocket?(a.ws=Sa().streamBuilder,a.wss=Sa().streamBuilder,a.mqtt=Qm().default,a.tcp=Qm().default,a.ssl=Xm().default,a.tls=a.ssl,a.mqtts=Xm().default):(a.ws=Sa().browserStreamBuilder,a.wss=Sa().browserStreamBuilder,a.wx=Jm().default,a.wxs=Jm().default,a.ali=Zm().default,a.alis=Zm().default)),!a[p.protocol]){let A=["mqtts","wss"].indexOf(p.protocol)!==-1;p.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter((M,$)=>A&&$%2===0?!1:typeof a[M]=="function")[0]}if(p.clean===!1&&!p.clientId)throw new Error("Missing clientId for unclean clients");p.protocol&&(p.defaultProtocol=p.protocol);function k(A){return p.servers&&((!A._reconnectCount||A._reconnectCount===p.servers.length)&&(A._reconnectCount=0),p.host=p.servers[A._reconnectCount].host,p.port=p.servers[A._reconnectCount].port,p.protocol=p.servers[A._reconnectCount].protocol?p.servers[A._reconnectCount].protocol:p.defaultProtocol,p.hostname=p.host,A._reconnectCount++),s("calling streambuilder for",p.protocol),a[p.protocol](A,p)}let C=new o.default(k,p);return C.on("error",()=>{}),C}function c(d,p,m=!0){return new Promise((_,b)=>{let T=u(d,p),k={connect:A=>{C(),_(T)},end:()=>{C(),_(T)},error:A=>{C(),T.end(),b(A)}};m===!1&&(k.close=()=>{k.error(new Error("Couldn't connect to server"))});function C(){Object.keys(k).forEach(A=>{T.off(A,k[A])})}Object.keys(k).forEach(A=>{T.on(A,k[A])})})}e.connectAsync=c,e.default=u}),e0=Ae(e=>{_e(),we(),be();var t=e&&e.__createBinding||(Object.create?function(m,_,b,T){T===void 0&&(T=b);var k=Object.getOwnPropertyDescriptor(_,b);(!k||("get"in k?!_.__esModule:k.writable||k.configurable))&&(k={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(m,T,k)}:function(m,_,b,T){T===void 0&&(T=b),m[T]=_[b]}),r=e&&e.__setModuleDefault||(Object.create?function(m,_){Object.defineProperty(m,"default",{enumerable:!0,value:_})}:function(m,_){m.default=_}),n=e&&e.__importStar||function(m){if(m&&m.__esModule)return m;var _={};if(m!=null)for(var b in m)b!=="default"&&Object.prototype.hasOwnProperty.call(m,b)&&t(_,m,b);return r(_,m),_},o=e&&e.__exportStar||function(m,_){for(var b in m)b!=="default"&&!Object.prototype.hasOwnProperty.call(_,b)&&t(_,m,b)},i=e&&e.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=e.KeepaliveManager=e.UniqueMessageIdProvider=e.DefaultMessageIdProvider=e.Store=e.MqttClient=e.connectAsync=e.connect=e.Client=void 0;var s=i(kh());e.MqttClient=s.default;var a=i(Iw());e.DefaultMessageIdProvider=a.default;var l=i(Rk());e.UniqueMessageIdProvider=l.default;var u=i(Cw());e.Store=u.default;var c=n(zk());e.connect=c.default,Object.defineProperty(e,"connectAsync",{enumerable:!0,get:function(){return c.connectAsync}});var d=i(Vw());e.KeepaliveManager=d.default,e.Client=s.default,o(kh(),e),o(Qo(),e);var p=lu();Object.defineProperty(e,"ReasonCodes",{enumerable:!0,get:function(){return p.ReasonCodes}})}),Gk=Ae(e=>{_e(),we(),be();var t=e&&e.__createBinding||(Object.create?function(s,a,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(a,l);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[l]}}),Object.defineProperty(s,u,c)}:function(s,a,l,u){u===void 0&&(u=l),s[u]=a[l]}),r=e&&e.__setModuleDefault||(Object.create?function(s,a){Object.defineProperty(s,"default",{enumerable:!0,value:a})}:function(s,a){s.default=a}),n=e&&e.__importStar||function(s){if(s&&s.__esModule)return s;var a={};if(s!=null)for(var l in s)l!=="default"&&Object.prototype.hasOwnProperty.call(s,l)&&t(a,s,l);return r(a,s),a},o=e&&e.__exportStar||function(s,a){for(var l in s)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&t(a,s,l)};Object.defineProperty(e,"__esModule",{value:!0});var i=n(e0());e.default=i,o(e0(),e)});const _3=Gk();/*! Bundled license information: + +@jspm/core/nodelibs/browser/buffer.js: + (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) +*/var mp={exports:{}},Rv={exports:{}},vc={exports:{}},Zt={},cu={};cu.byteLength=Jk;cu.toByteArray=eM;cu.fromByteArray=nM;var Or=[],rr=[],Qk=typeof Uint8Array<"u"?Uint8Array:Array,Ec="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var ro=0,Xk=Ec.length;ro0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function Jk(e){var t=Ov(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Zk(e,t,r){return(t+r)*3/4-r}function eM(e){var t,r=Ov(e),n=r[0],o=r[1],i=new Qk(Zk(e,n,o)),s=0,a=o>0?n-4:n,l;for(l=0;l>16&255,i[s++]=t>>8&255,i[s++]=t&255;return o===2&&(t=rr[e.charCodeAt(l)]<<2|rr[e.charCodeAt(l+1)]>>4,i[s++]=t&255),o===1&&(t=rr[e.charCodeAt(l)]<<10|rr[e.charCodeAt(l+1)]<<4|rr[e.charCodeAt(l+2)]>>2,i[s++]=t>>8&255,i[s++]=t&255),i}function tM(e){return Or[e>>18&63]+Or[e>>12&63]+Or[e>>6&63]+Or[e&63]}function rM(e,t,r){for(var n,o=[],i=t;ia?a:s+i));return n===1?(t=e[r-1],o.push(Or[t>>2]+Or[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(Or[t>>10]+Or[t>>4&63]+Or[t<<2&63]+"=")),o.join("")}var yp={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */yp.read=function(e,t,r,n,o){var i,s,a=o*8-n-1,l=(1<>1,c=-7,d=r?o-1:0,p=r?-1:1,m=e[t+d];for(d+=p,i=m&(1<<-c)-1,m>>=-c,c+=a;c>0;i=i*256+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(i===0)i=1-u;else{if(i===l)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-u}return(m?-1:1)*s*Math.pow(2,i-n)};yp.write=function(e,t,r,n,o,i){var s,a,l,u=i*8-o-1,c=(1<>1,p=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:i-1,_=n?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,o),s=s+d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[r+m]=a&255,m+=_,a/=256,o-=8);for(s=s<0;e[r+m]=s&255,m+=_,s/=256,u-=8);e[r+m-_]|=b*128};/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */(function(e){const t=cu,r=yp,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=C,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,a.TYPED_ARRAY_SUPPORT=i(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const h=new Uint8Array(1),f={foo:function(){return 42}};return Object.setPrototypeOf(f,Uint8Array.prototype),Object.setPrototypeOf(h,f),h.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function s(h){if(h>o)throw new RangeError('The value "'+h+'" is invalid for option "size"');const f=new Uint8Array(h);return Object.setPrototypeOf(f,a.prototype),f}function a(h,f,g){if(typeof h=="number"){if(typeof f=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(h)}return l(h,f,g)}a.poolSize=8192;function l(h,f,g){if(typeof h=="string")return p(h,f);if(ArrayBuffer.isView(h))return _(h);if(h==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(x(h,ArrayBuffer)||h&&x(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(x(h,SharedArrayBuffer)||h&&x(h.buffer,SharedArrayBuffer)))return b(h,f,g);if(typeof h=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const w=h.valueOf&&h.valueOf();if(w!=null&&w!==h)return a.from(w,f,g);const I=T(h);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof h[Symbol.toPrimitive]=="function")return a.from(h[Symbol.toPrimitive]("string"),f,g);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}a.from=function(h,f,g){return l(h,f,g)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function u(h){if(typeof h!="number")throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function c(h,f,g){return u(h),h<=0?s(h):f!==void 0?typeof g=="string"?s(h).fill(f,g):s(h).fill(f):s(h)}a.alloc=function(h,f,g){return c(h,f,g)};function d(h){return u(h),s(h<0?0:k(h)|0)}a.allocUnsafe=function(h){return d(h)},a.allocUnsafeSlow=function(h){return d(h)};function p(h,f){if((typeof f!="string"||f==="")&&(f="utf8"),!a.isEncoding(f))throw new TypeError("Unknown encoding: "+f);const g=A(h,f)|0;let w=s(g);const I=w.write(h,f);return I!==g&&(w=w.slice(0,I)),w}function m(h){const f=h.length<0?0:k(h.length)|0,g=s(f);for(let w=0;w=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return h|0}function C(h){return+h!=h&&(h=0),a.alloc(+h)}a.isBuffer=function(f){return f!=null&&f._isBuffer===!0&&f!==a.prototype},a.compare=function(f,g){if(x(f,Uint8Array)&&(f=a.from(f,f.offset,f.byteLength)),x(g,Uint8Array)&&(g=a.from(g,g.offset,g.byteLength)),!a.isBuffer(f)||!a.isBuffer(g))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(f===g)return 0;let w=f.length,I=g.length;for(let W=0,ce=Math.min(w,I);WI.length?(a.isBuffer(ce)||(ce=a.from(ce)),ce.copy(I,W)):Uint8Array.prototype.set.call(I,ce,W);else if(a.isBuffer(ce))ce.copy(I,W);else throw new TypeError('"list" argument must be an Array of Buffers');W+=ce.length}return I};function A(h,f){if(a.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||x(h,ArrayBuffer))return h.byteLength;if(typeof h!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);const g=h.length,w=arguments.length>2&&arguments[2]===!0;if(!w&&g===0)return 0;let I=!1;for(;;)switch(f){case"ascii":case"latin1":case"binary":return g;case"utf8":case"utf-8":return P(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g*2;case"hex":return g>>>1;case"base64":return U(h).length;default:if(I)return w?-1:P(h).length;f=(""+f).toLowerCase(),I=!0}}a.byteLength=A;function M(h,f,g){let w=!1;if((f===void 0||f<0)&&(f=0),f>this.length||((g===void 0||g>this.length)&&(g=this.length),g<=0)||(g>>>=0,f>>>=0,g<=f))return"";for(h||(h="utf8");;)switch(h){case"hex":return pe(this,f,g);case"utf8":case"utf-8":return oe(this,f,g);case"ascii":return ae(this,f,g);case"latin1":case"binary":return G(this,f,g);case"base64":return B(this,f,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return de(this,f,g);default:if(w)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),w=!0}}a.prototype._isBuffer=!0;function $(h,f,g){const w=h[f];h[f]=h[g],h[g]=w}a.prototype.swap16=function(){const f=this.length;if(f%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let g=0;gg&&(f+=" ... "),""},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(f,g,w,I,W){if(x(f,Uint8Array)&&(f=a.from(f,f.offset,f.byteLength)),!a.isBuffer(f))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof f);if(g===void 0&&(g=0),w===void 0&&(w=f?f.length:0),I===void 0&&(I=0),W===void 0&&(W=this.length),g<0||w>f.length||I<0||W>this.length)throw new RangeError("out of range index");if(I>=W&&g>=w)return 0;if(I>=W)return-1;if(g>=w)return 1;if(g>>>=0,w>>>=0,I>>>=0,W>>>=0,this===f)return 0;let ce=W-I,xe=w-g;const ke=Math.min(ce,xe),Te=this.slice(I,W),Oe=f.slice(g,w);for(let Re=0;Re2147483647?g=2147483647:g<-2147483648&&(g=-2147483648),g=+g,K(g)&&(g=I?0:h.length-1),g<0&&(g=h.length+g),g>=h.length){if(I)return-1;g=h.length-1}else if(g<0)if(I)g=0;else return-1;if(typeof f=="string"&&(f=a.from(f,w)),a.isBuffer(f))return f.length===0?-1:D(h,f,g,w,I);if(typeof f=="number")return f=f&255,typeof Uint8Array.prototype.indexOf=="function"?I?Uint8Array.prototype.indexOf.call(h,f,g):Uint8Array.prototype.lastIndexOf.call(h,f,g):D(h,[f],g,w,I);throw new TypeError("val must be string, number or Buffer")}function D(h,f,g,w,I){let W=1,ce=h.length,xe=f.length;if(w!==void 0&&(w=String(w).toLowerCase(),w==="ucs2"||w==="ucs-2"||w==="utf16le"||w==="utf-16le")){if(h.length<2||f.length<2)return-1;W=2,ce/=2,xe/=2,g/=2}function ke(Oe,Re){return W===1?Oe[Re]:Oe.readUInt16BE(Re*W)}let Te;if(I){let Oe=-1;for(Te=g;Tece&&(g=ce-xe),Te=g;Te>=0;Te--){let Oe=!0;for(let Re=0;ReI&&(w=I)):w=I;const W=f.length;w>W/2&&(w=W/2);let ce;for(ce=0;ce>>0,isFinite(w)?(w=w>>>0,I===void 0&&(I="utf8")):(I=w,w=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const W=this.length-g;if((w===void 0||w>W)&&(w=W),f.length>0&&(w<0||g<0)||g>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");let ce=!1;for(;;)switch(I){case"hex":return j(this,f,g,w);case"utf8":case"utf-8":return z(this,f,g,w);case"ascii":case"latin1":case"binary":return se(this,f,g,w);case"base64":return re(this,f,g,w);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,f,g,w);default:if(ce)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),ce=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function B(h,f,g){return f===0&&g===h.length?t.fromByteArray(h):t.fromByteArray(h.slice(f,g))}function oe(h,f,g){g=Math.min(h.length,g);const w=[];let I=f;for(;I239?4:W>223?3:W>191?2:1;if(I+xe<=g){let ke,Te,Oe,Re;switch(xe){case 1:W<128&&(ce=W);break;case 2:ke=h[I+1],(ke&192)===128&&(Re=(W&31)<<6|ke&63,Re>127&&(ce=Re));break;case 3:ke=h[I+1],Te=h[I+2],(ke&192)===128&&(Te&192)===128&&(Re=(W&15)<<12|(ke&63)<<6|Te&63,Re>2047&&(Re<55296||Re>57343)&&(ce=Re));break;case 4:ke=h[I+1],Te=h[I+2],Oe=h[I+3],(ke&192)===128&&(Te&192)===128&&(Oe&192)===128&&(Re=(W&15)<<18|(ke&63)<<12|(Te&63)<<6|Oe&63,Re>65535&&Re<1114112&&(ce=Re))}}ce===null?(ce=65533,xe=1):ce>65535&&(ce-=65536,w.push(ce>>>10&1023|55296),ce=56320|ce&1023),w.push(ce),I+=xe}return ue(w)}const ne=4096;function ue(h){const f=h.length;if(f<=ne)return String.fromCharCode.apply(String,h);let g="",w=0;for(;ww)&&(g=w);let I="";for(let W=f;Ww&&(f=w),g<0?(g+=w,g<0&&(g=0)):g>w&&(g=w),gg)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(f,g,w){f=f>>>0,g=g>>>0,w||ge(f,g,this.length);let I=this[f],W=1,ce=0;for(;++ce>>0,g=g>>>0,w||ge(f,g,this.length);let I=this[f+--g],W=1;for(;g>0&&(W*=256);)I+=this[f+--g]*W;return I},a.prototype.readUint8=a.prototype.readUInt8=function(f,g){return f=f>>>0,g||ge(f,1,this.length),this[f]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(f,g){return f=f>>>0,g||ge(f,2,this.length),this[f]|this[f+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(f,g){return f=f>>>0,g||ge(f,2,this.length),this[f]<<8|this[f+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(f,g){return f=f>>>0,g||ge(f,4,this.length),(this[f]|this[f+1]<<8|this[f+2]<<16)+this[f+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(f,g){return f=f>>>0,g||ge(f,4,this.length),this[f]*16777216+(this[f+1]<<16|this[f+2]<<8|this[f+3])},a.prototype.readBigUInt64LE=le(function(f){f=f>>>0,v(f,"offset");const g=this[f],w=this[f+7];(g===void 0||w===void 0)&&S(f,this.length-8);const I=g+this[++f]*2**8+this[++f]*2**16+this[++f]*2**24,W=this[++f]+this[++f]*2**8+this[++f]*2**16+w*2**24;return BigInt(I)+(BigInt(W)<>>0,v(f,"offset");const g=this[f],w=this[f+7];(g===void 0||w===void 0)&&S(f,this.length-8);const I=g*2**24+this[++f]*2**16+this[++f]*2**8+this[++f],W=this[++f]*2**24+this[++f]*2**16+this[++f]*2**8+w;return(BigInt(I)<>>0,g=g>>>0,w||ge(f,g,this.length);let I=this[f],W=1,ce=0;for(;++ce=W&&(I-=Math.pow(2,8*g)),I},a.prototype.readIntBE=function(f,g,w){f=f>>>0,g=g>>>0,w||ge(f,g,this.length);let I=g,W=1,ce=this[f+--I];for(;I>0&&(W*=256);)ce+=this[f+--I]*W;return W*=128,ce>=W&&(ce-=Math.pow(2,8*g)),ce},a.prototype.readInt8=function(f,g){return f=f>>>0,g||ge(f,1,this.length),this[f]&128?(255-this[f]+1)*-1:this[f]},a.prototype.readInt16LE=function(f,g){f=f>>>0,g||ge(f,2,this.length);const w=this[f]|this[f+1]<<8;return w&32768?w|4294901760:w},a.prototype.readInt16BE=function(f,g){f=f>>>0,g||ge(f,2,this.length);const w=this[f+1]|this[f]<<8;return w&32768?w|4294901760:w},a.prototype.readInt32LE=function(f,g){return f=f>>>0,g||ge(f,4,this.length),this[f]|this[f+1]<<8|this[f+2]<<16|this[f+3]<<24},a.prototype.readInt32BE=function(f,g){return f=f>>>0,g||ge(f,4,this.length),this[f]<<24|this[f+1]<<16|this[f+2]<<8|this[f+3]},a.prototype.readBigInt64LE=le(function(f){f=f>>>0,v(f,"offset");const g=this[f],w=this[f+7];(g===void 0||w===void 0)&&S(f,this.length-8);const I=this[f+4]+this[f+5]*2**8+this[f+6]*2**16+(w<<24);return(BigInt(I)<>>0,v(f,"offset");const g=this[f],w=this[f+7];(g===void 0||w===void 0)&&S(f,this.length-8);const I=(g<<24)+this[++f]*2**16+this[++f]*2**8+this[++f];return(BigInt(I)<>>0,g||ge(f,4,this.length),r.read(this,f,!0,23,4)},a.prototype.readFloatBE=function(f,g){return f=f>>>0,g||ge(f,4,this.length),r.read(this,f,!1,23,4)},a.prototype.readDoubleLE=function(f,g){return f=f>>>0,g||ge(f,8,this.length),r.read(this,f,!0,52,8)},a.prototype.readDoubleBE=function(f,g){return f=f>>>0,g||ge(f,8,this.length),r.read(this,f,!1,52,8)};function O(h,f,g,w,I,W){if(!a.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(f>I||fh.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(f,g,w,I){if(f=+f,g=g>>>0,w=w>>>0,!I){const xe=Math.pow(2,8*w)-1;O(this,f,g,w,xe,0)}let W=1,ce=0;for(this[g]=f&255;++ce>>0,w=w>>>0,!I){const xe=Math.pow(2,8*w)-1;O(this,f,g,w,xe,0)}let W=w-1,ce=1;for(this[g+W]=f&255;--W>=0&&(ce*=256);)this[g+W]=f/ce&255;return g+w},a.prototype.writeUint8=a.prototype.writeUInt8=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,1,255,0),this[g]=f&255,g+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,2,65535,0),this[g]=f&255,this[g+1]=f>>>8,g+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,2,65535,0),this[g]=f>>>8,this[g+1]=f&255,g+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,4,4294967295,0),this[g+3]=f>>>24,this[g+2]=f>>>16,this[g+1]=f>>>8,this[g]=f&255,g+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,4,4294967295,0),this[g]=f>>>24,this[g+1]=f>>>16,this[g+2]=f>>>8,this[g+3]=f&255,g+4};function ie(h,f,g,w,I){ee(f,w,I,h,g,7);let W=Number(f&BigInt(4294967295));h[g++]=W,W=W>>8,h[g++]=W,W=W>>8,h[g++]=W,W=W>>8,h[g++]=W;let ce=Number(f>>BigInt(32)&BigInt(4294967295));return h[g++]=ce,ce=ce>>8,h[g++]=ce,ce=ce>>8,h[g++]=ce,ce=ce>>8,h[g++]=ce,g}function me(h,f,g,w,I){ee(f,w,I,h,g,7);let W=Number(f&BigInt(4294967295));h[g+7]=W,W=W>>8,h[g+6]=W,W=W>>8,h[g+5]=W,W=W>>8,h[g+4]=W;let ce=Number(f>>BigInt(32)&BigInt(4294967295));return h[g+3]=ce,ce=ce>>8,h[g+2]=ce,ce=ce>>8,h[g+1]=ce,ce=ce>>8,h[g]=ce,g+8}a.prototype.writeBigUInt64LE=le(function(f,g=0){return ie(this,f,g,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=le(function(f,g=0){return me(this,f,g,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(f,g,w,I){if(f=+f,g=g>>>0,!I){const ke=Math.pow(2,8*w-1);O(this,f,g,w,ke-1,-ke)}let W=0,ce=1,xe=0;for(this[g]=f&255;++W>0)-xe&255;return g+w},a.prototype.writeIntBE=function(f,g,w,I){if(f=+f,g=g>>>0,!I){const ke=Math.pow(2,8*w-1);O(this,f,g,w,ke-1,-ke)}let W=w-1,ce=1,xe=0;for(this[g+W]=f&255;--W>=0&&(ce*=256);)f<0&&xe===0&&this[g+W+1]!==0&&(xe=1),this[g+W]=(f/ce>>0)-xe&255;return g+w},a.prototype.writeInt8=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,1,127,-128),f<0&&(f=255+f+1),this[g]=f&255,g+1},a.prototype.writeInt16LE=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,2,32767,-32768),this[g]=f&255,this[g+1]=f>>>8,g+2},a.prototype.writeInt16BE=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,2,32767,-32768),this[g]=f>>>8,this[g+1]=f&255,g+2},a.prototype.writeInt32LE=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,4,2147483647,-2147483648),this[g]=f&255,this[g+1]=f>>>8,this[g+2]=f>>>16,this[g+3]=f>>>24,g+4},a.prototype.writeInt32BE=function(f,g,w){return f=+f,g=g>>>0,w||O(this,f,g,4,2147483647,-2147483648),f<0&&(f=4294967295+f+1),this[g]=f>>>24,this[g+1]=f>>>16,this[g+2]=f>>>8,this[g+3]=f&255,g+4},a.prototype.writeBigInt64LE=le(function(f,g=0){return ie(this,f,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=le(function(f,g=0){return me(this,f,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ve(h,f,g,w,I,W){if(g+w>h.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("Index out of range")}function ye(h,f,g,w,I){return f=+f,g=g>>>0,I||ve(h,f,g,4),r.write(h,f,g,w,23,4),g+4}a.prototype.writeFloatLE=function(f,g,w){return ye(this,f,g,!0,w)},a.prototype.writeFloatBE=function(f,g,w){return ye(this,f,g,!1,w)};function V(h,f,g,w,I){return f=+f,g=g>>>0,I||ve(h,f,g,8),r.write(h,f,g,w,52,8),g+8}a.prototype.writeDoubleLE=function(f,g,w){return V(this,f,g,!0,w)},a.prototype.writeDoubleBE=function(f,g,w){return V(this,f,g,!1,w)},a.prototype.copy=function(f,g,w,I){if(!a.isBuffer(f))throw new TypeError("argument should be a Buffer");if(w||(w=0),!I&&I!==0&&(I=this.length),g>=f.length&&(g=f.length),g||(g=0),I>0&&I=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),f.length-g>>0,w=w===void 0?this.length:w>>>0,f||(f=0);let W;if(typeof f=="number")for(W=g;W2**32?I=he(String(g)):typeof g=="bigint"&&(I=String(g),(g>BigInt(2)**BigInt(32)||g<-(BigInt(2)**BigInt(32)))&&(I=he(I)),I+="n"),w+=` It must be ${f}. Received ${I}`,w},RangeError);function he(h){let f="",g=h.length;const w=h[0]==="-"?1:0;for(;g>=w+4;g-=3)f=`_${h.slice(g-3,g)}${f}`;return`${h.slice(0,g)}${f}`}function fe(h,f,g){v(f,"offset"),(h[f]===void 0||h[f+g]===void 0)&&S(f,h.length-(g+1))}function ee(h,f,g,w,I,W){if(h>g||h= 0${ce} and < 2${ce} ** ${(W+1)*8}${ce}`:xe=`>= -(2${ce} ** ${(W+1)*8-1}${ce}) and < 2 ** ${(W+1)*8-1}${ce}`,new F.ERR_OUT_OF_RANGE("value",xe,h)}fe(w,I,W)}function v(h,f){if(typeof h!="number")throw new F.ERR_INVALID_ARG_TYPE(f,"number",h)}function S(h,f,g){throw Math.floor(h)!==h?(v(h,g),new F.ERR_OUT_OF_RANGE("offset","an integer",h)):f<0?new F.ERR_BUFFER_OUT_OF_BOUNDS:new F.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${f}`,h)}const E=/[^+/0-9A-Za-z-_]/g;function N(h){if(h=h.split("=")[0],h=h.trim().replace(E,""),h.length<2)return"";for(;h.length%4!==0;)h=h+"=";return h}function P(h,f){f=f||1/0;let g;const w=h.length;let I=null;const W=[];for(let ce=0;ce55295&&g<57344){if(!I){if(g>56319){(f-=3)>-1&&W.push(239,191,189);continue}else if(ce+1===w){(f-=3)>-1&&W.push(239,191,189);continue}I=g;continue}if(g<56320){(f-=3)>-1&&W.push(239,191,189),I=g;continue}g=(I-55296<<10|g-56320)+65536}else I&&(f-=3)>-1&&W.push(239,191,189);if(I=null,g<128){if((f-=1)<0)break;W.push(g)}else if(g<2048){if((f-=2)<0)break;W.push(g>>6|192,g&63|128)}else if(g<65536){if((f-=3)<0)break;W.push(g>>12|224,g>>6&63|128,g&63|128)}else if(g<1114112){if((f-=4)<0)break;W.push(g>>18|240,g>>12&63|128,g>>6&63|128,g&63|128)}else throw new Error("Invalid code point")}return W}function J(h){const f=[];for(let g=0;g>8,I=g%256,W.push(I),W.push(w);return W}function U(h){return t.toByteArray(N(h))}function q(h,f,g,w){let I;for(I=0;I=f.length||I>=h.length);++I)f[I+g]=h[I];return I}function x(h,f){return h instanceof f||h!=null&&h.constructor!=null&&h.constructor.name!=null&&h.constructor.name===f.name}function K(h){return h!==h}const Y=function(){const h="0123456789abcdef",f=new Array(256);for(let g=0;g<16;++g){const w=g*16;for(let I=0;I<16;++I)f[w+I]=h[g]+h[I]}return f}();function le(h){return typeof BigInt>"u"?y:h}function y(){throw new Error("BigInt not supported")}})(Zt);var st={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,r){return e.slice(t,r)},Error,FunctionPrototypeCall(e,t,...r){return e.call(t,...r)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,r){return e.then(t,r)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,r){return e.set(t,r)},Boolean,Uint8Array},kv={exports:{}},cs={exports:{}},t0;function $s(){if(t0)return cs.exports;t0=1;const{AbortController:e,AbortSignal:t}=typeof self<"u"?self:typeof window<"u"?window:void 0;return cs.exports=e,cs.exports.AbortSignal=t,cs.exports.default=e,cs.exports}var _p={exports:{}},To=typeof Reflect=="object"?Reflect:null,r0=To&&typeof To.apply=="function"?To.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},Ga;To&&typeof To.ownKeys=="function"?Ga=To.ownKeys:Object.getOwnPropertySymbols?Ga=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Ga=function(t){return Object.getOwnPropertyNames(t)};function iM(e){console&&console.warn&&console.warn(e)}var Mv=Number.isNaN||function(t){return t!==t};function Ye(){Ye.init.call(this)}_p.exports=Ye;_p.exports.once=lM;Ye.EventEmitter=Ye;Ye.prototype._events=void 0;Ye.prototype._eventsCount=0;Ye.prototype._maxListeners=void 0;var n0=10;function fu(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Ye,"defaultMaxListeners",{enumerable:!0,get:function(){return n0},set:function(e){if(typeof e!="number"||e<0||Mv(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");n0=e}});Ye.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Ye.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||Mv(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function Nv(e){return e._maxListeners===void 0?Ye.defaultMaxListeners:e._maxListeners}Ye.prototype.getMaxListeners=function(){return Nv(this)};Ye.prototype.emit=function(t){for(var r=[],n=1;n0&&(s=r[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[t];if(l===void 0)return!1;if(typeof l=="function")r0(l,this,r);else for(var u=l.length,c=$v(l,u),n=0;n0&&s.length>o&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,iM(a)}return e}Ye.prototype.addListener=function(t,r){return Pv(this,t,r,!1)};Ye.prototype.on=Ye.prototype.addListener;Ye.prototype.prependListener=function(t,r){return Pv(this,t,r,!0)};function oM(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Lv(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=oM.bind(n);return o.listener=r,n.wrapFn=o,o}Ye.prototype.once=function(t,r){return fu(r),this.on(t,Lv(this,t,r)),this};Ye.prototype.prependOnceListener=function(t,r){return fu(r),this.prependListener(t,Lv(this,t,r)),this};Ye.prototype.removeListener=function(t,r){var n,o,i,s,a;if(fu(r),o=this._events,o===void 0)return this;if(n=o[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===r||n[s].listener===r){a=n[s].listener,i=s;break}if(i<0)return this;i===0?n.shift():sM(n,i),n.length===1&&(o[t]=n[0]),o.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};Ye.prototype.off=Ye.prototype.removeListener;Ye.prototype.removeAllListeners=function(t){var r,n,o;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),s;for(o=0;o=0;o--)this.removeListener(t,r[o]);return this};function Dv(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?aM(o):$v(o,o.length)}Ye.prototype.listeners=function(t){return Dv(this,t,!0)};Ye.prototype.rawListeners=function(t){return Dv(this,t,!1)};Ye.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Bv.call(e,t)};Ye.prototype.listenerCount=Bv;function Bv(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Ye.prototype.eventNames=function(){return this._eventsCount>0?Ga(this._events):[]};function $v(e,t){for(var r=new Array(t),n=0;n{if(p!==void 0&&(p===null||typeof p!="object"||!("aborted"in p)))throw new ERR_INVALID_ARG_TYPE(m,"AbortSignal",p)},c=(p,m)=>{if(typeof p!="function")throw new ERR_INVALID_ARG_TYPE(m,"Function",p)};class d extends Error{constructor(m){if(!Array.isArray(m))throw new TypeError(`Expected input to be an Array, got ${typeof m}`);let _="";for(let b=0;b{p=b,m=T}),resolve:p,reject:m}},promisify(p){return new Promise((m,_)=>{p((b,...T)=>b?_(b):m(...T))})},debuglog(){return function(){}},format(p,...m){return p.replace(/%([sdifj])/g,function(...[_,b]){const T=m.shift();return b==="f"?T.toFixed(6):b==="j"?JSON.stringify(T):b==="s"&&typeof T=="object"?`${T.constructor!==Object?T.constructor.name:""} {}`.trim():T.toString()})},inspect(p){switch(typeof p){case"string":if(p.includes("'"))if(p.includes('"')){if(!p.includes("`")&&!p.includes("${"))return`\`${p}\``}else return`"${p}"`;return`'${p}'`;case"number":return isNaN(p)?"NaN":Object.is(p,-0)?String(p):p;case"bigint":return`${String(p)}n`;case"boolean":case"undefined":return String(p);case"object":return"{}"}},types:{isAsyncFunction(p){return p instanceof s},isArrayBufferView(p){return ArrayBuffer.isView(p)}},isBlob:l,deprecate(p,m){return p},addAbortListener:hu.addAbortListener||function(m,_){if(m===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",m);u(m,"signal"),c(_,"listener");let b;return m.aborted?queueMicrotask(()=>_()):(m.addEventListener("abort",_,{__proto__:null,once:!0,[r]:!0}),b=()=>{m.removeEventListener("abort",_)}),{__proto__:null,[n](){var T;(T=b)===null||T===void 0||T()}}},AbortSignalAny:o.any||function(m){if(m.length===1)return m[0];const _=new i,b=()=>_.abort();return m.forEach(T=>{u(T,"signals"),T.addEventListener("abort",b,{once:!0})}),_.signal.addEventListener("abort",()=>{m.forEach(T=>T.removeEventListener("abort",b))},{once:!0}),_.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(kv);var Dt=kv.exports,bp={};const{format:cM,inspect:vl,AggregateError:fM}=Dt,hM=globalThis.AggregateError||fM,dM=Symbol("kIsNodeError"),pM=["string","function","number","object","Function","Object","boolean","bigint","symbol"],gM=/^([A-Z][a-z0-9]*)+$/,mM="__node_internal_",du={};function Ii(e,t){if(!e)throw new du.ERR_INTERNAL_ASSERTION(t)}function i0(e){let t="",r=e.length;const n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function yM(e,t,r){if(typeof t=="function")return Ii(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const n=(t.match(/%[dfijoOs]/g)||[]).length;return Ii(n===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?t:cM(t,...r)}function vt(e,t,r){r||(r=Error);class n extends r{constructor(...i){super(yM(e,t,i))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=e,n.prototype[dM]=!0,du[e]=n}function o0(e){const t=mM+e.name;return Object.defineProperty(e,"name",{value:t}),e}function _M(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new hM([t,e],t.message);return r.code=t.code,r}return e||t}let bM=class extends Error{constructor(t="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new du.ERR_INVALID_ARG_TYPE("options","Object",r);super(t,r),this.code="ABORT_ERR",this.name="AbortError"}};vt("ERR_ASSERTION","%s",Error);vt("ERR_INVALID_ARG_TYPE",(e,t,r)=>{Ii(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const o=[],i=[],s=[];for(const l of t)Ii(typeof l=="string","All expected entries have to be of type string"),pM.includes(l)?o.push(l.toLowerCase()):gM.test(l)?i.push(l):(Ii(l!=="object",'The value "object" should be written as "Object"'),s.push(l));if(i.length>0){const l=o.indexOf("object");l!==-1&&(o.splice(o,l,1),i.push("Object"))}if(o.length>0){switch(o.length){case 1:n+=`of type ${o[0]}`;break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const l=o.pop();n+=`one of type ${o.join(", ")}, or ${l}`}}(i.length>0||s.length>0)&&(n+=" or ")}if(i.length>0){switch(i.length){case 1:n+=`an instance of ${i[0]}`;break;case 2:n+=`an instance of ${i[0]} or ${i[1]}`;break;default:{const l=i.pop();n+=`an instance of ${i.join(", ")}, or ${l}`}}s.length>0&&(n+=" or ")}switch(s.length){case 0:break;case 1:s[0].toLowerCase()!==s[0]&&(n+="an "),n+=`${s[0]}`;break;case 2:n+=`one of ${s[0]} or ${s[1]}`;break;default:{const l=s.pop();n+=`one of ${s.join(", ")}, or ${l}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var a;if((a=r.constructor)!==null&&a!==void 0&&a.name)n+=`. Received an instance of ${r.constructor.name}`;else{const l=vl(r,{depth:-1});n+=`. Received ${l}`}}else{let l=vl(r,{colors:!1});l.length>25&&(l=`${l.slice(0,25)}...`),n+=`. Received type ${typeof r} (${l})`}return n},TypeError);vt("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=vl(t);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);vt("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var n;const o=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${e} to be returned from the "${t}" function but got ${o}.`},TypeError);vt("ERR_MISSING_ARGS",(...e)=>{Ii(e.length>0,"At least one arg needs to be specified");let t;const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(n=>`"${n}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const n=e.pop();t+=`The ${e.join(", ")}, and ${n} arguments`}break}return`${t} must be specified`},TypeError);vt("ERR_OUT_OF_RANGE",(e,t,r)=>{Ii(t,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=i0(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=i0(n)),n+="n"):n=vl(r),`The value of "${e}" is out of range. It must be ${t}. Received ${n}`},RangeError);vt("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);vt("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);vt("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);vt("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);vt("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);vt("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);vt("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);vt("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);vt("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);vt("ERR_STREAM_WRITE_AFTER_END","write after end",Error);vt("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var Wt={AbortError:bM,aggregateTwoErrors:o0(_M),hideStackFrames:o0,codes:du};const{ArrayIsArray:wp,ArrayPrototypeIncludes:Fv,ArrayPrototypeJoin:jv,ArrayPrototypeMap:wM,NumberIsInteger:vp,NumberIsNaN:vM,NumberMAX_SAFE_INTEGER:EM,NumberMIN_SAFE_INTEGER:SM,NumberParseInt:AM,ObjectPrototypeHasOwnProperty:TM,RegExpPrototypeExec:Wv,String:xM,StringPrototypeToUpperCase:IM,StringPrototypeTrim:CM}=st,{hideStackFrames:cr,codes:{ERR_SOCKET_BAD_PORT:RM,ERR_INVALID_ARG_TYPE:Ot,ERR_INVALID_ARG_VALUE:Xo,ERR_OUT_OF_RANGE:Ni,ERR_UNKNOWN_SIGNAL:s0}}=Wt,{normalizeEncoding:OM}=Dt,{isAsyncFunction:kM,isArrayBufferView:MM}=Dt.types,a0={};function NM(e){return e===(e|0)}function PM(e){return e===e>>>0}const LM=/^[0-7]+$/,DM="must be a 32-bit unsigned integer or an octal string";function BM(e,t,r){if(typeof e>"u"&&(e=r),typeof e=="string"){if(Wv(LM,e)===null)throw new Xo(t,e,DM);e=AM(e,8)}return Hv(e,t),e}const $M=cr((e,t,r=SM,n=EM)=>{if(typeof e!="number")throw new Ot(t,"number",e);if(!vp(e))throw new Ni(t,"an integer",e);if(en)throw new Ni(t,`>= ${r} && <= ${n}`,e)}),UM=cr((e,t,r=-2147483648,n=2147483647)=>{if(typeof e!="number")throw new Ot(t,"number",e);if(!vp(e))throw new Ni(t,"an integer",e);if(en)throw new Ni(t,`>= ${r} && <= ${n}`,e)}),Hv=cr((e,t,r=!1)=>{if(typeof e!="number")throw new Ot(t,"number",e);if(!vp(e))throw new Ni(t,"an integer",e);const n=r?1:0,o=4294967295;if(eo)throw new Ni(t,`>= ${n} && <= ${o}`,e)});function Ep(e,t){if(typeof e!="string")throw new Ot(t,"string",e)}function FM(e,t,r=void 0,n){if(typeof e!="number")throw new Ot(t,"number",e);if(r!=null&&en||(r!=null||n!=null)&&vM(e))throw new Ni(t,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,e)}const jM=cr((e,t,r)=>{if(!Fv(r,e)){const o="must be one of: "+jv(wM(r,i=>typeof i=="string"?`'${i}'`:xM(i)),", ");throw new Xo(t,e,o)}});function Vv(e,t){if(typeof e!="boolean")throw new Ot(t,"boolean",e)}function Sc(e,t,r){return e==null||!TM(e,t)?r:e[t]}const WM=cr((e,t,r=null)=>{const n=Sc(r,"allowArray",!1),o=Sc(r,"allowFunction",!1);if(!Sc(r,"nullable",!1)&&e===null||!n&&wp(e)||typeof e!="object"&&(!o||typeof e!="function"))throw new Ot(t,"Object",e)}),HM=cr((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new Ot(t,"a dictionary",e)}),pu=cr((e,t,r=0)=>{if(!wp(e))throw new Ot(t,"Array",e);if(e.length{if(!MM(e))throw new Ot(t,["Buffer","TypedArray","DataView"],e)});function GM(e,t){const r=OM(t),n=e.length;if(r==="hex"&&n%2!==0)throw new Xo("encoding",t,`is invalid for data of length ${n}`)}function QM(e,t="Port",r=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&CM(e).length===0||+e!==+e>>>0||e>65535||e===0&&!r)throw new RM(t,e,r);return e|0}const qv=cr((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new Ot(t,"AbortSignal",e)}),XM=cr((e,t)=>{if(typeof e!="function")throw new Ot(t,"Function",e)}),JM=cr((e,t)=>{if(typeof e!="function"||kM(e))throw new Ot(t,"Function",e)}),ZM=cr((e,t)=>{if(e!==void 0)throw new Ot(t,"undefined",e)});function eN(e,t,r){if(!Fv(r,e))throw new Ot(t,`('${jv(r,"|")}')`,e)}const tN=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function l0(e,t){if(typeof e>"u"||!Wv(tN,e))throw new Xo(t,e,'must be an array or string of format "; rel=preload; as=style"')}function rN(e){if(typeof e=="string")return l0(e,"hints"),e;if(wp(e)){const t=e.length;let r="";if(t===0)return r;for(let n=0;n; rel=preload; as=style"')}var Xs={isInt32:NM,isUint32:PM,parseFileMode:BM,validateArray:pu,validateStringArray:VM,validateBooleanArray:qM,validateAbortSignalArray:KM,validateBoolean:Vv,validateBuffer:zM,validateDictionary:HM,validateEncoding:GM,validateFunction:XM,validateInt32:UM,validateInteger:$M,validateNumber:FM,validateObject:WM,validateOneOf:jM,validatePlainFunction:JM,validatePort:QM,validateSignalName:YM,validateString:Ep,validateUint32:Hv,validateUndefined:ZM,validateUnion:eN,validateAbortSignal:qv,validateLinkHeaderValue:rN},Sp={exports:{}},Kv={exports:{}},lt=Kv.exports={},Ir,Cr;function Fh(){throw new Error("setTimeout has not been defined")}function jh(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ir=setTimeout:Ir=Fh}catch{Ir=Fh}try{typeof clearTimeout=="function"?Cr=clearTimeout:Cr=jh}catch{Cr=jh}})();function Yv(e){if(Ir===setTimeout)return setTimeout(e,0);if((Ir===Fh||!Ir)&&setTimeout)return Ir=setTimeout,setTimeout(e,0);try{return Ir(e,0)}catch{try{return Ir.call(null,e,0)}catch{return Ir.call(this,e,0)}}}function nN(e){if(Cr===clearTimeout)return clearTimeout(e);if((Cr===jh||!Cr)&&clearTimeout)return Cr=clearTimeout,clearTimeout(e);try{return Cr(e)}catch{try{return Cr.call(null,e)}catch{return Cr.call(this,e)}}}var nn=[],xo=!1,bi,Qa=-1;function iN(){!xo||!bi||(xo=!1,bi.length?nn=bi.concat(nn):Qa=-1,nn.length&&zv())}function zv(){if(!xo){var e=Yv(iN);xo=!0;for(var t=nn.length;t;){for(bi=nn,nn=[];++Qa1)for(var r=1;r{};function c1(e,t,r){var n,o;if(arguments.length===2?(r=t,t=Vh):t==null?t=Vh:AN(t,"options"),SN(r,"callback"),EN(t.signal,"options.signal"),r=qh(r),RN(e)||ON(e))return LN(e,t,r);if(!kN(e))throw new vN("stream",["ReadableStream","WritableStream","Stream"],e);const i=(n=t.readable)!==null&&n!==void 0?n:Ac(e),s=(o=t.writable)!==null&&o!==void 0?o:m0(e),a=e._writableState,l=e._readableState,u=()=>{e.writable||p()};let c=MN(e)&&Ac(e)===i&&m0(e)===s,d=y0(e,!1);const p=()=>{d=!0,e.destroyed&&(c=!1),!(c&&(!e.readable||i))&&(!i||m)&&r.call(e)};let m=d0(e,!1);const _=()=>{m=!0,e.destroyed&&(c=!1),!(c&&(!e.writable||s))&&(!s||d)&&r.call(e)},b=$=>{r.call(e,$)};let T=CN(e);const k=()=>{T=!0;const $=_0(e)||p0(e);if($&&typeof $!="boolean")return r.call(e,$);if(i&&!m&&Ac(e,!0)&&!d0(e,!1))return r.call(e,new f0);if(s&&!d&&!y0(e,!1))return r.call(e,new f0);r.call(e)},C=()=>{T=!0;const $=_0(e)||p0(e);if($&&typeof $!="boolean")return r.call(e,$);r.call(e)},A=()=>{e.req.on("finish",p)};PN(e)?(e.on("complete",p),c||e.on("abort",k),e.req?A():e.on("request",A)):s&&!a&&(e.on("end",u),e.on("close",u)),!c&&typeof e.aborted=="boolean"&&e.on("aborted",k),e.on("end",_),e.on("finish",p),t.error!==!1&&e.on("error",b),e.on("close",k),T?Bn.nextTick(k):a!=null&&a.errorEmitted||l!=null&&l.errorEmitted?c||Bn.nextTick(C):(!i&&(!c||h0(e))&&(d||g0(e)===!1)||!s&&(!c||g0(e))&&(m||h0(e)===!1)||l&&e.req&&e.aborted)&&Bn.nextTick(C);const M=()=>{r=Kh,e.removeListener("aborted",k),e.removeListener("complete",p),e.removeListener("abort",k),e.removeListener("request",A),e.req&&e.req.removeListener("finish",p),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",p),e.removeListener("end",_),e.removeListener("error",b),e.removeListener("close",k)};if(t.signal&&!T){const $=()=>{const R=r;M(),R.call(e,new l1(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)Bn.nextTick($);else{Io=Io||Dt.addAbortListener;const R=Io(t.signal,$),D=r;r=qh((...j)=>{R[u1](),D.apply(e,j)})}}return M}function LN(e,t,r){let n=!1,o=Kh;if(t.signal)if(o=()=>{n=!0,r.call(e,new l1(void 0,{cause:t.signal.reason}))},t.signal.aborted)Bn.nextTick(o);else{Io=Io||Dt.addAbortListener;const s=Io(t.signal,o),a=r;r=qh((...l)=>{s[u1](),a.apply(e,l)})}const i=(...s)=>{n||Bn.nextTick(()=>r.apply(e,s))};return IN(e[NN].promise,i,i),Kh}function DN(e,t){var r;let n=!1;return t===null&&(t=Vh),(r=t)!==null&&r!==void 0&&r.cleanup&&(TN(t.cleanup,"cleanup"),n=t.cleanup),new xN((o,i)=>{const s=c1(e,t,a=>{n&&s(),a?i(a):o()})})}Sp.exports=c1;Sp.exports.finished=DN;var Qn=Sp.exports;const Dr=Vi,{aggregateTwoErrors:BN,codes:{ERR_MULTIPLE_CALLBACK:$N},AbortError:UN}=Wt,{Symbol:f1}=st,{kIsDestroyed:FN,isDestroyed:jN,isFinished:WN,isServerRequest:HN}=xn,h1=f1("kDestroy"),Yh=f1("kConstruct");function d1(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function VN(e,t){const r=this._readableState,n=this._writableState,o=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof t=="function"&&t(),this):(d1(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?b0(this,e,t):this.once(h1,function(i){b0(this,BN(i,e),t)}),this)}function b0(e,t,r){let n=!1;function o(i){if(n)return;n=!0;const s=e._readableState,a=e._writableState;d1(i,a,s),a&&(a.closed=!0),s&&(s.closed=!0),typeof r=="function"&&r(i),i?Dr.nextTick(qN,e,i):Dr.nextTick(p1,e)}try{e._destroy(t||null,o)}catch(i){o(i)}}function qN(e,t){zh(e,t),p1(e)}function p1(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(r!=null&&r.emitClose||t!=null&&t.emitClose)&&e.emit("close")}function zh(e,t){const r=e._readableState,n=e._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function KN(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=e.readable===!1,e.endEmitted=e.readable===!1),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=t.writable===!1,t.ending=t.writable===!1,t.finished=t.writable===!1)}function Gh(e,t,r){const n=e._readableState,o=e._writableState;if(o!=null&&o.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||o!=null&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),n&&!n.errored&&(n.errored=t),r?Dr.nextTick(zh,e,t):zh(e,t))}function YN(e,t){if(typeof e._construct!="function")return;const r=e._readableState,n=e._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),e.once(Yh,t),!(e.listenerCount(Yh)>1)&&Dr.nextTick(zN,e)}function zN(e){let t=!1;function r(n){if(t){Gh(e,n??new $N);return}t=!0;const o=e._readableState,i=e._writableState,s=i||o;o&&(o.constructed=!0),i&&(i.constructed=!0),s.destroyed?e.emit(h1,n):n?Gh(e,n,!0):Dr.nextTick(GN,e)}try{e._construct(n=>{Dr.nextTick(r,n)})}catch(n){Dr.nextTick(r,n)}}function GN(e){e.emit(Yh)}function w0(e){return(e==null?void 0:e.setHeader)&&typeof e.abort=="function"}function g1(e){e.emit("close")}function QN(e,t){e.emit("error",t),Dr.nextTick(g1,e)}function XN(e,t){!e||jN(e)||(!t&&!WN(e)&&(t=new UN),HN(e)?(e.socket=null,e.destroy(t)):w0(e)?e.abort():w0(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?Dr.nextTick(QN,e,t):Dr.nextTick(g1,e),e.destroyed||(e[FN]=!0))}var Jo={construct:YN,destroyer:XN,destroy:VN,undestroy:KN,errorOrDestroy:Gh};const{ArrayIsArray:JN,ObjectSetPrototypeOf:m1}=st,{EventEmitter:_u}=hu;function bu(e){_u.call(this,e)}m1(bu.prototype,_u.prototype);m1(bu,_u);bu.prototype.pipe=function(e,t){const r=this;function n(c){e.writable&&e.write(c)===!1&&r.pause&&r.pause()}r.on("data",n);function o(){r.readable&&r.resume&&r.resume()}e.on("drain",o),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",s),r.on("close",a));let i=!1;function s(){i||(i=!0,e.end())}function a(){i||(i=!0,typeof e.destroy=="function"&&e.destroy())}function l(c){u(),_u.listenerCount(this,"error")===0&&this.emit("error",c)}Qh(r,"error",l),Qh(e,"error",l);function u(){r.removeListener("data",n),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",a),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e};function Qh(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):JN(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}var Ap={Stream:bu,prependListener:Qh},y1={exports:{}};(function(e){const{SymbolDispose:t}=st,{AbortError:r,codes:n}=Wt,{isNodeStream:o,isWebStream:i,kControllerErrorFunction:s}=xn,a=Qn,{ERR_INVALID_ARG_TYPE:l}=n;let u;const c=(d,p)=>{if(typeof d!="object"||!("aborted"in d))throw new l(p,"AbortSignal",d)};e.exports.addAbortSignal=function(p,m){if(c(p,"signal"),!o(m)&&!i(m))throw new l("stream",["ReadableStream","WritableStream","Stream"],m);return e.exports.addAbortSignalNoValidate(p,m)},e.exports.addAbortSignalNoValidate=function(d,p){if(typeof d!="object"||!("aborted"in d))return p;const m=o(p)?()=>{p.destroy(new r(void 0,{cause:d.reason}))}:()=>{p[s](new r(void 0,{cause:d.reason}))};if(d.aborted)m();else{u=u||Dt.addAbortListener;const _=u(d,m);a(p,_[t])}return p}})(y1);var wu=y1.exports;const{StringPrototypeSlice:v0,SymbolIterator:ZN,TypedArrayPrototypeSet:Aa,Uint8Array:e2}=st,{Buffer:Tc}=Zt,{inspect:t2}=Dt;var r2=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(t){const r={data:t,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;const t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=t+r.data;return n}concat(t){if(this.length===0)return Tc.alloc(0);const r=Tc.allocUnsafe(t>>>0);let n=this.head,o=0;for(;n;)Aa(r,n.data,o),o+=n.data.length,n=n.next;return r}consume(t,r){const n=this.head.data;if(ti.length)r+=i,t-=i.length;else{t===i.length?(r+=i,++o,n.next?this.head=n.next:this.head=this.tail=null):(r+=v0(i,0,t),this.head=n,n.data=v0(i,t));break}++o}while((n=n.next)!==null);return this.length-=o,r}_getBuffer(t){const r=Tc.allocUnsafe(t),n=t;let o=this.head,i=0;do{const s=o.data;if(t>s.length)Aa(r,s,n-t),t-=s.length;else{t===s.length?(Aa(r,s,n-t),++i,o.next?this.head=o.next:this.head=this.tail=null):(Aa(r,new e2(s.buffer,s.byteOffset,t),n-t),this.head=o,o.data=s.slice(t));break}++i}while((o=o.next)!==null);return this.length-=i,r}[Symbol.for("nodejs.util.inspect.custom")](t,r){return t2(this,{...r,depth:0,customInspect:!1})}};const{MathFloor:n2,NumberIsInteger:i2}=st,{validateInteger:o2}=Xs,{ERR_INVALID_ARG_VALUE:s2}=Wt.codes;let _1=16*1024,b1=16;function a2(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function w1(e){return e?b1:_1}function l2(e,t){o2(t,"value",0),e?b1=t:_1=t}function u2(e,t,r,n){const o=a2(t,n,r);if(o!=null){if(!i2(o)||o<0){const i=n?`options.${r}`:"options.highWaterMark";throw new s2(i,o)}return n2(o)}return w1(e.objectMode)}var vu={getHighWaterMark:u2,getDefaultHighWaterMark:w1,setDefaultHighWaterMark:l2},v1={},Xh={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh */(function(e,t){var r=Zt,n=r.Buffer;function o(s,a){for(var l in s)a[l]=s[l]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=i);function i(s,a,l){return n(s,a,l)}i.prototype=Object.create(n.prototype),o(n,i),i.from=function(s,a,l){if(typeof s=="number")throw new TypeError("Argument must not be a number");return n(s,a,l)},i.alloc=function(s,a,l){if(typeof s!="number")throw new TypeError("Argument must be a number");var u=n(s);return a!==void 0?typeof l=="string"?u.fill(a,l):u.fill(a):u.fill(0),u},i.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return n(s)},i.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(s)}})(Xh,Xh.exports);var c2=Xh.exports,Tp=c2.Buffer,E0=Tp.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function f2(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function h2(e){var t=f2(e);if(typeof t!="string"&&(Tp.isEncoding===E0||!E0(e)))throw new Error("Unknown encoding: "+e);return t||e}v1.StringDecoder=Js;function Js(e){this.encoding=h2(e);var t;switch(this.encoding){case"utf16le":this.text=_2,this.end=b2,t=4;break;case"utf8":this.fillLast=g2,t=4;break;case"base64":this.text=w2,this.end=v2,t=3;break;default:this.write=E2,this.end=S2;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Tp.allocUnsafe(t)}Js.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function d2(e,t,r){var n=t.length-1;if(n=0?(o>0&&(e.lastNeed=o-1),o):--n=0?(o>0&&(e.lastNeed=o-2),o):--n=0?(o>0&&(o===2?o=0:e.lastNeed=o-3),o):0))}function p2(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function g2(e){var t=this.lastTotal-this.lastNeed,r=p2(this,e);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function m2(e,t){var r=d2(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function y2(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function _2(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function b2(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function w2(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function v2(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function E2(e){return e.toString(this.encoding)}function S2(e){return e&&e.length?this.write(e):""}const S0=Vi,{PromisePrototypeThen:A2,SymbolAsyncIterator:A0,SymbolIterator:T0}=st,{Buffer:T2}=Zt,{ERR_INVALID_ARG_TYPE:x2,ERR_STREAM_NULL_VALUES:I2}=Wt.codes;function C2(e,t,r){let n;if(typeof t=="string"||t instanceof T2)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});let o;if(t&&t[A0])o=!0,n=t[A0]();else if(t&&t[T0])o=!1,n=t[T0]();else throw new x2("iterable",["Iterable"],t);const i=new e({objectMode:!0,highWaterMark:1,...r});let s=!1;i._read=function(){s||(s=!0,l())},i._destroy=function(u,c){A2(a(u),()=>S0.nextTick(c,u),d=>S0.nextTick(c,d||u))};async function a(u){const c=u!=null,d=typeof n.throw=="function";if(c&&d){const{value:p,done:m}=await n.throw(u);if(await p,m)return}if(typeof n.return=="function"){const{value:p}=await n.return();await p}}async function l(){for(;;){try{const{value:u,done:c}=o?await n.next():n.next();if(c)i.push(null);else{const d=u&&typeof u.then=="function"?await u:u;if(d===null)throw s=!1,new I2;if(i.push(d))continue;s=!1}}catch(u){i.destroy(u)}break}}return i}var E1=C2,Ic,x0;function Eu(){if(x0)return Ic;x0=1;const e=Vi,{ArrayPrototypeIndexOf:t,NumberIsInteger:r,NumberIsNaN:n,NumberParseInt:o,ObjectDefineProperties:i,ObjectKeys:s,ObjectSetPrototypeOf:a,Promise:l,SafeSet:u,SymbolAsyncDispose:c,SymbolAsyncIterator:d,Symbol:p}=st;Ic=x,x.ReadableState=q;const{EventEmitter:m}=hu,{Stream:_,prependListener:b}=Ap,{Buffer:T}=Zt,{addAbortSignal:k}=wu,C=Qn;let A=Dt.debuglog("stream",H=>{A=H});const M=r2,$=Jo,{getHighWaterMark:R,getDefaultHighWaterMark:D}=vu,{aggregateTwoErrors:j,codes:{ERR_INVALID_ARG_TYPE:z,ERR_METHOD_NOT_IMPLEMENTED:se,ERR_OUT_OF_RANGE:re,ERR_STREAM_PUSH_AFTER_EOF:L,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:B},AbortError:oe}=Wt,{validateObject:ne}=Xs,ue=p("kPaused"),{StringDecoder:ae}=v1,G=E1;a(x.prototype,_.prototype),a(x,_);const pe=()=>{},{errorOrDestroy:de}=$,ge=1,O=2,ie=4,me=8,ve=16,ye=32,V=64,F=128,Z=256,he=512,fe=1024,ee=2048,v=4096,S=8192,E=16384,N=32768,P=65536,J=1<<17,te=1<<18;function U(H){return{enumerable:!1,get(){return(this.state&H)!==0},set(Q){Q?this.state|=H:this.state&=~H}}}i(q.prototype,{objectMode:U(ge),ended:U(O),endEmitted:U(ie),reading:U(me),constructed:U(ve),sync:U(ye),needReadable:U(V),emittedReadable:U(F),readableListening:U(Z),resumeScheduled:U(he),errorEmitted:U(fe),emitClose:U(ee),autoDestroy:U(v),destroyed:U(S),closed:U(E),closeEmitted:U(N),multiAwaitDrain:U(P),readingMore:U(J),dataEmitted:U(te)});function q(H,Q,Ie){typeof Ie!="boolean"&&(Ie=Q instanceof gn()),this.state=ee|v|ve|ye,H&&H.objectMode&&(this.state|=ge),Ie&&H&&H.readableObjectMode&&(this.state|=ge),this.highWaterMark=H?R(this,H,"readableHighWaterMark",Ie):D(!1),this.buffer=new M,this.length=0,this.pipes=[],this.flowing=null,this[ue]=null,H&&H.emitClose===!1&&(this.state&=~ee),H&&H.autoDestroy===!1&&(this.state&=~v),this.errored=null,this.defaultEncoding=H&&H.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,H&&H.encoding&&(this.decoder=new ae(H.encoding),this.encoding=H.encoding)}function x(H){if(!(this instanceof x))return new x(H);const Q=this instanceof gn();this._readableState=new q(H,this,Q),H&&(typeof H.read=="function"&&(this._read=H.read),typeof H.destroy=="function"&&(this._destroy=H.destroy),typeof H.construct=="function"&&(this._construct=H.construct),H.signal&&!Q&&k(H.signal,this)),_.call(this,H),$.construct(this,()=>{this._readableState.needReadable&&I(this,this._readableState)})}x.prototype.destroy=$.destroy,x.prototype._undestroy=$.undestroy,x.prototype._destroy=function(H,Q){Q(H)},x.prototype[m.captureRejectionSymbol]=function(H){this.destroy(H)},x.prototype[c]=function(){let H;return this.destroyed||(H=this.readableEnded?null:new oe,this.destroy(H)),new l((Q,Ie)=>C(this,Ce=>Ce&&Ce!==H?Ie(Ce):Q(null)))},x.prototype.push=function(H,Q){return K(this,H,Q,!1)},x.prototype.unshift=function(H,Q){return K(this,H,Q,!0)};function K(H,Q,Ie,Ce){A("readableAddChunk",Q);const Me=H._readableState;let Et;if(Me.state&ge||(typeof Q=="string"?(Ie=Ie||Me.defaultEncoding,Me.encoding!==Ie&&(Ce&&Me.encoding?Q=T.from(Q,Ie).toString(Me.encoding):(Q=T.from(Q,Ie),Ie=""))):Q instanceof T?Ie="":_._isUint8Array(Q)?(Q=_._uint8ArrayToBuffer(Q),Ie=""):Q!=null&&(Et=new z("chunk",["string","Buffer","Uint8Array"],Q))),Et)de(H,Et);else if(Q===null)Me.state&=~me,f(H,Me);else if(Me.state&ge||Q&&Q.length>0)if(Ce)if(Me.state&ie)de(H,new B);else{if(Me.destroyed||Me.errored)return!1;Y(H,Me,Q,!0)}else if(Me.ended)de(H,new L);else{if(Me.destroyed||Me.errored)return!1;Me.state&=~me,Me.decoder&&!Ie?(Q=Me.decoder.write(Q),Me.objectMode||Q.length!==0?Y(H,Me,Q,!1):I(H,Me)):Y(H,Me,Q,!1)}else Ce||(Me.state&=~me,I(H,Me));return!Me.ended&&(Me.length0?(Q.state&P?Q.awaitDrainWriters.clear():Q.awaitDrainWriters=null,Q.dataEmitted=!0,H.emit("data",Ie)):(Q.length+=Q.objectMode?1:Ie.length,Ce?Q.buffer.unshift(Ie):Q.buffer.push(Ie),Q.state&V&&g(H)),I(H,Q)}x.prototype.isPaused=function(){const H=this._readableState;return H[ue]===!0||H.flowing===!1},x.prototype.setEncoding=function(H){const Q=new ae(H);this._readableState.decoder=Q,this._readableState.encoding=this._readableState.decoder.encoding;const Ie=this._readableState.buffer;let Ce="";for(const Me of Ie)Ce+=Q.write(Me);return Ie.clear(),Ce!==""&&Ie.push(Ce),this._readableState.length=Ce.length,this};const le=1073741824;function y(H){if(H>le)throw new re("size","<= 1GiB",H);return H--,H|=H>>>1,H|=H>>>2,H|=H>>>4,H|=H>>>8,H|=H>>>16,H++,H}function h(H,Q){return H<=0||Q.length===0&&Q.ended?0:Q.state&ge?1:n(H)?Q.flowing&&Q.length?Q.buffer.first().length:Q.length:H<=Q.length?H:Q.ended?Q.length:0}x.prototype.read=function(H){A("read",H),H===void 0?H=NaN:r(H)||(H=o(H,10));const Q=this._readableState,Ie=H;if(H>Q.highWaterMark&&(Q.highWaterMark=y(H)),H!==0&&(Q.state&=~F),H===0&&Q.needReadable&&((Q.highWaterMark!==0?Q.length>=Q.highWaterMark:Q.length>0)||Q.ended))return A("read: emitReadable",Q.length,Q.ended),Q.length===0&&Q.ended?at(this):g(this),null;if(H=h(H,Q),H===0&&Q.ended)return Q.length===0&&at(this),null;let Ce=(Q.state&V)!==0;if(A("need readable",Ce),(Q.length===0||Q.length-H0?Me=Ze(H,Q):Me=null,Me===null?(Q.needReadable=Q.length<=Q.highWaterMark,H=0):(Q.length-=H,Q.multiAwaitDrain?Q.awaitDrainWriters.clear():Q.awaitDrainWriters=null),Q.length===0&&(Q.ended||(Q.needReadable=!0),Ie!==H&&Q.ended&&at(this)),Me!==null&&!Q.errorEmitted&&!Q.closeEmitted&&(Q.dataEmitted=!0,this.emit("data",Me)),Me};function f(H,Q){if(A("onEofChunk"),!Q.ended){if(Q.decoder){const Ie=Q.decoder.end();Ie&&Ie.length&&(Q.buffer.push(Ie),Q.length+=Q.objectMode?1:Ie.length)}Q.ended=!0,Q.sync?g(H):(Q.needReadable=!1,Q.emittedReadable=!0,w(H))}}function g(H){const Q=H._readableState;A("emitReadable",Q.needReadable,Q.emittedReadable),Q.needReadable=!1,Q.emittedReadable||(A("emitReadable",Q.flowing),Q.emittedReadable=!0,e.nextTick(w,H))}function w(H){const Q=H._readableState;A("emitReadable_",Q.destroyed,Q.length,Q.ended),!Q.destroyed&&!Q.errored&&(Q.length||Q.ended)&&(H.emit("readable"),Q.emittedReadable=!1),Q.needReadable=!Q.flowing&&!Q.ended&&Q.length<=Q.highWaterMark,Re(H)}function I(H,Q){!Q.readingMore&&Q.constructed&&(Q.readingMore=!0,e.nextTick(W,H,Q))}function W(H,Q){for(;!Q.reading&&!Q.ended&&(Q.length1&&Ce.pipes.includes(H)&&(A("false write response, pause",Ce.awaitDrainWriters.size),Ce.awaitDrainWriters.add(H)),Ie.pause()),Xn||(Xn=ce(Ie,H),H.on("drain",Xn))}Ie.on("data",Xp);function Xp(Jn){A("ondata");const Vr=H.write(Jn);A("dest.write",Vr),Vr===!1&&Qp()}function ku(Jn){if(A("onerror",Jn),es(),H.removeListener("error",ku),H.listenerCount("error")===0){const Vr=H._writableState||H._readableState;Vr&&!Vr.errorEmitted?de(H,Jn):H.emit("error",Jn)}}b(H,"error",ku);function Mu(){H.removeListener("finish",Nu),es()}H.once("close",Mu);function Nu(){A("onfinish"),H.removeListener("close",Mu),es()}H.once("finish",Nu);function es(){A("unpipe"),Ie.unpipe(H)}return H.emit("pipe",Ie),H.writableNeedDrain===!0?Qp():Ce.flowing||(A("pipe resume"),Ie.resume()),H};function ce(H,Q){return function(){const Ce=H._readableState;Ce.awaitDrainWriters===Q?(A("pipeOnDrain",1),Ce.awaitDrainWriters=null):Ce.multiAwaitDrain&&(A("pipeOnDrain",Ce.awaitDrainWriters.size),Ce.awaitDrainWriters.delete(Q)),(!Ce.awaitDrainWriters||Ce.awaitDrainWriters.size===0)&&H.listenerCount("data")&&H.resume()}}x.prototype.unpipe=function(H){const Q=this._readableState,Ie={hasUnpiped:!1};if(Q.pipes.length===0)return this;if(!H){const Me=Q.pipes;Q.pipes=[],this.pause();for(let Et=0;Et0,Ce.flowing!==!1&&this.resume()):H==="readable"&&!Ce.endEmitted&&!Ce.readableListening&&(Ce.readableListening=Ce.needReadable=!0,Ce.flowing=!1,Ce.emittedReadable=!1,A("on readable",Ce.length,Ce.reading),Ce.length?g(this):Ce.reading||e.nextTick(ke,this)),Ie},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(H,Q){const Ie=_.prototype.removeListener.call(this,H,Q);return H==="readable"&&e.nextTick(xe,this),Ie},x.prototype.off=x.prototype.removeListener,x.prototype.removeAllListeners=function(H){const Q=_.prototype.removeAllListeners.apply(this,arguments);return(H==="readable"||H===void 0)&&e.nextTick(xe,this),Q};function xe(H){const Q=H._readableState;Q.readableListening=H.listenerCount("readable")>0,Q.resumeScheduled&&Q[ue]===!1?Q.flowing=!0:H.listenerCount("data")>0?H.resume():Q.readableListening||(Q.flowing=null)}function ke(H){A("readable nexttick read 0"),H.read(0)}x.prototype.resume=function(){const H=this._readableState;return H.flowing||(A("resume"),H.flowing=!H.readableListening,Te(this,H)),H[ue]=!1,this};function Te(H,Q){Q.resumeScheduled||(Q.resumeScheduled=!0,e.nextTick(Oe,H,Q))}function Oe(H,Q){A("resume",Q.reading),Q.reading||H.read(0),Q.resumeScheduled=!1,H.emit("resume"),Re(H),Q.flowing&&!Q.reading&&H.read(0)}x.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[ue]=!0,this};function Re(H){const Q=H._readableState;for(A("flow",Q.flowing);Q.flowing&&H.read()!==null;);}x.prototype.wrap=function(H){let Q=!1;H.on("data",Ce=>{!this.push(Ce)&&H.pause&&(Q=!0,H.pause())}),H.on("end",()=>{this.push(null)}),H.on("error",Ce=>{de(this,Ce)}),H.on("close",()=>{this.destroy()}),H.on("destroy",()=>{this.destroy()}),this._read=()=>{Q&&H.resume&&(Q=!1,H.resume())};const Ie=s(H);for(let Ce=1;Ce{Me=er?j(Me,er):null,Ie(),Ie=pe});try{for(;;){const er=H.destroyed?null:H.read();if(er!==null)yield er;else{if(Me)throw Me;if(Me===null)return;await new l(Ce)}}}catch(er){throw Me=j(Me,er),Me}finally{(Me||(Q==null?void 0:Q.destroyOnReturn)!==!1)&&(Me===void 0||H._readableState.autoDestroy)?$.destroyer(H,null):(H.off("readable",Ce),Et())}}i(x.prototype,{readable:{__proto__:null,get(){const H=this._readableState;return!!H&&H.readable!==!1&&!H.destroyed&&!H.errorEmitted&&!H.endEmitted},set(H){this._readableState&&(this._readableState.readable=!!H)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(H){this._readableState&&(this._readableState.flowing=H)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(H){this._readableState&&(this._readableState.destroyed=H)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),i(q.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[ue]!==!1},set(H){this[ue]=!!H}}}),x._fromList=Ze;function Ze(H,Q){if(Q.length===0)return null;let Ie;return Q.objectMode?Ie=Q.buffer.shift():!H||H>=Q.length?(Q.decoder?Ie=Q.buffer.join(""):Q.buffer.length===1?Ie=Q.buffer.first():Ie=Q.buffer.concat(Q.length),Q.buffer.clear()):Ie=Q.buffer.consume(H,Q.decoder),Ie}function at(H){const Q=H._readableState;A("endReadable",Q.endEmitted),Q.endEmitted||(Q.ended=!0,e.nextTick(mt,Q,H))}function mt(H,Q){if(A("endReadableNT",H.endEmitted,H.length),!H.errored&&!H.closeEmitted&&!H.endEmitted&&H.length===0){if(H.endEmitted=!0,Q.emit("end"),Q.writable&&Q.allowHalfOpen===!1)e.nextTick(ct,Q);else if(H.autoDestroy){const Ie=Q._writableState;(!Ie||Ie.autoDestroy&&(Ie.finished||Ie.writable===!1))&&Q.destroy()}}}function ct(H){H.writable&&!H.writableEnded&&!H.destroyed&&H.end()}x.from=function(H,Q){return G(x,H,Q)};let Xi;function Zo(){return Xi===void 0&&(Xi={}),Xi}return x.fromWeb=function(H,Q){return Zo().newStreamReadableFromReadableStream(H,Q)},x.toWeb=function(H,Q){return Zo().newReadableStreamFromStreamReadable(H,Q)},x.wrap=function(H,Q){var Ie,Ce;return new x({objectMode:(Ie=(Ce=H.readableObjectMode)!==null&&Ce!==void 0?Ce:H.objectMode)!==null&&Ie!==void 0?Ie:!0,...Q,destroy(Me,Et){$.destroyer(H,Me),Et(Me)}}).wrap(H)},Ic}var Cc,I0;function xp(){if(I0)return Cc;I0=1;const e=Vi,{ArrayPrototypeSlice:t,Error:r,FunctionPrototypeSymbolHasInstance:n,ObjectDefineProperty:o,ObjectDefineProperties:i,ObjectSetPrototypeOf:s,StringPrototypeToLowerCase:a,Symbol:l,SymbolHasInstance:u}=st;Cc=ne,ne.WritableState=B;const{EventEmitter:c}=hu,d=Ap.Stream,{Buffer:p}=Zt,m=Jo,{addAbortSignal:_}=wu,{getHighWaterMark:b,getDefaultHighWaterMark:T}=vu,{ERR_INVALID_ARG_TYPE:k,ERR_METHOD_NOT_IMPLEMENTED:C,ERR_MULTIPLE_CALLBACK:A,ERR_STREAM_CANNOT_PIPE:M,ERR_STREAM_DESTROYED:$,ERR_STREAM_ALREADY_FINISHED:R,ERR_STREAM_NULL_VALUES:D,ERR_STREAM_WRITE_AFTER_END:j,ERR_UNKNOWN_ENCODING:z}=Wt.codes,{errorOrDestroy:se}=m;s(ne.prototype,d.prototype),s(ne,d);function re(){}const L=l("kOnFinished");function B(v,S,E){typeof E!="boolean"&&(E=S instanceof gn()),this.objectMode=!!(v&&v.objectMode),E&&(this.objectMode=this.objectMode||!!(v&&v.writableObjectMode)),this.highWaterMark=v?b(this,v,"writableHighWaterMark",E):T(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const N=!!(v&&v.decodeStrings===!1);this.decodeStrings=!N,this.defaultEncoding=v&&v.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=de.bind(void 0,S),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,oe(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!v||v.emitClose!==!1,this.autoDestroy=!v||v.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[L]=[]}function oe(v){v.buffered=[],v.bufferedIndex=0,v.allBuffers=!0,v.allNoop=!0}B.prototype.getBuffer=function(){return t(this.buffered,this.bufferedIndex)},o(B.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ne(v){const S=this instanceof gn();if(!S&&!n(ne,this))return new ne(v);this._writableState=new B(v,this,S),v&&(typeof v.write=="function"&&(this._write=v.write),typeof v.writev=="function"&&(this._writev=v.writev),typeof v.destroy=="function"&&(this._destroy=v.destroy),typeof v.final=="function"&&(this._final=v.final),typeof v.construct=="function"&&(this._construct=v.construct),v.signal&&_(v.signal,this)),d.call(this,v),m.construct(this,()=>{const E=this._writableState;E.writing||me(this,E),F(this,E)})}o(ne,u,{__proto__:null,value:function(v){return n(this,v)?!0:this!==ne?!1:v&&v._writableState instanceof B}}),ne.prototype.pipe=function(){se(this,new M)};function ue(v,S,E,N){const P=v._writableState;if(typeof E=="function")N=E,E=P.defaultEncoding;else{if(!E)E=P.defaultEncoding;else if(E!=="buffer"&&!p.isEncoding(E))throw new z(E);typeof N!="function"&&(N=re)}if(S===null)throw new D;if(!P.objectMode)if(typeof S=="string")P.decodeStrings!==!1&&(S=p.from(S,E),E="buffer");else if(S instanceof p)E="buffer";else if(d._isUint8Array(S))S=d._uint8ArrayToBuffer(S),E="buffer";else throw new k("chunk",["string","Buffer","Uint8Array"],S);let J;return P.ending?J=new j:P.destroyed&&(J=new $("write")),J?(e.nextTick(N,J),se(v,J,!0),J):(P.pendingcb++,ae(v,P,S,E,N))}ne.prototype.write=function(v,S,E){return ue(this,v,S,E)===!0},ne.prototype.cork=function(){this._writableState.corked++},ne.prototype.uncork=function(){const v=this._writableState;v.corked&&(v.corked--,v.writing||me(this,v))},ne.prototype.setDefaultEncoding=function(S){if(typeof S=="string"&&(S=a(S)),!p.isEncoding(S))throw new z(S);return this._writableState.defaultEncoding=S,this};function ae(v,S,E,N,P){const J=S.objectMode?1:E.length;S.length+=J;const te=S.lengthE.bufferedIndex&&me(v,E),N?E.afterWriteTickInfo!==null&&E.afterWriteTickInfo.cb===P?E.afterWriteTickInfo.count++:(E.afterWriteTickInfo={count:1,cb:P,stream:v,state:E},e.nextTick(ge,E.afterWriteTickInfo)):O(v,E,1,P))}function ge({stream:v,state:S,count:E,cb:N}){return S.afterWriteTickInfo=null,O(v,S,E,N)}function O(v,S,E,N){for(!S.ending&&!v.destroyed&&S.length===0&&S.needDrain&&(S.needDrain=!1,v.emit("drain"));E-- >0;)S.pendingcb--,N();S.destroyed&&ie(S),F(v,S)}function ie(v){if(v.writing)return;for(let P=v.bufferedIndex;P1&&v._writev){S.pendingcb-=J-1;const U=S.allNoop?re:x=>{for(let K=te;K256?(E.splice(0,te),S.bufferedIndex=0):S.bufferedIndex=te}S.bufferProcessing=!1}ne.prototype._write=function(v,S,E){if(this._writev)this._writev([{chunk:v,encoding:S}],E);else throw new C("_write()")},ne.prototype._writev=null,ne.prototype.end=function(v,S,E){const N=this._writableState;typeof v=="function"?(E=v,v=null,S=null):typeof S=="function"&&(E=S,S=null);let P;if(v!=null){const J=ue(this,v,S);J instanceof r&&(P=J)}return N.corked&&(N.corked=1,this.uncork()),P||(!N.errored&&!N.ending?(N.ending=!0,F(this,N,!0),N.ended=!0):N.finished?P=new R("end"):N.destroyed&&(P=new $("end"))),typeof E=="function"&&(P||N.finished?e.nextTick(E,P):N[L].push(E)),this};function ve(v){return v.ending&&!v.destroyed&&v.constructed&&v.length===0&&!v.errored&&v.buffered.length===0&&!v.finished&&!v.writing&&!v.errorEmitted&&!v.closeEmitted}function ye(v,S){let E=!1;function N(P){if(E){se(v,P??A());return}if(E=!0,S.pendingcb--,P){const J=S[L].splice(0);for(let te=0;te{ve(P)?Z(N,P):P.pendingcb--},v,S)):ve(S)&&(S.pendingcb++,Z(v,S))))}function Z(v,S){S.pendingcb--,S.finished=!0;const E=S[L].splice(0);for(let N=0;N{if(ie!=null)throw new _("nully","body",ie)},ie=>{b(ge,ie)});return ge=new z({objectMode:!0,readable:!1,write:ae,final(ie){G(async()=>{try{await O,e.nextTick(ie,null)}catch(me){e.nextTick(ie,me)}})},destroy:pe})}throw new _("Iterable, AsyncIterable or AsyncFunction",oe,ue)}if(R(B))return L(B.arrayBuffer());if(o(B))return M(z,B,{objectMode:!0,writable:!1});if(u(B==null?void 0:B.readable)&&c(B==null?void 0:B.writable))return z.fromWeb(B);if(typeof(B==null?void 0:B.writable)=="object"||typeof(B==null?void 0:B.readable)=="object"){const ue=B!=null&&B.readable?s(B==null?void 0:B.readable)?B==null?void 0:B.readable:L(B.readable):void 0,ae=B!=null&&B.writable?a(B==null?void 0:B.writable)?B==null?void 0:B.writable:L(B.writable):void 0;return re({readable:ue,writable:ae})}const ne=B==null?void 0:B.then;if(typeof ne=="function"){let ue;return j(ne,B,ae=>{ae!=null&&ue.push(ae),ue.push(null)},ae=>{b(ue,ae)}),ue=new z({objectMode:!0,writable:!1,read(){}})}throw new m(oe,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],B)};function se(L){let{promise:B,resolve:oe}=A();const ne=new D,ue=ne.signal;return{value:L(async function*(){for(;;){const G=B;B=null;const{chunk:pe,done:de,cb:ge}=await G;if(e.nextTick(ge),de)return;if(ue.aborted)throw new p(void 0,{cause:ue.reason});({promise:B,resolve:oe}=A()),yield pe}}(),{signal:ue}),write(G,pe,de){const ge=oe;oe=null,ge({chunk:G,done:!1,cb:de})},final(G){const pe=oe;oe=null,pe({done:!0,cb:G})},destroy(G,pe){ne.abort(),pe(G)}}}function re(L){const B=L.readable&&typeof L.readable.read!="function"?k.wrap(L.readable):L.readable,oe=L.writable;let ne=!!r(B),ue=!!n(oe),ae,G,pe,de,ge;function O(ie){const me=de;de=null,me?me(ie):ie&&ge.destroy(ie)}return ge=new z({readableObjectMode:!!(B!=null&&B.readableObjectMode),writableObjectMode:!!(oe!=null&&oe.writableObjectMode),readable:ne,writable:ue}),ue&&(d(oe,ie=>{ue=!1,ie&&b(B,ie),O(ie)}),ge._write=function(ie,me,ve){oe.write(ie,me)?ve():ae=ve},ge._final=function(ie){oe.end(),G=ie},oe.on("drain",function(){if(ae){const ie=ae;ae=null,ie()}}),oe.on("finish",function(){if(G){const ie=G;G=null,ie()}})),ne&&(d(B,ie=>{ne=!1,ie&&b(B,ie),O(ie)}),B.on("readable",function(){if(pe){const ie=pe;pe=null,ie()}}),B.on("end",function(){ge.push(null)}),ge._read=function(){for(;;){const ie=B.read();if(ie===null){pe=ge._read;return}if(!ge.push(ie))return}}),ge._destroy=function(ie,me){!ie&&de!==null&&(ie=new p),pe=null,ae=null,G=null,de===null?me(ie):(de=me,b(oe,ie),b(B,ie))},ge}return Rc}var Oc,R0;function gn(){if(R0)return Oc;R0=1;const{ObjectDefineProperties:e,ObjectGetOwnPropertyDescriptor:t,ObjectKeys:r,ObjectSetPrototypeOf:n}=st;Oc=s;const o=Eu(),i=xp();n(s.prototype,o.prototype),n(s,o);{const c=r(i.prototype);for(let d=0;d{if(t){e?e(t):this.destroy(t);return}r!=null&&this.push(r),this.push(null),e&&e()}):(this.push(null),e&&e())}function N2(){this._final!==Jh&&Jh.call(this)}mn.prototype._final=Jh;mn.prototype._transform=function(e,t,r){throw new k2("_transform()")};mn.prototype._write=function(e,t,r){const n=this._readableState,o=this._writableState,i=n.length;this._transform(e,t,(s,a)=>{if(s){r(s);return}a!=null&&this.push(a),o.ended||i===n.length||n.length{n=!0});const o=El(e,{readable:t,writable:r},i=>{n=!i});return{destroy:i=>{n||(n=!0,U2.destroyer(e,i||new W2("pipe")))},cleanup:o}}function Q2(e){return q2(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function Bc(e){if(fi(e))return e;if(Xa(e))return X2(e);throw new Zh("val",["Readable","Iterable","AsyncIterable"],e)}async function*X2(e){Lc||(Lc=Eu()),yield*Lc.prototype[D2].call(e)}async function Ta(e,t,r,{end:n}){let o,i=null;const s=u=>{if(u&&(o=u),i){const c=i;i=null,c()}},a=()=>new L2((u,c)=>{o?c(o):i=()=>{o?c(o):u()}});t.on("drain",s);const l=El(t,{readable:!1},s);try{t.writableNeedDrain&&await a();for await(const u of e)t.write(u)||await a();n&&(t.end(),await a()),r()}catch(u){r(o!==u?F2(o,u):u)}finally{l(),t.off("drain",s)}}async function $c(e,t,r,{end:n}){uo(t)&&(t=t.writable);const o=t.getWriter();try{for await(const i of e)await o.ready,o.write(i).catch(()=>{});await o.ready,n&&await o.close(),r()}catch(i){try{await o.abort(i),r(i)}catch(s){r(s)}}}function J2(...e){return I1(e,$2(Q2(e)))}function I1(e,t,r){if(e.length===1&&P2(e[0])&&(e=e[0]),e.length<2)throw new j2("streams");const n=new G2,o=n.signal,i=r==null?void 0:r.signal,s=[];K2(i,"options.signal");function a(){_(new V2)}Dc=Dc||Dt.addAbortListener;let l;i&&(l=Dc(i,a));let u,c;const d=[];let p=0;function m(C){_(C,--p===0)}function _(C,A){var M;if(C&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=C),!(!u&&!A)){for(;d.length;)d.shift()(u);(M=l)===null||M===void 0||M[B2](),n.abort(),A&&(u||s.forEach($=>$()),bs.nextTick(t,u,c))}}let b;for(let C=0;C0,R=M||(r==null?void 0:r.end)!==!1,D=C===e.length-1;if(k0(A)){let j=function(z){z&&z.name!=="AbortError"&&z.code!=="ERR_STREAM_PREMATURE_CLOSE"&&m(z)};if(R){const{destroy:z,cleanup:se}=M0(A,M,$);d.push(z),Mc(A)&&D&&s.push(se)}A.on("error",j),Mc(A)&&D&&s.push(()=>{A.removeListener("error",j)})}if(C===0)if(typeof A=="function"){if(b=A({signal:o}),!fi(b))throw new kc("Iterable, AsyncIterable or Stream","source",b)}else fi(A)||Xa(A)||uo(A)?b=A:b=O0.from(A);else if(typeof A=="function"){if(uo(b)){var T;b=Bc((T=b)===null||T===void 0?void 0:T.readable)}else b=Bc(b);if(b=A(b,{signal:o}),M){if(!fi(b,!0))throw new kc("AsyncIterable",`transform[${C-1}]`,b)}else{var k;Pc||(Pc=x1);const j=new Pc({objectMode:!0}),z=(k=b)===null||k===void 0?void 0:k.then;if(typeof z=="function")p++,z.call(b,L=>{c=L,L!=null&&j.write(L),R&&j.end(),bs.nextTick(m)},L=>{j.destroy(L),bs.nextTick(m,L)});else if(fi(b,!0))p++,Ta(b,j,m,{end:R});else if(Nc(b)||uo(b)){const L=b.readable||b;p++,Ta(L,j,m,{end:R})}else throw new kc("AsyncIterable or Promise","destination",b);b=j;const{destroy:se,cleanup:re}=M0(b,!1,!0);d.push(se),D&&s.push(re)}}else if(k0(A)){if(Xa(b)){p+=2;const j=Z2(b,A,m,{end:R});Mc(A)&&D&&s.push(j)}else if(uo(b)||Nc(b)){const j=b.readable||b;p++,Ta(j,A,m,{end:R})}else if(fi(b))p++,Ta(b,A,m,{end:R});else throw new Zh("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],b);b=A}else if(Y2(A)){if(Xa(b))p++,$c(Bc(b),A,m,{end:R});else if(Nc(b)||fi(b))p++,$c(b,A,m,{end:R});else if(uo(b))p++,$c(b.readable,A,m,{end:R});else throw new Zh("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],b);b=A}else b=O0.from(A)}return(o!=null&&o.aborted||i!=null&&i.aborted)&&bs.nextTick(a),b}function Z2(e,t,r,{end:n}){let o=!1;if(t.on("close",()=>{o||r(new H2)}),e.pipe(t,{end:!1}),n){let i=function(){o=!0,t.end()};z2(e)?bs.nextTick(i):e.once("end",i)}else r();return El(e,{readable:!0,writable:!1},i=>{const s=e._readableState;i&&i.code==="ERR_STREAM_PREMATURE_CLOSE"&&s&&s.ended&&!s.errored&&!s.errorEmitted?e.once("end",r).once("error",r):r(i)}),El(t,{readable:!1,writable:!0},r)}var Rp={pipelineImpl:I1,pipeline:J2};const{pipeline:eP}=Rp,xa=gn(),{destroyer:tP}=Jo,{isNodeStream:Ia,isReadable:N0,isWritable:P0,isWebStream:Uc,isTransformStream:ai,isWritableStream:L0,isReadableStream:D0}=xn,{AbortError:rP,codes:{ERR_INVALID_ARG_VALUE:B0,ERR_MISSING_ARGS:nP}}=Wt,iP=Qn;var C1=function(...t){if(t.length===0)throw new nP("streams");if(t.length===1)return xa.from(t[0]);const r=[...t];if(typeof t[0]=="function"&&(t[0]=xa.from(t[0])),typeof t[t.length-1]=="function"){const m=t.length-1;t[m]=xa.from(t[m])}for(let m=0;m0&&!(P0(t[m])||L0(t[m])||ai(t[m])))throw new B0(`streams[${m}]`,r[m],"must be writable")}let n,o,i,s,a;function l(m){const _=s;s=null,_?_(m):m?a.destroy(m):!p&&!d&&a.destroy()}const u=t[0],c=eP(t,l),d=!!(P0(u)||L0(u)||ai(u)),p=!!(N0(c)||D0(c)||ai(c));if(a=new xa({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(c!=null&&c.readableObjectMode),writable:d,readable:p}),d){if(Ia(u))a._write=function(_,b,T){u.write(_,b)?T():n=T},a._final=function(_){u.end(),o=_},u.on("drain",function(){if(n){const _=n;n=null,_()}});else if(Uc(u)){const b=(ai(u)?u.writable:u).getWriter();a._write=async function(T,k,C){try{await b.ready,b.write(T).catch(()=>{}),C()}catch(A){C(A)}},a._final=async function(T){try{await b.ready,b.close().catch(()=>{}),o=T}catch(k){T(k)}}}const m=ai(c)?c.readable:c;iP(m,()=>{if(o){const _=o;o=null,_()}})}if(p){if(Ia(c))c.on("readable",function(){if(i){const m=i;i=null,m()}}),c.on("end",function(){a.push(null)}),a._read=function(){for(;;){const m=c.read();if(m===null){i=a._read;return}if(!a.push(m))return}};else if(Uc(c)){const _=(ai(c)?c.readable:c).getReader();a._read=async function(){for(;;)try{const{value:b,done:T}=await _.read();if(!a.push(b))return;if(T){a.push(null);return}}catch{return}}}}return a._destroy=function(m,_){!m&&s!==null&&(m=new rP),i=null,n=null,o=null,s===null?_(m):(s=_,Ia(c)&&tP(c,m))},a};const oP=globalThis.AbortController||$s().AbortController,{codes:{ERR_INVALID_ARG_VALUE:sP,ERR_INVALID_ARG_TYPE:Zs,ERR_MISSING_ARGS:aP,ERR_OUT_OF_RANGE:lP},AbortError:jr}=Wt,{validateAbortSignal:Ki,validateInteger:$0,validateObject:Yi}=Xs,uP=st.Symbol("kWeak"),cP=st.Symbol("kResistStopPropagation"),{finished:fP}=Qn,hP=C1,{addAbortSignalNoValidate:dP}=wu,{isWritable:pP,isNodeStream:gP}=xn,{deprecate:mP}=Dt,{ArrayPrototypePush:yP,Boolean:_P,MathFloor:U0,Number:bP,NumberIsNaN:wP,Promise:F0,PromiseReject:j0,PromiseResolve:vP,PromisePrototypeThen:W0,Symbol:R1}=st,Sl=R1("kEmpty"),H0=R1("kEof");function EP(e,t){if(t!=null&&Yi(t,"options"),(t==null?void 0:t.signal)!=null&&Ki(t.signal,"options.signal"),gP(e)&&!pP(e))throw new sP("stream",e,"must be writable");const r=hP(this,e);return t!=null&&t.signal&&dP(t.signal,r),r}function Su(e,t){if(typeof e!="function")throw new Zs("fn",["Function","AsyncFunction"],e);t!=null&&Yi(t,"options"),(t==null?void 0:t.signal)!=null&&Ki(t.signal,"options.signal");let r=1;(t==null?void 0:t.concurrency)!=null&&(r=U0(t.concurrency));let n=r-1;return(t==null?void 0:t.highWaterMark)!=null&&(n=U0(t.highWaterMark)),$0(r,"options.concurrency",1),$0(n,"options.highWaterMark",0),n+=r,(async function*(){const i=Dt.AbortSignalAny([t==null?void 0:t.signal].filter(_P)),s=this,a=[],l={signal:i};let u,c,d=!1,p=0;function m(){d=!0,_()}function _(){p-=1,b()}function b(){c&&!d&&p=n||p>=r)&&await new F0(C=>{c=C})}a.push(H0)}catch(k){const C=j0(k);W0(C,_,m),a.push(C)}finally{d=!0,u&&(u(),u=null)}}T();try{for(;;){for(;a.length>0;){const k=await a[0];if(k===H0)return;if(i.aborted)throw new jr;k!==Sl&&(yield k),a.shift(),b()}await new F0(k=>{u=k})}}finally{d=!0,c&&(c(),c=null)}}).call(this)}function SP(e=void 0){return e!=null&&Yi(e,"options"),(e==null?void 0:e.signal)!=null&&Ki(e.signal,"options.signal"),(async function*(){let r=0;for await(const o of this){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new jr({cause:e.signal.reason});yield[r++,o]}}).call(this)}async function O1(e,t=void 0){for await(const r of Op.call(this,e,t))return!0;return!1}async function AP(e,t=void 0){if(typeof e!="function")throw new Zs("fn",["Function","AsyncFunction"],e);return!await O1.call(this,async(...r)=>!await e(...r),t)}async function TP(e,t){for await(const r of Op.call(this,e,t))return r}async function xP(e,t){if(typeof e!="function")throw new Zs("fn",["Function","AsyncFunction"],e);async function r(n,o){return await e(n,o),Sl}for await(const n of Su.call(this,r,t));}function Op(e,t){if(typeof e!="function")throw new Zs("fn",["Function","AsyncFunction"],e);async function r(n,o){return await e(n,o)?n:Sl}return Su.call(this,r,t)}class IP extends aP{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function CP(e,t,r){var n;if(typeof e!="function")throw new Zs("reducer",["Function","AsyncFunction"],e);r!=null&&Yi(r,"options"),(r==null?void 0:r.signal)!=null&&Ki(r.signal,"options.signal");let o=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){const u=new jr(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await fP(this.destroy(u)),u}const i=new oP,s=i.signal;if(r!=null&&r.signal){const u={once:!0,[uP]:this,[cP]:!0};r.signal.addEventListener("abort",()=>i.abort(),u)}let a=!1;try{for await(const u of this){var l;if(a=!0,r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new jr;o?t=await e(t,u,{signal:s}):(t=u,o=!0)}if(!a&&!o)throw new IP}finally{i.abort()}return t}async function RP(e){e!=null&&Yi(e,"options"),(e==null?void 0:e.signal)!=null&&Ki(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new jr(void 0,{cause:e.signal.reason});yP(t,n)}return t}function OP(e,t){const r=Su.call(this,e,t);return(async function*(){for await(const o of r)yield*o}).call(this)}function k1(e){if(e=bP(e),wP(e))return 0;if(e<0)throw new lP("number",">= 0",e);return e}function kP(e,t=void 0){return t!=null&&Yi(t,"options"),(t==null?void 0:t.signal)!=null&&Ki(t.signal,"options.signal"),e=k1(e),(async function*(){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new jr;for await(const i of this){var o;if(t!=null&&(o=t.signal)!==null&&o!==void 0&&o.aborted)throw new jr;e--<=0&&(yield i)}}).call(this)}function MP(e,t=void 0){return t!=null&&Yi(t,"options"),(t==null?void 0:t.signal)!=null&&Ki(t.signal,"options.signal"),e=k1(e),(async function*(){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new jr;for await(const i of this){var o;if(t!=null&&(o=t.signal)!==null&&o!==void 0&&o.aborted)throw new jr;if(e-- >0&&(yield i),e<=0)return}}).call(this)}bp.streamReturningOperators={asIndexedPairs:mP(SP,"readable.asIndexedPairs will be removed in a future version."),drop:kP,filter:Op,flatMap:OP,map:Su,take:MP,compose:EP};bp.promiseReturningOperators={every:AP,forEach:xP,reduce:CP,toArray:RP,some:O1,find:TP};var Fc,V0;function M1(){if(V0)return Fc;V0=1;const{ArrayPrototypePop:e,Promise:t}=st,{isIterable:r,isNodeStream:n,isWebStream:o}=xn,{pipelineImpl:i}=Rp,{finished:s}=Qn;N1();function a(...l){return new t((u,c)=>{let d,p;const m=l[l.length-1];if(m&&typeof m=="object"&&!n(m)&&!r(m)&&!o(m)){const _=e(l);d=_.signal,p=_.end}i(l,(_,b)=>{_?c(_):u(b)},{signal:d,end:p})})}return Fc={finished:s,pipeline:a},Fc}var q0;function N1(){if(q0)return vc.exports;q0=1;const{Buffer:e}=Zt,{ObjectDefineProperty:t,ObjectKeys:r,ReflectApply:n}=st,{promisify:{custom:o}}=Dt,{streamReturningOperators:i,promiseReturningOperators:s}=bp,{codes:{ERR_ILLEGAL_CONSTRUCTOR:a}}=Wt,l=C1,{setDefaultHighWaterMark:u,getDefaultHighWaterMark:c}=vu,{pipeline:d}=Rp,{destroyer:p}=Jo,m=Qn,_=M1(),b=xn,T=vc.exports=Ap.Stream;T.isDestroyed=b.isDestroyed,T.isDisturbed=b.isDisturbed,T.isErrored=b.isErrored,T.isReadable=b.isReadable,T.isWritable=b.isWritable,T.Readable=Eu();for(const C of r(i)){let M=function(...$){if(new.target)throw a();return T.Readable.from(n(A,this,$))};const A=i[C];t(M,"name",{__proto__:null,value:A.name}),t(M,"length",{__proto__:null,value:A.length}),t(T.Readable.prototype,C,{__proto__:null,value:M,enumerable:!1,configurable:!0,writable:!0})}for(const C of r(s)){let M=function(...$){if(new.target)throw a();return n(A,this,$)};const A=s[C];t(M,"name",{__proto__:null,value:A.name}),t(M,"length",{__proto__:null,value:A.length}),t(T.Readable.prototype,C,{__proto__:null,value:M,enumerable:!1,configurable:!0,writable:!0})}T.Writable=xp(),T.Duplex=gn(),T.Transform=A1,T.PassThrough=x1,T.pipeline=d;const{addAbortSignal:k}=wu;return T.addAbortSignal=k,T.finished=m,T.destroy=p,T.compose=l,T.setDefaultHighWaterMark=u,T.getDefaultHighWaterMark=c,t(T,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return _}}),t(d,o,{__proto__:null,enumerable:!0,get(){return _.pipeline}}),t(m,o,{__proto__:null,enumerable:!0,get(){return _.finished}}),T.Stream=T,T._isUint8Array=function(A){return A instanceof Uint8Array},T._uint8ArrayToBuffer=function(A){return e.from(A.buffer,A.byteOffset,A.byteLength)},vc.exports}(function(e){const t=N1(),r=M1(),n=t.Readable.destroy;e.exports=t.Readable,e.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,e.exports._isUint8Array=t._isUint8Array,e.exports.isDisturbed=t.isDisturbed,e.exports.isErrored=t.isErrored,e.exports.isReadable=t.isReadable,e.exports.Readable=t.Readable,e.exports.Writable=t.Writable,e.exports.Duplex=t.Duplex,e.exports.Transform=t.Transform,e.exports.PassThrough=t.PassThrough,e.exports.addAbortSignal=t.addAbortSignal,e.exports.finished=t.finished,e.exports.destroy=t.destroy,e.exports.destroy=n,e.exports.pipeline=t.pipeline,e.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return r}}),e.exports.Stream=t.Stream,e.exports.default=e.exports})(Rv);var NP=Rv.exports,ed={exports:{}};typeof Object.create=="function"?ed.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:ed.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}};var PP=ed.exports;const{Buffer:mr}=Zt,P1=Symbol.for("BufferList");function Xe(e){if(!(this instanceof Xe))return new Xe(e);Xe._init.call(this,e)}Xe._init=function(t){Object.defineProperty(this,P1,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};Xe.prototype._new=function(t){return new Xe(t)};Xe.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let n=0;nthis.length||t<0)return;const r=this._offset(t);return this._bufs[r[0]][r[1]]};Xe.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};Xe.prototype.copy=function(t,r,n,o){if((typeof n!="number"||n<0)&&(n=0),(typeof o!="number"||o>this.length)&&(o=this.length),n>=this.length||o<=0)return t||mr.alloc(0);const i=!!t,s=this._offset(n),a=o-n;let l=a,u=i&&r||0,c=s[1];if(n===0&&o===this.length){if(!i)return this._bufs.length===1?this._bufs[0]:mr.concat(this._bufs,this.length);for(let d=0;dp)this._bufs[d].copy(t,u,c),u+=p;else{this._bufs[d].copy(t,u,c,c+l),u+=p;break}l-=p,c&&(c=0)}return t.length>u?t.slice(0,u):t};Xe.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();const n=this._offset(t),o=this._offset(r),i=this._bufs.slice(n[0],o[0]+1);return o[1]===0?i.pop():i[i.length-1]=i[i.length-1].slice(0,o[1]),n[1]!==0&&(i[0]=i[0].slice(n[1])),this._new(i)};Xe.prototype.toString=function(t,r,n){return this.slice(r,n).toString(t)};Xe.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};Xe.prototype.duplicate=function(){const t=this._new();for(let r=0;rthis.length?this.length:t;const n=this._offset(t);let o=n[0],i=n[1];for(;o=e.length){const l=s.indexOf(e,i);if(l!==-1)return this._reverseOffset([o,l]);i=s.length-e.length+1}else{const l=this._reverseOffset([o,i]);if(this._match(l,e))return l;i++}i=0}return-1};Xe.prototype._match=function(e,t){if(this.length-e[0,1].map(s=>[0,1].map(a=>{const l=r.alloc(1);return l.writeUInt8(t.codes[o]<r.from([o])),t.EMPTY={pingreq:r.from([t.codes.pingreq<<4,0]),pingresp:r.from([t.codes.pingresp<<4,0]),disconnect:r.from([t.codes.disconnect<<4,0])},t.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},t.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},t.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},t.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},t.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},t.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}})(BP);function L1(){throw new Error("setTimeout has not been defined")}function D1(){throw new Error("clearTimeout has not been defined")}var Nn=L1,Pn=D1;typeof Ri.setTimeout=="function"&&(Nn=setTimeout);typeof Ri.clearTimeout=="function"&&(Pn=clearTimeout);function B1(e){if(Nn===setTimeout)return setTimeout(e,0);if((Nn===L1||!Nn)&&setTimeout)return Nn=setTimeout,setTimeout(e,0);try{return Nn(e,0)}catch{try{return Nn.call(null,e,0)}catch{return Nn.call(this,e,0)}}}function $P(e){if(Pn===clearTimeout)return clearTimeout(e);if((Pn===D1||!Pn)&&clearTimeout)return Pn=clearTimeout,clearTimeout(e);try{return Pn(e)}catch{try{return Pn.call(null,e)}catch{return Pn.call(this,e)}}}var on=[],Co=!1,wi,Ja=-1;function UP(){!Co||!wi||(Co=!1,wi.length?on=wi.concat(on):Ja=-1,on.length&&$1())}function $1(){if(!Co){var e=B1(UP);Co=!0;for(var t=on.length;t;){for(wi=on,on=[];++Ja1)for(var r=1;r0)return s(c);if(p==="number"&&isFinite(c))return d.long?l(c):a(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function s(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(d){var p=parseFloat(d[1]),m=(d[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return p*i;case"weeks":case"week":case"w":return p*o;case"days":case"day":case"d":return p*n;case"hours":case"hour":case"hrs":case"hr":case"h":return p*r;case"minutes":case"minute":case"mins":case"min":case"m":return p*t;case"seconds":case"second":case"secs":case"sec":case"s":return p*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function a(c){var d=Math.abs(c);return d>=n?Math.round(c/n)+"d":d>=r?Math.round(c/r)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=n?u(c,d,n,"day"):d>=r?u(c,d,r,"hour"):d>=t?u(c,d,t,"minute"):d>=e?u(c,d,e,"second"):c+" ms"}function u(c,d,p,m){var _=d>=p*1.5;return Math.round(c/p)+" "+m+(_?"s":"")}return jc}function hL(e){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=o,r.enabled=s,r.humanize=fL(),r.destroy=u,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let d=0;for(let p=0;p{if(R==="%%")return"%";M++;const j=r.formatters[D];if(typeof j=="function"){const z=T[M];R=j.call(k,z),T.splice(M,1),M--}return R}),r.formatArgs.call(k,T),(k.log||r.log).apply(k,T)}return b.namespace=c,b.useColors=r.useColors(),b.color=r.selectColor(c),b.extend=n,b.destroy=r.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(m!==r.namespaces&&(m=r.namespaces,_=r.enabled(c)),_),set:T=>{p=T}}),typeof r.init=="function"&&r.init(b),b}function n(c,d){const p=r(this.namespace+(typeof d>"u"?":":d)+c);return p.log=this.log,p}function o(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let d;const p=(typeof c=="string"?c:"").split(/[\s,]+/),m=p.length;for(d=0;d"-"+d)].join(",");return r.enable(""),c}function s(c){if(c[c.length-1]==="*")return!0;let d,p;for(d=0,p=r.skips.length;d{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let u;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(u=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(u[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;u.splice(1,0,c,"color: inherit");let d=0,p=0;u[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(d++,m==="%c"&&(p=d))}),u.splice(p,0,c)}t.log=console.debug||console.log||(()=>{});function i(u){try{u?t.storage.setItem("debug",u):t.storage.removeItem("debug")}catch{}}function s(){let u;try{u=t.storage.getItem("debug")}catch{}return!u&&typeof Yt<"u"&&"env"in Yt&&(u=r.DEBUG),u}function a(){try{return localStorage}catch{}}e.exports=dL(t);const{formatters:l}=e.exports;l.j=function(u){try{return JSON.stringify(u)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}})(td,td.exports);var F1=td.exports;F1("mqtt-packet:parser");const{Buffer:Y0}=Zt;Y0.isBuffer(Y0.from([1,2]).subarray(0,1));var rd={exports:{}};typeof Yt>"u"||!Yt.version||Yt.version.indexOf("v0.")===0||Yt.version.indexOf("v1.")===0&&Yt.version.indexOf("v1.8.")!==0?rd.exports={nextTick:pL}:rd.exports=Yt;function pL(e,t,r,n){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var o=arguments.length,i,s;switch(o){case 0:case 1:return Yt.nextTick(e);case 2:return Yt.nextTick(function(){e.call(null,t)});case 3:return Yt.nextTick(function(){e.call(null,t,r)});case 4:return Yt.nextTick(function(){e.call(null,t,r,n)});default:for(i=new Array(o-1),s=0;st?1:e>=t?0:NaN}function mL(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function Mp(e){let t,r,n;e.length!==2?(t=Za,r=(a,l)=>Za(e(a),l),n=(a,l)=>e(a)-l):(t=e===Za||e===mL?e:yL,r=e,n=e);function o(a,l,u=0,c=a.length){if(u>>1;r(a[d],l)<0?u=d+1:c=d}while(u>>1;r(a[d],l)<=0?u=d+1:c=d}while(uu&&n(a[d-1],l)>-n(a[d],l)?d-1:d}return{left:o,center:s,right:i}}function yL(){return 0}function _L(e){return e===null?NaN:+e}const bL=Mp(Za),wL=bL.right;Mp(_L).center;function E3(e,t){let r,n;if(t===void 0)for(const o of e)o!=null&&(r===void 0?o>=o&&(r=n=o):(r>o&&(r=o),n=i&&(r=n=i):(r>i&&(r=i),n=AL?10:i>=TL?5:i>=xL?2:1;let a,l,u;return o<0?(u=Math.pow(10,-o)/s,a=Math.round(e*u),l=Math.round(t*u),a/ut&&--l,u=-u):(u=Math.pow(10,o)*s,a=Math.round(e/u),l=Math.round(t/u),a*ut&&--l),l0))return[];if(e===t)return[e];const n=t=o))return[];const a=i-o+1,l=new Array(a);if(n)if(s<0)for(let u=0;u=n)&&(r=n);else{let n=-1;for(let o of e)(o=t(o,++n,e))!=null&&(r=o)&&(r=o)}return r}function CL(e,t,r){e=+e,t=+t,r=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+r;for(var n=-1,o=Math.max(0,Math.ceil((t-e)/r))|0,i=new Array(o);++n+e(t)}function NL(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),r=>+e(r)+t}function PL(){return!this.__axis}function Au(e,t){var r=[],n=null,o=null,i=6,s=6,a=3,l=typeof window<"u"&&window.devicePixelRatio>1?0:.5,u=e===el||e===ws?-1:1,c=e===ws||e===tl?"x":"y",d=e===el||e===od?OL:kL;function p(m){var _=n??(t.ticks?t.ticks.apply(t,r):t.domain()),b=o??(t.tickFormat?t.tickFormat.apply(t,r):RL),T=Math.max(i,0)+a,k=t.range(),C=+k[0]+l,A=+k[k.length-1]+l,M=(t.bandwidth?NL:ML)(t.copy(),l),$=m.selection?m.selection():m,R=$.selectAll(".domain").data([null]),D=$.selectAll(".tick").data(_,t).order(),j=D.exit(),z=D.enter().append("g").attr("class","tick"),se=D.select("line"),re=D.select("text");R=R.merge(R.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),D=D.merge(z),se=se.merge(z.append("line").attr("stroke","currentColor").attr(c+"2",u*i)),re=re.merge(z.append("text").attr("fill","currentColor").attr(c,u*T).attr("dy",e===el?"0em":e===od?"0.71em":"0.32em")),m!==$&&(R=R.transition(m),D=D.transition(m),se=se.transition(m),re=re.transition(m),j=j.transition(m).attr("opacity",Q0).attr("transform",function(L){return isFinite(L=M(L))?d(L+l):this.getAttribute("transform")}),z.attr("opacity",Q0).attr("transform",function(L){var B=this.parentNode.__axis;return d((B&&isFinite(B=B(L))?B:M(L))+l)})),j.remove(),R.attr("d",e===ws||e===tl?s?"M"+u*s+","+C+"H"+l+"V"+A+"H"+u*s:"M"+l+","+C+"V"+A:s?"M"+C+","+u*s+"V"+l+"H"+A+"V"+u*s:"M"+C+","+l+"H"+A),D.attr("opacity",1).attr("transform",function(L){return d(M(L)+l)}),se.attr(c+"2",u*i),re.attr(c,u*T).text(b),$.filter(PL).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===tl?"start":e===ws?"end":"middle"),$.each(function(){this.__axis=M})}return p.scale=function(m){return arguments.length?(t=m,p):t},p.ticks=function(){return r=Array.from(arguments),p},p.tickArguments=function(m){return arguments.length?(r=m==null?[]:Array.from(m),p):r.slice()},p.tickValues=function(m){return arguments.length?(n=m==null?null:Array.from(m),p):n&&n.slice()},p.tickFormat=function(m){return arguments.length?(o=m,p):o},p.tickSize=function(m){return arguments.length?(i=s=+m,p):i},p.tickSizeInner=function(m){return arguments.length?(i=+m,p):i},p.tickSizeOuter=function(m){return arguments.length?(s=+m,p):s},p.tickPadding=function(m){return arguments.length?(a=+m,p):a},p.offset=function(m){return arguments.length?(l=+m,p):l},p}function A3(e){return Au(el,e)}function T3(e){return Au(tl,e)}function x3(e){return Au(od,e)}function I3(e){return Au(ws,e)}var LL={value:()=>{}};function W1(){for(var e=0,t=arguments.length,r={},n;e=0&&(n=r.slice(o+1),r=r.slice(0,o)),r&&!t.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:n}})}rl.prototype=W1.prototype={constructor:rl,on:function(e,t){var r=this._,n=DL(e+"",r),o,i=-1,s=n.length;if(arguments.length<2){for(;++i0)for(var r=new Array(o),n=0,o,i;n=0&&(t=e.slice(0,r))!=="xmlns"&&(e=e.slice(r+1)),J0.hasOwnProperty(t)?{space:J0[t],local:e}:e}function $L(e){return function(){var t=this.ownerDocument,r=this.namespaceURI;return r===sd&&t.documentElement.namespaceURI===sd?t.createElement(e):t.createElementNS(r,e)}}function UL(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function H1(e){var t=Tu(e);return(t.local?UL:$L)(t)}function FL(){}function Np(e){return e==null?FL:function(){return this.querySelector(e)}}function jL(e){typeof e!="function"&&(e=Np(e));for(var t=this._groups,r=t.length,n=new Array(r),o=0;o=A&&(A=C+1);!($=T[A])&&++A<_;);M._next=$||null}}return s=new Jt(s,n),s._enter=a,s._exit=l,s}function aD(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function lD(){return new Jt(this._exit||this._groups.map(Y1),this._parents)}function uD(e,t,r){var n=this.enter(),o=this,i=this.exit();return typeof e=="function"?(n=e(n),n&&(n=n.selection())):n=n.append(e+""),t!=null&&(o=t(o),o&&(o=o.selection())),r==null?i.remove():r(i),n&&o?n.merge(o).order():o}function cD(e){for(var t=e.selection?e.selection():e,r=this._groups,n=t._groups,o=r.length,i=n.length,s=Math.min(o,i),a=new Array(o),l=0;l=0;)(s=n[o])&&(i&&s.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(s,i),i=s);return this}function hD(e){e||(e=dD);function t(d,p){return d&&p?e(d.__data__,p.__data__):!d-!p}for(var r=this._groups,n=r.length,o=new Array(n),i=0;it?1:e>=t?0:NaN}function pD(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function gD(){return Array.from(this)}function mD(){for(var e=this._groups,t=0,r=e.length;t1?this.each((t==null?ID:typeof t=="function"?RD:CD)(e,t,r??"")):Uo(this.node(),e)}function Uo(e,t){return e.style.getPropertyValue(t)||z1(e).getComputedStyle(e,null).getPropertyValue(t)}function kD(e){return function(){delete this[e]}}function MD(e,t){return function(){this[e]=t}}function ND(e,t){return function(){var r=t.apply(this,arguments);r==null?delete this[e]:this[e]=r}}function PD(e,t){return arguments.length>1?this.each((t==null?kD:typeof t=="function"?ND:MD)(e,t)):this.node()[e]}function G1(e){return e.trim().split(/^|\s+/)}function Pp(e){return e.classList||new Q1(e)}function Q1(e){this._node=e,this._names=G1(e.getAttribute("class")||"")}Q1.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function X1(e,t){for(var r=Pp(e),n=-1,o=t.length;++n=0&&(r=t.slice(n+1),t=t.slice(0,n)),{type:t,name:r}})}function lB(e){return function(){var t=this.__on;if(t){for(var r=0,n=-1,o=t.length,i;r>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Ca(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Ca(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=yB.exec(e))?new Ft(t[1],t[2],t[3],1):(t=_B.exec(e))?new Ft(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=bB.exec(e))?Ca(t[1],t[2],t[3],t[4]):(t=wB.exec(e))?Ca(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=vB.exec(e))?oy(t[1],t[2]/100,t[3]/100,1):(t=EB.exec(e))?oy(t[1],t[2]/100,t[3]/100,t[4]):Z0.hasOwnProperty(e)?ry(Z0[e]):e==="transparent"?new Ft(NaN,NaN,NaN,0):null}function ry(e){return new Ft(e>>16&255,e>>8&255,e&255,1)}function Ca(e,t,r,n){return n<=0&&(e=t=r=NaN),new Ft(e,t,r,n)}function TB(e){return e instanceof ra||(e=Pi(e)),e?(e=e.rgb(),new Ft(e.r,e.g,e.b,e.opacity)):new Ft}function ad(e,t,r,n){return arguments.length===1?TB(e):new Ft(e,t,r,n??1)}function Ft(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}Lp(Ft,ad,tE(ra,{brighter(e){return e=e==null?xl:Math.pow(xl,e),new Ft(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Us:Math.pow(Us,e),new Ft(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ft(Ci(this.r),Ci(this.g),Ci(this.b),Il(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ny,formatHex:ny,formatHex8:xB,formatRgb:iy,toString:iy}));function ny(){return`#${vi(this.r)}${vi(this.g)}${vi(this.b)}`}function xB(){return`#${vi(this.r)}${vi(this.g)}${vi(this.b)}${vi((isNaN(this.opacity)?1:this.opacity)*255)}`}function iy(){const e=Il(this.opacity);return`${e===1?"rgb(":"rgba("}${Ci(this.r)}, ${Ci(this.g)}, ${Ci(this.b)}${e===1?")":`, ${e})`}`}function Il(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ci(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function vi(e){return e=Ci(e),(e<16?"0":"")+e.toString(16)}function oy(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new yr(e,t,r,n)}function rE(e){if(e instanceof yr)return new yr(e.h,e.s,e.l,e.opacity);if(e instanceof ra||(e=Pi(e)),!e)return new yr;if(e instanceof yr)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),s=NaN,a=i-o,l=(i+o)/2;return a?(t===i?s=(r-n)/a+(r0&&l<1?0:s,new yr(s,a,l,e.opacity)}function IB(e,t,r,n){return arguments.length===1?rE(e):new yr(e,t,r,n??1)}function yr(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Lp(yr,IB,tE(ra,{brighter(e){return e=e==null?xl:Math.pow(xl,e),new yr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Us:Math.pow(Us,e),new yr(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new Ft(Wc(e>=240?e-240:e+120,o,n),Wc(e,o,n),Wc(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new yr(sy(this.h),Ra(this.s),Ra(this.l),Il(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Il(this.opacity);return`${e===1?"hsl(":"hsla("}${sy(this.h)}, ${Ra(this.s)*100}%, ${Ra(this.l)*100}%${e===1?")":`, ${e})`}`}}));function sy(e){return e=(e||0)%360,e<0?e+360:e}function Ra(e){return Math.max(0,Math.min(1,e||0))}function Wc(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const Dp=e=>()=>e;function CB(e,t){return function(r){return e+r*t}}function RB(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function OB(e){return(e=+e)==1?nE:function(t,r){return r-t?RB(t,r,e):Dp(isNaN(t)?r:t)}}function nE(e,t){var r=t-e;return r?CB(e,r):Dp(isNaN(e)?t:e)}const Cl=function e(t){var r=OB(t);function n(o,i){var s=r((o=ad(o)).r,(i=ad(i)).r),a=r(o.g,i.g),l=r(o.b,i.b),u=nE(o.opacity,i.opacity);return function(c){return o.r=s(c),o.g=a(c),o.b=l(c),o.opacity=u(c),o+""}}return n.gamma=e,n}(1);function kB(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),o;return function(i){for(o=0;or&&(i=t.slice(r,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(o=o[0])?a[s]?a[s]+=o:a[++s]=o:(a[++s]=null,l.push({i:s,x:gr(n,o)})),r=Hc.lastIndex;return r180?c+=360:c-u>180&&(u+=360),p.push({i:d.push(o(d)+"rotate(",null,n)-2,x:gr(u,c)})):c&&d.push(o(d)+"rotate("+c+n)}function a(u,c,d,p){u!==c?p.push({i:d.push(o(d)+"skewX(",null,n)-2,x:gr(u,c)}):c&&d.push(o(d)+"skewX("+c+n)}function l(u,c,d,p,m,_){if(u!==d||c!==p){var b=m.push(o(m)+"scale(",null,",",null,")");_.push({i:b-4,x:gr(u,d)},{i:b-2,x:gr(c,p)})}else(d!==1||p!==1)&&m.push(o(m)+"scale("+d+","+p+")")}return function(u,c){var d=[],p=[];return u=e(u),c=e(c),i(u.translateX,u.translateY,c.translateX,c.translateY,d,p),s(u.rotate,c.rotate,d,p),a(u.skewX,c.skewX,d,p),l(u.scaleX,u.scaleY,c.scaleX,c.scaleY,d,p),u=c=null,function(m){for(var _=-1,b=p.length,T;++_=0&&e._call.call(void 0,t),e=e._next;--Fo}function ly(){Li=(Ol=js.now())+xu,Fo=vs=0;try{VB()}finally{Fo=0,KB(),Li=0}}function qB(){var e=js.now(),t=e-Ol;t>aE&&(xu-=t,Ol=e)}function KB(){for(var e,t=Rl,r,n=1/0;t;)t._call?(n>t._time&&(n=t._time),e=t,t=t._next):(r=t._next,t._next=null,t=e?e._next=r:Rl=r);Es=e,cd(n)}function cd(e){if(!Fo){vs&&(vs=clearTimeout(vs));var t=e-Li;t>24?(e<1/0&&(vs=setTimeout(ly,e-js.now()-xu)),fs&&(fs=clearInterval(fs))):(fs||(Ol=js.now(),fs=setInterval(qB,aE)),Fo=1,lE(ly))}}function uy(e,t,r){var n=new kl;return t=t==null?0:+t,n.restart(o=>{n.stop(),e(o+t)},t,r),n}var YB=W1("start","end","cancel","interrupt"),zB=[],cE=0,cy=1,fd=2,nl=3,fy=4,hd=5,il=6;function Iu(e,t,r,n,o,i){var s=e.__transition;if(!s)e.__transition={};else if(r in s)return;GB(e,r,{name:t,index:n,group:o,on:YB,tween:zB,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:cE})}function Up(e,t){var r=vr(e,t);if(r.state>cE)throw new Error("too late; already scheduled");return r}function Hr(e,t){var r=vr(e,t);if(r.state>nl)throw new Error("too late; already running");return r}function vr(e,t){var r=e.__transition;if(!r||!(r=r[t]))throw new Error("transition not found");return r}function GB(e,t,r){var n=e.__transition,o;n[t]=r,r.timer=uE(i,0,r.time);function i(u){r.state=cy,r.timer.restart(s,r.delay,r.time),r.delay<=u&&s(u-r.delay)}function s(u){var c,d,p,m;if(r.state!==cy)return l();for(c in n)if(m=n[c],m.name===r.name){if(m.state===nl)return uy(s);m.state===fy?(m.state=il,m.timer.stop(),m.on.call("interrupt",e,e.__data__,m.index,m.group),delete n[c]):+cfd&&n.state=0&&(t=t.slice(0,r)),!t||t==="start"})}function x$(e,t,r){var n,o,i=T$(t)?Up:Hr;return function(){var s=i(this,e),a=s.on;a!==n&&(o=(n=a).copy()).on(t,r),s.on=o}}function I$(e,t){var r=this._id;return arguments.length<2?vr(this.node(),r).on.on(e):this.each(x$(r,e,t))}function C$(e){return function(){var t=this.parentNode;for(var r in this.__transition)if(+r!==e)return;t&&t.removeChild(this)}}function R$(){return this.on("end.remove",C$(this._id))}function O$(e){var t=this._name,r=this._id;typeof e!="function"&&(e=Np(e));for(var n=this._groups,o=n.length,i=new Array(o),s=0;s+e;function X$(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var J$={time:null,delay:0,duration:250,ease:X$};function Z$(e,t){for(var r;!(r=e.__transition)||!(r=r[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return r}function eU(e){var t,r;e instanceof yn?(t=e._id,e=e._name):(t=dE(),(r=J$).time=$p(),e=e==null?null:e+"");for(var n=this._groups,o=n.length,i=0;i=0))throw new Error(`invalid digits: ${e}`);if(t>15)return pE;const r=10**t;return function(n){this._+=n[0];for(let o=1,i=n.length;ohi)if(!(Math.abs(d*l-u*c)>hi)||!i)this._append`L${this._x1=t},${this._y1=r}`;else{let m=n-s,_=o-a,b=l*l+u*u,T=m*m+_*_,k=Math.sqrt(b),C=Math.sqrt(p),A=i*Math.tan((dd-Math.acos((b+p-T)/(2*k*C)))/2),M=A/C,$=A/k;Math.abs(M-1)>hi&&this._append`L${t+M*c},${r+M*d}`,this._append`A${i},${i},0,0,${+(d*m>c*_)},${this._x1=t+$*l},${this._y1=r+$*u}`}}arc(t,r,n,o,i,s){if(t=+t,r=+r,n=+n,s=!!s,n<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(o),l=n*Math.sin(o),u=t+a,c=r+l,d=1^s,p=s?o-i:i-o;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>hi||Math.abs(this._y1-c)>hi)&&this._append`L${u},${c}`,n&&(p<0&&(p=p%pd+pd),p>tU?this._append`A${n},${n},0,1,${d},${t-a},${r-l}A${n},${n},0,1,${d},${this._x1=u},${this._y1=c}`:p>hi&&this._append`A${n},${n},0,${+(p>=dd)},${d},${this._x1=t+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(t,r,n,o){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+o}h${-n}Z`}toString(){return this._}}function iU(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Ml(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function jo(e){return e=Ml(Math.abs(e)),e?e[1]:NaN}function oU(e,t){return function(r,n){for(var o=r.length,i=[],s=0,a=e[0],l=0;o>0&&a>0&&(l+a+1>n&&(a=Math.max(1,n-l)),i.push(r.substring(o-=a,o+a)),!((l+=a+1)>n));)a=e[s=(s+1)%e.length];return i.reverse().join(t)}}function sU(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var aU=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Nl(e){if(!(t=aU.exec(e)))throw new Error("invalid format: "+e);var t;return new jp({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Nl.prototype=jp.prototype;function jp(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}jp.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function lU(e){e:for(var t=e.length,r=1,n=-1,o;r0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(o+1):e}var gE;function uU(e,t){var r=Ml(e,t);if(!r)return e+"";var n=r[0],o=r[1],i=o-(gE=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,s=n.length;return i===s?n:i>s?n+new Array(i-s+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+Ml(e,Math.max(0,t+i-1))[0]}function hy(e,t){var r=Ml(e,t);if(!r)return e+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}const dy={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:iU,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>hy(e*100,t),r:hy,s:uU,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function py(e){return e}var gy=Array.prototype.map,my=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function cU(e){var t=e.grouping===void 0||e.thousands===void 0?py:oU(gy.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",o=e.decimal===void 0?".":e.decimal+"",i=e.numerals===void 0?py:sU(gy.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",a=e.minus===void 0?"−":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function u(d){d=Nl(d);var p=d.fill,m=d.align,_=d.sign,b=d.symbol,T=d.zero,k=d.width,C=d.comma,A=d.precision,M=d.trim,$=d.type;$==="n"?(C=!0,$="g"):dy[$]||(A===void 0&&(A=12),M=!0,$="g"),(T||p==="0"&&m==="=")&&(T=!0,p="0",m="=");var R=b==="$"?r:b==="#"&&/[boxX]/.test($)?"0"+$.toLowerCase():"",D=b==="$"?n:/[%p]/.test($)?s:"",j=dy[$],z=/[defgprs%]/.test($);A=A===void 0?6:/[gprs]/.test($)?Math.max(1,Math.min(21,A)):Math.max(0,Math.min(20,A));function se(re){var L=R,B=D,oe,ne,ue;if($==="c")B=j(re)+B,re="";else{re=+re;var ae=re<0||1/re<0;if(re=isNaN(re)?l:j(Math.abs(re),A),M&&(re=lU(re)),ae&&+re==0&&_!=="+"&&(ae=!1),L=(ae?_==="("?_:a:_==="-"||_==="("?"":_)+L,B=($==="s"?my[8+gE/3]:"")+B+(ae&&_==="("?")":""),z){for(oe=-1,ne=re.length;++oeue||ue>57){B=(ue===46?o+re.slice(oe+1):re.slice(oe))+B,re=re.slice(0,oe);break}}}C&&!T&&(re=t(re,1/0));var G=L.length+re.length+B.length,pe=G>1)+L+re+B+pe.slice(G);break;default:re=pe+L+re+B;break}return i(re)}return se.toString=function(){return d+""},se}function c(d,p){var m=u((d=Nl(d),d.type="f",d)),_=Math.max(-8,Math.min(8,Math.floor(jo(p)/3)))*3,b=Math.pow(10,-_),T=my[8+_/3];return function(k){return m(b*k)+T}}return{format:u,formatPrefix:c}}var ka,mE,yE;fU({thousands:",",grouping:[3],currency:["$",""]});function fU(e){return ka=cU(e),mE=ka.format,yE=ka.formatPrefix,ka}function hU(e){return Math.max(0,-jo(Math.abs(e)))}function dU(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(jo(t)/3)))*3-jo(Math.abs(e)))}function pU(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,jo(t)-jo(e))+1}function Cu(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const yy=Symbol("implicit");function _E(){var e=new z0,t=[],r=[],n=yy;function o(i){let s=e.get(i);if(s===void 0){if(n!==yy)return n;e.set(i,s=t.push(i)-1)}return r[s%r.length]}return o.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new z0;for(const s of i)e.has(s)||e.set(s,t.push(s)-1);return o},o.range=function(i){return arguments.length?(r=Array.from(i),o):r.slice()},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return _E(t,r).unknown(n)},Cu.apply(o,arguments),o}function gU(){var e=_E().unknown(void 0),t=e.domain,r=e.range,n=0,o=1,i,s,a=!1,l=0,u=0,c=.5;delete e.unknown;function d(){var p=t().length,m=ot&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function bU(e,t,r){var n=e[0],o=e[1],i=t[0],s=t[1];return o2?wU:bU,l=u=null,d}function d(p){return p==null||isNaN(p=+p)?i:(l||(l=a(e.map(n),t,r)))(n(s(p)))}return d.invert=function(p){return s(o((u||(u=a(t,e.map(n),gr)))(p)))},d.domain=function(p){return arguments.length?(e=Array.from(p,yU),c()):e.slice()},d.range=function(p){return arguments.length?(t=Array.from(p),c()):t.slice()},d.rangeRound=function(p){return t=Array.from(p),r=$B,c()},d.clamp=function(p){return arguments.length?(s=p?!0:go,c()):s!==go},d.interpolate=function(p){return arguments.length?(r=p,c()):r},d.unknown=function(p){return arguments.length?(i=p,d):i},function(p,m){return n=p,o=m,c()}}function wE(){return vU()(go,go)}function EU(e,t,r,n){var o=id(e,t,r),i;switch(n=Nl(n??",f"),n.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(i=dU(o,s))&&(n.precision=i),yE(n,s)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(i=pU(o,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=i-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(i=hU(o))&&(n.precision=i-(n.type==="%")*2);break}}return mE(n)}function SU(e){var t=e.domain;return e.ticks=function(r){var n=t();return IL(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var o=t();return EU(o[0],o[o.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),o=0,i=n.length-1,s=n[o],a=n[i],l,u,c=10;for(a0;){if(u=nd(s,a,r),u===l)return n[o]=s,n[i]=a,t(n);if(u>0)s=Math.floor(s/u)*u,a=Math.ceil(a/u)*u;else if(u<0)s=Math.ceil(s*u)/u,a=Math.floor(a*u)/u;else break;l=u}return e},e}function AU(){var e=wE();return e.copy=function(){return bE(e,AU())},Cu.apply(e,arguments),SU(e)}function TU(e,t){e=e.slice();var r=0,n=e.length-1,o=e[r],i=e[n],s;return i(e(i=new Date(+i)),i),o.ceil=i=>(e(i=new Date(i-1)),t(i,1),e(i),i),o.round=i=>{const s=o(i),a=o.ceil(i);return i-s(t(i=new Date(+i),s==null?1:Math.floor(s)),i),o.range=(i,s,a)=>{const l=[];if(i=o.ceil(i),a=a==null?1:Math.floor(a),!(i0))return l;let u;do l.push(u=new Date(+i)),t(i,a),e(i);while(udt(s=>{if(s>=s)for(;e(s),!i(s);)s.setTime(s-1)},(s,a)=>{if(s>=s)if(a<0)for(;++a<=0;)for(;t(s,-1),!i(s););else for(;--a>=0;)for(;t(s,1),!i(s););}),r&&(o.count=(i,s)=>(Vc.setTime(+i),qc.setTime(+s),e(Vc),e(qc),Math.floor(r(Vc,qc))),o.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?o.filter(n?s=>n(s)%i===0:s=>o.count(0,s)%i===0):o)),o}const Pl=dt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Pl.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?dt(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):Pl);Pl.range;const sn=1e3,ir=sn*60,an=ir*60,_n=an*24,Wp=_n*7,by=_n*30,Kc=_n*365,mo=dt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*sn)},(e,t)=>(t-e)/sn,e=>e.getUTCSeconds());mo.range;const Hp=dt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*sn)},(e,t)=>{e.setTime(+e+t*ir)},(e,t)=>(t-e)/ir,e=>e.getMinutes());Hp.range;const xU=dt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*ir)},(e,t)=>(t-e)/ir,e=>e.getUTCMinutes());xU.range;const Vp=dt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*sn-e.getMinutes()*ir)},(e,t)=>{e.setTime(+e+t*an)},(e,t)=>(t-e)/an,e=>e.getHours());Vp.range;const IU=dt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*an)},(e,t)=>(t-e)/an,e=>e.getUTCHours());IU.range;const na=dt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ir)/_n,e=>e.getDate()-1);na.range;const qp=dt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/_n,e=>e.getUTCDate()-1);qp.range;const CU=dt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/_n,e=>Math.floor(e/_n));CU.range;function Gi(e){return dt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*ir)/Wp)}const Ru=Gi(0),Ll=Gi(1),RU=Gi(2),OU=Gi(3),Wo=Gi(4),kU=Gi(5),MU=Gi(6);Ru.range;Ll.range;RU.range;OU.range;Wo.range;kU.range;MU.range;function Qi(e){return dt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/Wp)}const vE=Qi(0),Dl=Qi(1),NU=Qi(2),PU=Qi(3),Ho=Qi(4),LU=Qi(5),DU=Qi(6);vE.range;Dl.range;NU.range;PU.range;Ho.range;LU.range;DU.range;const Kp=dt(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Kp.range;const BU=dt(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());BU.range;const bn=dt(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());bn.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:dt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});bn.range;const Di=dt(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Di.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:dt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});Di.range;function $U(e,t,r,n,o,i){const s=[[mo,1,sn],[mo,5,5*sn],[mo,15,15*sn],[mo,30,30*sn],[i,1,ir],[i,5,5*ir],[i,15,15*ir],[i,30,30*ir],[o,1,an],[o,3,3*an],[o,6,6*an],[o,12,12*an],[n,1,_n],[n,2,2*_n],[r,1,Wp],[t,1,by],[t,3,3*by],[e,1,Kc]];function a(u,c,d){const p=cT).right(s,p);if(m===s.length)return e.every(id(u/Kc,c/Kc,d));if(m===0)return Pl.every(Math.max(id(u,c,d),1));const[_,b]=s[p/s[m-1][2]53)return null;"w"in ee||(ee.w=1),"Z"in ee?(S=zc(hs(ee.y,0,1)),E=S.getUTCDay(),S=E>4||E===0?Dl.ceil(S):Dl(S),S=qp.offset(S,(ee.V-1)*7),ee.y=S.getUTCFullYear(),ee.m=S.getUTCMonth(),ee.d=S.getUTCDate()+(ee.w+6)%7):(S=Yc(hs(ee.y,0,1)),E=S.getDay(),S=E>4||E===0?Ll.ceil(S):Ll(S),S=na.offset(S,(ee.V-1)*7),ee.y=S.getFullYear(),ee.m=S.getMonth(),ee.d=S.getDate()+(ee.w+6)%7)}else("W"in ee||"U"in ee)&&("w"in ee||(ee.w="u"in ee?ee.u%7:"W"in ee?1:0),E="Z"in ee?zc(hs(ee.y,0,1)).getUTCDay():Yc(hs(ee.y,0,1)).getDay(),ee.m=0,ee.d="W"in ee?(ee.w+6)%7+ee.W*7-(E+5)%7:ee.w+ee.U*7-(E+6)%7);return"Z"in ee?(ee.H+=ee.Z/100|0,ee.M+=ee.Z%100,zc(ee)):Yc(ee)}}function j(Z,he,fe,ee){for(var v=0,S=he.length,E=fe.length,N,P;v=E)return-1;if(N=he.charCodeAt(v++),N===37){if(N=he.charAt(v++),P=$[N in wy?he.charAt(v++):N],!P||(ee=P(Z,fe,ee))<0)return-1}else if(N!=fe.charCodeAt(ee++))return-1}return ee}function z(Z,he,fe){var ee=u.exec(he.slice(fe));return ee?(Z.p=c.get(ee[0].toLowerCase()),fe+ee[0].length):-1}function se(Z,he,fe){var ee=m.exec(he.slice(fe));return ee?(Z.w=_.get(ee[0].toLowerCase()),fe+ee[0].length):-1}function re(Z,he,fe){var ee=d.exec(he.slice(fe));return ee?(Z.w=p.get(ee[0].toLowerCase()),fe+ee[0].length):-1}function L(Z,he,fe){var ee=k.exec(he.slice(fe));return ee?(Z.m=C.get(ee[0].toLowerCase()),fe+ee[0].length):-1}function B(Z,he,fe){var ee=b.exec(he.slice(fe));return ee?(Z.m=T.get(ee[0].toLowerCase()),fe+ee[0].length):-1}function oe(Z,he,fe){return j(Z,t,he,fe)}function ne(Z,he,fe){return j(Z,r,he,fe)}function ue(Z,he,fe){return j(Z,n,he,fe)}function ae(Z){return s[Z.getDay()]}function G(Z){return i[Z.getDay()]}function pe(Z){return l[Z.getMonth()]}function de(Z){return a[Z.getMonth()]}function ge(Z){return o[+(Z.getHours()>=12)]}function O(Z){return 1+~~(Z.getMonth()/3)}function ie(Z){return s[Z.getUTCDay()]}function me(Z){return i[Z.getUTCDay()]}function ve(Z){return l[Z.getUTCMonth()]}function ye(Z){return a[Z.getUTCMonth()]}function V(Z){return o[+(Z.getUTCHours()>=12)]}function F(Z){return 1+~~(Z.getUTCMonth()/3)}return{format:function(Z){var he=R(Z+="",A);return he.toString=function(){return Z},he},parse:function(Z){var he=D(Z+="",!1);return he.toString=function(){return Z},he},utcFormat:function(Z){var he=R(Z+="",M);return he.toString=function(){return Z},he},utcParse:function(Z){var he=D(Z+="",!0);return he.toString=function(){return Z},he}}}var wy={"-":"",_:" ",0:"0"},gt=/^\s*\d+/,WU=/^%/,HU=/[\\^$*+?|[\]().{}]/g;function Fe(e,t,r){var n=e<0?"-":"",o=(n?-e:e)+"",i=o.length;return n+(i[t.toLowerCase(),r]))}function qU(e,t,r){var n=gt.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function KU(e,t,r){var n=gt.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function YU(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function zU(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function GU(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function vy(e,t,r){var n=gt.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function Ey(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function QU(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function XU(e,t,r){var n=gt.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function JU(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Sy(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function ZU(e,t,r){var n=gt.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Ay(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function eF(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function tF(e,t,r){var n=gt.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function rF(e,t,r){var n=gt.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function nF(e,t,r){var n=gt.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function iF(e,t,r){var n=WU.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function oF(e,t,r){var n=gt.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function sF(e,t,r){var n=gt.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Ty(e,t){return Fe(e.getDate(),t,2)}function aF(e,t){return Fe(e.getHours(),t,2)}function lF(e,t){return Fe(e.getHours()%12||12,t,2)}function uF(e,t){return Fe(1+na.count(bn(e),e),t,3)}function EE(e,t){return Fe(e.getMilliseconds(),t,3)}function cF(e,t){return EE(e,t)+"000"}function fF(e,t){return Fe(e.getMonth()+1,t,2)}function hF(e,t){return Fe(e.getMinutes(),t,2)}function dF(e,t){return Fe(e.getSeconds(),t,2)}function pF(e){var t=e.getDay();return t===0?7:t}function gF(e,t){return Fe(Ru.count(bn(e)-1,e),t,2)}function SE(e){var t=e.getDay();return t>=4||t===0?Wo(e):Wo.ceil(e)}function mF(e,t){return e=SE(e),Fe(Wo.count(bn(e),e)+(bn(e).getDay()===4),t,2)}function yF(e){return e.getDay()}function _F(e,t){return Fe(Ll.count(bn(e)-1,e),t,2)}function bF(e,t){return Fe(e.getFullYear()%100,t,2)}function wF(e,t){return e=SE(e),Fe(e.getFullYear()%100,t,2)}function vF(e,t){return Fe(e.getFullYear()%1e4,t,4)}function EF(e,t){var r=e.getDay();return e=r>=4||r===0?Wo(e):Wo.ceil(e),Fe(e.getFullYear()%1e4,t,4)}function SF(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Fe(t/60|0,"0",2)+Fe(t%60,"0",2)}function xy(e,t){return Fe(e.getUTCDate(),t,2)}function AF(e,t){return Fe(e.getUTCHours(),t,2)}function TF(e,t){return Fe(e.getUTCHours()%12||12,t,2)}function xF(e,t){return Fe(1+qp.count(Di(e),e),t,3)}function AE(e,t){return Fe(e.getUTCMilliseconds(),t,3)}function IF(e,t){return AE(e,t)+"000"}function CF(e,t){return Fe(e.getUTCMonth()+1,t,2)}function RF(e,t){return Fe(e.getUTCMinutes(),t,2)}function OF(e,t){return Fe(e.getUTCSeconds(),t,2)}function kF(e){var t=e.getUTCDay();return t===0?7:t}function MF(e,t){return Fe(vE.count(Di(e)-1,e),t,2)}function TE(e){var t=e.getUTCDay();return t>=4||t===0?Ho(e):Ho.ceil(e)}function NF(e,t){return e=TE(e),Fe(Ho.count(Di(e),e)+(Di(e).getUTCDay()===4),t,2)}function PF(e){return e.getUTCDay()}function LF(e,t){return Fe(Dl.count(Di(e)-1,e),t,2)}function DF(e,t){return Fe(e.getUTCFullYear()%100,t,2)}function BF(e,t){return e=TE(e),Fe(e.getUTCFullYear()%100,t,2)}function $F(e,t){return Fe(e.getUTCFullYear()%1e4,t,4)}function UF(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Ho(e):Ho.ceil(e),Fe(e.getUTCFullYear()%1e4,t,4)}function FF(){return"+0000"}function Iy(){return"%"}function Cy(e){return+e}function Ry(e){return Math.floor(+e/1e3)}var no,xE,jF;WF({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function WF(e){return no=jU(e),xE=no.format,jF=no.parse,no.utcFormat,no.utcParse,no}function HF(e){return new Date(e)}function VF(e){return e instanceof Date?+e:+new Date(+e)}function IE(e,t,r,n,o,i,s,a,l,u){var c=wE(),d=c.invert,p=c.domain,m=u(".%L"),_=u(":%S"),b=u("%I:%M"),T=u("%I %p"),k=u("%a %d"),C=u("%b %d"),A=u("%B"),M=u("%Y");function $(R){return(l(R)1?0:e<-1?Ws:Math.acos(e)}function ky(e){return e>=1?Bl:e<=-1?-Bl:Math.asin(e)}function Yp(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new nU(t)}function YF(e){return e.innerRadius}function zF(e){return e.outerRadius}function GF(e){return e.startAngle}function QF(e){return e.endAngle}function XF(e){return e&&e.padAngle}function JF(e,t,r,n,o,i,s,a){var l=r-e,u=n-t,c=s-o,d=a-i,p=d*l-c*u;if(!(p*p<$t))return p=(c*(t-i)-d*(e-o))/p,[e+p*l,t+p*u]}function Ma(e,t,r,n,o,i,s){var a=e-r,l=t-n,u=(s?i:-i)/yo(a*a+l*l),c=u*l,d=-u*a,p=e+c,m=t+d,_=r+c,b=n+d,T=(p+_)/2,k=(m+b)/2,C=_-p,A=b-m,M=C*C+A*A,$=o-i,R=p*b-_*m,D=(A<0?-1:1)*yo(qF(0,$*$*M-R*R)),j=(R*A-C*D)/M,z=(-R*C-A*D)/M,se=(R*A+C*D)/M,re=(-R*C+A*D)/M,L=j-T,B=z-k,oe=se-T,ne=re-k;return L*L+B*B>oe*oe+ne*ne&&(j=se,z=re),{cx:j,cy:z,x01:-c,y01:-d,x11:j*(o/$-1),y11:z*(o/$-1)}}function k3(){var e=YF,t=zF,r=$e(0),n=null,o=GF,i=QF,s=XF,a=null,l=Yp(u);function u(){var c,d,p=+e.apply(this,arguments),m=+t.apply(this,arguments),_=o.apply(this,arguments)-Bl,b=i.apply(this,arguments)-Bl,T=Oy(b-_),k=b>_;if(a||(a=c=l()),m$t))a.moveTo(0,0);else if(T>ol-$t)a.moveTo(m*li(_),m*Ar(_)),a.arc(0,0,m,_,b,!k),p>$t&&(a.moveTo(p*li(b),p*Ar(b)),a.arc(0,0,p,b,_,k));else{var C=_,A=b,M=_,$=b,R=T,D=T,j=s.apply(this,arguments)/2,z=j>$t&&(n?+n.apply(this,arguments):yo(p*p+m*m)),se=Gc(Oy(m-p)/2,+r.apply(this,arguments)),re=se,L=se,B,oe;if(z>$t){var ne=ky(z/p*Ar(j)),ue=ky(z/m*Ar(j));(R-=ne*2)>$t?(ne*=k?1:-1,M+=ne,$-=ne):(R=0,M=$=(_+b)/2),(D-=ue*2)>$t?(ue*=k?1:-1,C+=ue,A-=ue):(D=0,C=A=(_+b)/2)}var ae=m*li(C),G=m*Ar(C),pe=p*li($),de=p*Ar($);if(se>$t){var ge=m*li(A),O=m*Ar(A),ie=p*li(M),me=p*Ar(M),ve;if(T$t?L>$t?(B=Ma(ie,me,ae,G,m,L,k),oe=Ma(ge,O,pe,de,m,L,k),a.moveTo(B.cx+B.x01,B.cy+B.y01),L$t)||!(R>$t)?a.lineTo(pe,de):re>$t?(B=Ma(pe,de,ge,O,p,-re,k),oe=Ma(ae,G,ie,me,p,-re,k),a.lineTo(B.cx+B.x01,B.cy+B.y01),re=m;--_)a.point(A[_],M[_]);a.lineEnd(),a.areaEnd()}k&&(A[p]=+e(T,p,d),M[p]=+t(T,p,d),a.point(n?+n(T,p,d):A[p],r?+r(T,p,d):M[p]))}if(C)return a=null,C+""||null}function c(){return ZF().defined(o).curve(s).context(i)}return u.x=function(d){return arguments.length?(e=typeof d=="function"?d:$e(+d),n=null,u):e},u.x0=function(d){return arguments.length?(e=typeof d=="function"?d:$e(+d),u):e},u.x1=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:$e(+d),u):n},u.y=function(d){return arguments.length?(t=typeof d=="function"?d:$e(+d),r=null,u):t},u.y0=function(d){return arguments.length?(t=typeof d=="function"?d:$e(+d),u):t},u.y1=function(d){return arguments.length?(r=d==null?null:typeof d=="function"?d:$e(+d),u):r},u.lineX0=u.lineY0=function(){return c().x(e).y(t)},u.lineY1=function(){return c().x(e).y(r)},u.lineX1=function(){return c().x(n).y(t)},u.defined=function(d){return arguments.length?(o=typeof d=="function"?d:$e(!!d),u):o},u.curve=function(d){return arguments.length?(s=d,i!=null&&(a=s(i)),u):s},u.context=function(d){return arguments.length?(d==null?i=a=null:a=s(i=d),u):i},u}function e3(e,t){return te?1:t>=e?0:NaN}function t3(e){return e}function N3(){var e=t3,t=e3,r=null,n=$e(0),o=$e(ol),i=$e(0);function s(a){var l,u=(a=Ou(a)).length,c,d,p=0,m=new Array(u),_=new Array(u),b=+n.apply(this,arguments),T=Math.min(ol,Math.max(-ol,o.apply(this,arguments)-b)),k,C=Math.min(Math.abs(T)/u,i.apply(this,arguments)),A=C*(T<0?-1:1),M;for(l=0;l0&&(p+=M);for(t!=null?m.sort(function($,R){return t(_[$],_[R])}):r!=null&&m.sort(function($,R){return r(a[$],a[R])}),l=0,d=p?(T-u*A)/p:0;l0?M*d:0)+A,_[c]={data:a[c],index:l,value:M,startAngle:b,endAngle:k,padAngle:C};return _}return s.value=function(a){return arguments.length?(e=typeof a=="function"?a:$e(+a),s):e},s.sortValues=function(a){return arguments.length?(t=a,r=null,s):t},s.sort=function(a){return arguments.length?(r=a,t=null,s):r},s.startAngle=function(a){return arguments.length?(n=typeof a=="function"?a:$e(+a),s):n},s.endAngle=function(a){return arguments.length?(o=typeof a=="function"?a:$e(+a),s):o},s.padAngle=function(a){return arguments.length?(i=typeof a=="function"?a:$e(+a),s):i},s}function My(e,t){if((s=e.length)>1)for(var r=1,n,o,i=e[t[0]],s,a=i.length;r=0;)r[t]=t;return r}function r3(e,t){return e[t]}function n3(e){const t=[];return t.key=e,t}function P3(){var e=$e([]),t=Ny,r=My,n=r3;function o(i){var s=Array.from(e.apply(this,arguments),n3),a,l=s.length,u=-1,c;for(const d of i)for(a=0,++u;at in e?dE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var it=(e,t,r)=>(pE(e,typeof t!="symbol"?t+"":t,r),r),Ou=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var G=(e,t,r)=>(Ou(e,t,"read from private field"),r?r.call(e):t.get(e)),$e=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Le=(e,t,r,n)=>(Ou(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Xs=(e,t,r,n)=>({set _(o){Le(e,t,o,r)},get _(){return G(e,t,n)}}),Me=(e,t,r)=>(Ou(e,t,"access private method"),r);const Ii=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function ld(e,t){const r=new Set(e.split(","));return n=>r.has(n)}const Xe={},fo=[],tr=()=>{},gE=()=>!1,Nl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ud=e=>e.startsWith("onUpdate:"),wt=Object.assign,cd=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},mE=Object.prototype.hasOwnProperty,Fe=(e,t)=>mE.call(e,t),Be=Array.isArray,ho=e=>Ds(e)==="[object Map]",Ml=e=>Ds(e)==="[object Set]",Up=e=>Ds(e)==="[object Date]",De=e=>typeof e=="function",dt=e=>typeof e=="string",Dn=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",vy=e=>(Je(e)||De(e))&&De(e.then)&&De(e.catch),Ey=Object.prototype.toString,Ds=e=>Ey.call(e),yE=e=>Ds(e).slice(8,-1),Sy=e=>Ds(e)==="[object Object]",fd=e=>dt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ys=ld(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},_E=/-(\w)/g,$r=Pl(e=>e.replace(_E,(t,r)=>r?r.toUpperCase():"")),bE=/\B([A-Z])/g,Do=Pl(e=>e.replace(bE,"-$1").toLowerCase()),Ll=Pl(e=>e.charAt(0).toUpperCase()+e.slice(1)),ku=Pl(e=>e?`on${Ll(e)}`:""),$n=(e,t)=>!Object.is(e,t),xa=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Vc=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fp;const Ay=()=>Fp||(Fp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Ii<"u"?Ii:{});function hd(e){if(Be(e)){const t={};for(let r=0;r{if(r){const n=r.split(vE);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function dd(e){let t="";if(dt(e))t=e;else if(Be(e))for(let r=0;rBl(r,t))}const $F=e=>dt(e)?e:e==null?"":Be(e)||Je(e)&&(e.toString===Ey||!De(e.toString))?JSON.stringify(e,Iy,2):String(e),Iy=(e,t)=>t&&t.__v_isRef?Iy(e,t.value):ho(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[Nu(n,i)+" =>"]=o,r),{})}:Ml(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Nu(r))}:Dn(t)?Nu(t):Je(t)&&!Be(t)&&!Sy(t)?String(t):t,Nu=(e,t="")=>{var r;return Dn(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** -* @vue/reactivity v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let fr;class IE{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=fr,!t&&fr&&(this.index=(fr.scopes||(fr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=fr;try{return fr=this,t()}finally{fr=r}}}on(){fr=this}off(){fr=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Li()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ln,r=bi;try{return Ln=!0,bi=this,this._runnings++,jp(this),this.fn()}finally{Wp(this),this._runnings--,bi=r,Ln=t}}stop(){var t;this.active&&(jp(this),Wp(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function OE(e){return e.value}function jp(e){e._trackId++,e._depsLength=0}function Wp(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const r=new Map;return r.cleanup=e,r.computed=t,r},Yc=new WeakMap,wi=Symbol(""),zc=Symbol("");function jt(e,t,r){if(Ln&&bi){let n=Yc.get(e);n||Yc.set(e,n=new Map);let o=n.get(r);o||n.set(r,o=Ny(()=>n.delete(r))),Oy(bi,o)}}function nn(e,t,r,n,o,i){const s=Yc.get(e);if(!s)return;let a=[];if(t==="clear")a=[...s.values()];else if(r==="length"&&Be(e)){const l=Number(n);s.forEach((u,c)=>{(c==="length"||!Dn(c)&&c>=l)&&a.push(u)})}else switch(r!==void 0&&a.push(s.get(r)),t){case"add":Be(e)?fd(r)&&a.push(s.get("length")):(a.push(s.get(wi)),ho(e)&&a.push(s.get(zc)));break;case"delete":Be(e)||(a.push(s.get(wi)),ho(e)&&a.push(s.get(zc)));break;case"set":ho(e)&&a.push(s.get(wi));break}gd();for(const l of a)l&&ky(l,4);md()}const kE=ld("__proto__,__v_isRef,__isVue"),My=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn)),Hp=NE();function NE(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=We(this);for(let i=0,s=this.length;i{e[t]=function(...r){Pi(),gd();const n=We(this)[t].apply(this,r);return md(),Li(),n}}),e}function ME(e){const t=We(this);return jt(t,"has",e),t.hasOwnProperty(e)}class Py{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){const o=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(o?i?KE:$y:i?Dy:By).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=Be(t);if(!o){if(s&&Fe(Hp,r))return Reflect.get(Hp,r,n);if(r==="hasOwnProperty")return ME}const a=Reflect.get(t,r,n);return(Dn(r)?My.has(r):kE(r))||(o||jt(t,"get",r),i)?a:Wt(a)?s&&fd(r)?a:a.value:Je(a)?o?Uy(a):bd(a):a}}class Ly extends Py{constructor(t=!1){super(!1,t)}set(t,r,n,o){let i=t[r];if(!this._isShallow){const l=Eo(i);if(!el(n)&&!Eo(n)&&(i=We(i),n=We(n)),!Be(t)&&Wt(i)&&!Wt(n))return l?!1:(i.value=n,!0)}const s=Be(t)&&fd(r)?Number(r)e,Dl=e=>Reflect.getPrototypeOf(e);function Js(e,t,r=!1,n=!1){e=e.__v_raw;const o=We(e),i=We(t);r||($n(t,i)&&jt(o,"get",t),jt(o,"get",i));const{has:s}=Dl(o),a=n?yd:r?vd:Is;if(s.call(o,t))return a(e.get(t));if(s.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function Zs(e,t=!1){const r=this.__v_raw,n=We(r),o=We(e);return t||($n(e,o)&&jt(n,"has",e),jt(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function ea(e,t=!1){return e=e.__v_raw,!t&&jt(We(e),"iterate",wi),Reflect.get(e,"size",e)}function Vp(e){e=We(e);const t=We(this);return Dl(t).has.call(t,e)||(t.add(e),nn(t,"add",e,e)),this}function qp(e,t){t=We(t);const r=We(this),{has:n,get:o}=Dl(r);let i=n.call(r,e);i||(e=We(e),i=n.call(r,e));const s=o.call(r,e);return r.set(e,t),i?$n(t,s)&&nn(r,"set",e,t):nn(r,"add",e,t),this}function Kp(e){const t=We(this),{has:r,get:n}=Dl(t);let o=r.call(t,e);o||(e=We(e),o=r.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return o&&nn(t,"delete",e,void 0),i}function Yp(){const e=We(this),t=e.size!==0,r=e.clear();return t&&nn(e,"clear",void 0,void 0),r}function ta(e,t){return function(n,o){const i=this,s=i.__v_raw,a=We(s),l=t?yd:e?vd:Is;return!e&&jt(a,"iterate",wi),s.forEach((u,c)=>n.call(o,l(u),l(c),i))}}function ra(e,t,r){return function(...n){const o=this.__v_raw,i=We(o),s=ho(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...n),c=r?yd:t?vd:Is;return!t&&jt(i,"iterate",l?zc:wi),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $E(){const e={get(i){return Js(this,i)},get size(){return ea(this)},has:Zs,add:Vp,set:qp,delete:Kp,clear:Yp,forEach:ta(!1,!1)},t={get(i){return Js(this,i,!1,!0)},get size(){return ea(this)},has:Zs,add:Vp,set:qp,delete:Kp,clear:Yp,forEach:ta(!1,!0)},r={get(i){return Js(this,i,!0)},get size(){return ea(this,!0)},has(i){return Zs.call(this,i,!0)},add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear"),forEach:ta(!0,!1)},n={get(i){return Js(this,i,!0,!0)},get size(){return ea(this,!0)},has(i){return Zs.call(this,i,!0)},add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear"),forEach:ta(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ra(i,!1,!1),r[i]=ra(i,!0,!1),t[i]=ra(i,!1,!0),n[i]=ra(i,!0,!0)}),[e,r,t,n]}const[UE,FE,jE,WE]=$E();function _d(e,t){const r=t?e?WE:jE:e?FE:UE;return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(Fe(r,o)&&o in n?r:n,o,i)}const HE={get:_d(!1,!1)},VE={get:_d(!1,!0)},qE={get:_d(!0,!1)},By=new WeakMap,Dy=new WeakMap,$y=new WeakMap,KE=new WeakMap;function YE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zE(e){return e.__v_skip||!Object.isExtensible(e)?0:YE(yE(e))}function bd(e){return Eo(e)?e:wd(e,!1,LE,HE,By)}function GE(e){return wd(e,!1,DE,VE,Dy)}function Uy(e){return wd(e,!0,BE,qE,$y)}function wd(e,t,r,n,o){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=zE(e);if(s===0)return e;const a=new Proxy(e,s===2?n:r);return o.set(e,a),a}function po(e){return Eo(e)?po(e.__v_raw):!!(e&&e.__v_isReactive)}function Eo(e){return!!(e&&e.__v_isReadonly)}function el(e){return!!(e&&e.__v_isShallow)}function Fy(e){return po(e)||Eo(e)}function We(e){const t=e&&e.__v_raw;return t?We(t):e}function jy(e){return Object.isExtensible(e)&&Za(e,"__v_skip",!0),e}const Is=e=>Je(e)?bd(e):e,vd=e=>Je(e)?Uy(e):e;class Wy{constructor(t,r,n,o){this.getter=t,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new pd(()=>t(this._value),()=>Ia(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=We(this);return(!t._cacheable||t.effect.dirty)&&$n(t._value,t._value=t.effect.run())&&Ia(t,4),Hy(t),t.effect._dirtyLevel>=2&&Ia(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function QE(e,t,r=!1){let n,o;const i=De(e);return i?(n=e,o=tr):(n=e.get,o=e.set),new Wy(n,o,i||!o,r)}function Hy(e){var t;Ln&&bi&&(e=We(e),Oy(bi,(t=e.dep)!=null?t:e.dep=Ny(()=>e.dep=void 0,e instanceof Wy?e:void 0)))}function Ia(e,t=4,r){e=We(e);const n=e.dep;n&&ky(n,t)}function Wt(e){return!!(e&&e.__v_isRef===!0)}function UF(e){return XE(e,!1)}function XE(e,t){return Wt(e)?e:new JE(e,t)}class JE{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:We(t),this._value=r?t:Is(t)}get value(){return Hy(this),this._value}set value(t){const r=this.__v_isShallow||el(t)||Eo(t);t=r?t:We(t),$n(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Is(t),Ia(this,4))}}function ZE(e){return Wt(e)?e.value:e}const eS={get:(e,t,r)=>ZE(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Wt(o)&&!Wt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Vy(e){return po(e)?e:new Proxy(e,eS)}/** -* @vue/runtime-core v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Bn(e,t,r,n){try{return n?e(...n):e()}catch(o){$l(o,t,r)}}function _r(e,t,r,n){if(De(e)){const i=Bn(e,t,r,n);return i&&vy(i)&&i.catch(s=>{$l(s,t,r)}),i}const o=[];for(let i=0;i>>1,o=Ct[n],i=Rs(o);iRr&&Ct.splice(t,1)}function oS(e){Be(e)?go.push(...e):(!kn||!kn.includes(e,e.allowRecurse?li+1:li))&&go.push(e),Ky()}function zp(e,t,r=Cs?Rr+1:0){for(;rRs(r)-Rs(n));if(go.length=0,kn){kn.push(...t);return}for(kn=t,li=0;lie.id==null?1/0:e.id,sS=(e,t)=>{const r=Rs(e)-Rs(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function zy(e){Gc=!1,Cs=!0,Ct.sort(sS);try{for(Rr=0;Rrdt(g)?g.trim():g)),d&&(o=r.map(Vc))}let a,l=n[a=ku(t)]||n[a=ku($r(t))];!l&&i&&(l=n[a=ku(Do(t))]),l&&_r(l,e,6,o);const u=n[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,_r(u,e,6,o)}}function Gy(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!De(e)){const l=u=>{const c=Gy(u,t,!0);c&&(a=!0,wt(s,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Je(e)&&n.set(e,null),null):(Be(i)?i.forEach(l=>s[l]=null):wt(s,i),Je(e)&&n.set(e,s),s)}function Ul(e,t){return!e||!Nl(t)?!1:(t=t.slice(2).replace(/Once$/,""),Fe(e,t[0].toLowerCase()+t.slice(1))||Fe(e,Do(t))||Fe(e,t))}let _t=null,Fl=null;function tl(e){const t=_t;return _t=e,Fl=e&&e.type.__scopeId||null,t}function FF(e){Fl=e}function jF(){Fl=null}function lS(e,t=_t,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&og(-1);const i=tl(t);let s;try{s=e(...o)}finally{tl(i),n._d&&og(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function Mu(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:i,propsOptions:[s],slots:a,attrs:l,emit:u,render:c,renderCache:d,data:p,setupState:g,ctx:_,inheritAttrs:b}=e;let x,k;const R=tl(e);try{if(r.shapeFlag&4){const B=o||n,$=B;x=Cr(c.call($,B,d,i,g,p,_)),k=l}else{const B=t;x=Cr(B.length>1?B(i,{attrs:l,slots:a,emit:u}):B(i,null)),k=t.props?l:uS(l)}}catch(B){vs.length=0,$l(B,e,1),x=Mr(Un)}let A=x;if(k&&b!==!1){const B=Object.keys(k),{shapeFlag:$}=A;B.length&&$&7&&(s&&B.some(ud)&&(k=cS(k,s)),A=So(A,k))}return r.dirs&&(A=So(A),A.dirs=A.dirs?A.dirs.concat(r.dirs):r.dirs),r.transition&&(A.transition=r.transition),x=A,tl(R),x}const uS=e=>{let t;for(const r in e)(r==="class"||r==="style"||Nl(r))&&((t||(t={}))[r]=e[r]);return t},cS=(e,t)=>{const r={};for(const n in e)(!ud(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function fS(e,t,r){const{props:n,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?Gp(n,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function yS(e,t){t&&t.pendingBranch?Be(e)?t.effects.push(...e):t.effects.push(e):oS(e)}const _S=Symbol.for("v-scx"),bS=()=>Ca(_S);function HF(e,t){return Ad(e,null,t)}const na={};function Pu(e,t,r){return Ad(e,t,r)}function Ad(e,t,{immediate:r,deep:n,flush:o,once:i,onTrack:s,onTrigger:a}=Xe){if(t&&i){const I=t;t=(...P)=>{I(...P),$()}}const l=Rt,u=I=>n===!0?I:fi(I,n===!1?1:void 0);let c,d=!1,p=!1;if(Wt(e)?(c=()=>e.value,d=el(e)):po(e)?(c=()=>u(e),d=!0):Be(e)?(p=!0,d=e.some(I=>po(I)||el(I)),c=()=>e.map(I=>{if(Wt(I))return I.value;if(po(I))return u(I);if(De(I))return Bn(I,l,2)})):De(e)?t?c=()=>Bn(e,l,2):c=()=>(g&&g(),_r(e,l,3,[_])):c=tr,t&&n){const I=c;c=()=>fi(I())}let g,_=I=>{g=A.onStop=()=>{Bn(I,l,4),g=A.onStop=void 0}},b;if(Vl)if(_=tr,t?r&&_r(t,l,3,[c(),p?[]:void 0,_]):c(),o==="sync"){const I=bS();b=I.__watcherHandles||(I.__watcherHandles=[])}else return tr;let x=p?new Array(e.length).fill(na):na;const k=()=>{if(!(!A.active||!A.dirty))if(t){const I=A.run();(n||d||(p?I.some((P,W)=>$n(P,x[W])):$n(I,x)))&&(g&&g(),_r(t,l,3,[I,x===na?void 0:p&&x[0]===na?[]:x,_]),x=I)}else A.run()};k.allowRecurse=!!t;let R;o==="sync"?R=k:o==="post"?R=()=>$t(k,l&&l.suspense):(k.pre=!0,l&&(k.id=l.uid),R=()=>Sd(k));const A=new pd(c,tr,R),B=RE(),$=()=>{A.stop(),B&&cd(B.effects,A)};return t?r?k():x=A.run():o==="post"?$t(A.run.bind(A),l&&l.suspense):A.run(),b&&b.push($),$}function wS(e,t,r){const n=this.proxy,o=dt(e)?e.includes(".")?Qy(n,e):()=>n[e]:e.bind(n,n);let i;De(t)?i=t:(i=t.handler,r=t);const s=$s(this),a=Ad(o,i.bind(n),r);return s(),a}function Qy(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o0){if(r>=t)return e;r++}if(n=n||new Set,n.has(e))return e;if(n.add(e),Wt(e))fi(e.value,t,r,n);else if(Be(e))for(let o=0;o{fi(o,t,r,n)});else if(Sy(e))for(const o in e)fi(e[o],t,r,n);return e}function VF(e,t){if(_t===null)return e;const r=ql(_t)||_t.proxy,n=e.dirs||(e.dirs=[]);for(let o=0;o!!e.type.__asyncLoader,Xy=e=>e.type.__isKeepAlive;function vS(e,t){Jy(e,"a",t)}function ES(e,t){Jy(e,"da",t)}function Jy(e,t,r=Rt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(jl(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Xy(o.parent.vnode)&&SS(n,t,r,o),o=o.parent}}function SS(e,t,r,n){const o=jl(t,e,n,!0);Zy(()=>{cd(n[t],o)},r)}function jl(e,t,r=Rt,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(r.isUnmounted)return;Pi();const a=$s(r),l=_r(t,r,e,s);return a(),Li(),l});return n?o.unshift(i):o.push(i),i}}const mn=e=>(t,r=Rt)=>(!Vl||e==="sp")&&jl(e,(...n)=>t(...n),r),AS=mn("bm"),TS=mn("m"),xS=mn("bu"),IS=mn("u"),CS=mn("bum"),Zy=mn("um"),RS=mn("sp"),OS=mn("rtg"),kS=mn("rtc");function NS(e,t=Rt){jl("ec",e,t)}function KF(e,t,r,n){let o;const i=r;if(Be(e)||dt(e)){o=new Array(e.length);for(let s=0,a=e.length;st(s,a,void 0,i));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,l=s.length;ad_(t)?!(t.type===Un||t.type===dr&&!e_(t.children)):!0)?e:null}const Qc=e=>e?m_(e)?ql(e)||e.proxy:Qc(e.parent):null,bs=wt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qc(e.parent),$root:e=>Qc(e.root),$emit:e=>e.emit,$options:e=>Td(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Sd(e.update)}),$nextTick:e=>e.n||(e.n=rS.bind(e.proxy)),$watch:e=>wS.bind(e)}),Lu=(e,t)=>e!==Xe&&!e.__isScriptSetup&&Fe(e,t),MS={get({_:e},t){const{ctx:r,setupState:n,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(Lu(n,t))return s[t]=1,n[t];if(o!==Xe&&Fe(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&Fe(u,t))return s[t]=3,i[t];if(r!==Xe&&Fe(r,t))return s[t]=4,r[t];Xc&&(s[t]=0)}}const c=bs[t];let d,p;if(c)return t==="$attrs"&&jt(e,"get",t),c(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(r!==Xe&&Fe(r,t))return s[t]=4,r[t];if(p=l.config.globalProperties,Fe(p,t))return p[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return Lu(o,t)?(o[t]=r,!0):n!==Xe&&Fe(n,t)?(n[t]=r,!0):Fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:i}},s){let a;return!!r[s]||e!==Xe&&Fe(e,s)||Lu(t,s)||(a=i[0])&&Fe(a,s)||Fe(n,s)||Fe(bs,s)||Fe(o.config.globalProperties,s)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Fe(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Xp(e){return Be(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let Xc=!0;function PS(e){const t=Td(e),r=e.proxy,n=e.ctx;Xc=!1,t.beforeCreate&&Jp(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:g,updated:_,activated:b,deactivated:x,beforeDestroy:k,beforeUnmount:R,destroyed:A,unmounted:B,render:$,renderTracked:I,renderTriggered:P,errorCaptured:W,serverPrefetch:Y,expose:oe,inheritAttrs:te,components:M,directives:L,filters:ie}=t;if(u&&LS(u,n,null),s)for(const se in s){const Q=s[se];De(Q)&&(n[se]=Q.bind(r))}if(o){const se=o.call(r,r);Je(se)&&(e.data=bd(se))}if(Xc=!0,i)for(const se in i){const Q=i[se],he=De(Q)?Q.bind(r,r):De(Q.get)?Q.get.bind(r,r):tr,fe=!De(Q)&&De(Q.set)?Q.set.bind(r):tr,pe=hA({get:he,set:fe});Object.defineProperty(n,se,{enumerable:!0,configurable:!0,get:()=>pe.value,set:F=>pe.value=F})}if(a)for(const se in a)t_(a[se],n,r,se);if(l){const se=De(l)?l.call(r):l;Reflect.ownKeys(se).forEach(Q=>{jS(Q,se[Q])})}c&&Jp(c,e,"c");function ae(se,Q){Be(Q)?Q.forEach(he=>se(he.bind(r))):Q&&se(Q.bind(r))}if(ae(AS,d),ae(TS,p),ae(xS,g),ae(IS,_),ae(vS,b),ae(ES,x),ae(NS,W),ae(kS,I),ae(OS,P),ae(CS,R),ae(Zy,B),ae(RS,Y),Be(oe))if(oe.length){const se=e.exposed||(e.exposed={});oe.forEach(Q=>{Object.defineProperty(se,Q,{get:()=>r[Q],set:he=>r[Q]=he})})}else e.exposed||(e.exposed={});$&&e.render===tr&&(e.render=$),te!=null&&(e.inheritAttrs=te),M&&(e.components=M),L&&(e.directives=L)}function LS(e,t,r=tr){Be(e)&&(e=Jc(e));for(const n in e){const o=e[n];let i;Je(o)?"default"in o?i=Ca(o.from||n,o.default,!0):i=Ca(o.from||n):i=Ca(o),Wt(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[n]=i}}function Jp(e,t,r){_r(Be(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function t_(e,t,r,n){const o=n.includes(".")?Qy(r,n):()=>r[n];if(dt(e)){const i=t[e];De(i)&&Pu(o,i)}else if(De(e))Pu(o,e.bind(r));else if(Je(e))if(Be(e))e.forEach(i=>t_(i,t,r,n));else{const i=De(e.handler)?e.handler.bind(r):t[e.handler];De(i)&&Pu(o,i,e)}}function Td(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(u=>rl(l,u,s,!0)),rl(l,t,s)),Je(t)&&i.set(t,l),l}function rl(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&rl(e,i,r,!0),o&&o.forEach(s=>rl(e,s,r,!0));for(const s in t)if(!(n&&s==="expose")){const a=BS[s]||r&&r[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const BS={data:Zp,props:eg,emits:eg,methods:ls,computed:ls,beforeCreate:Nt,created:Nt,beforeMount:Nt,mounted:Nt,beforeUpdate:Nt,updated:Nt,beforeDestroy:Nt,beforeUnmount:Nt,destroyed:Nt,unmounted:Nt,activated:Nt,deactivated:Nt,errorCaptured:Nt,serverPrefetch:Nt,components:ls,directives:ls,watch:$S,provide:Zp,inject:DS};function Zp(e,t){return t?e?function(){return wt(De(e)?e.call(this,this):e,De(t)?t.call(this,this):t)}:t:e}function DS(e,t){return ls(Jc(e),Jc(t))}function Jc(e){if(Be(e)){const t={};for(let r=0;r1)return r&&De(t)?t.call(n&&n.proxy):t}}function WS(e,t,r,n=!1){const o={},i={};Za(i,Hl,1),e.propsDefaults=Object.create(null),n_(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);r?e.props=n?o:GE(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function HS(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=We(o),[l]=e.propsOptions;let u=!1;if((n||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[p,g]=i_(d,t,!0);wt(s,p),g&&a.push(...g)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return Je(e)&&n.set(e,fo),fo;if(Be(i))for(let c=0;c-1,g[1]=b<0||_-1||Fe(g,"default"))&&a.push(d)}}}const u=[s,a];return Je(e)&&n.set(e,u),u}function tg(e){return e[0]!=="$"&&!ys(e)}function rg(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ng(e,t){return rg(e)===rg(t)}function ig(e,t){return Be(t)?t.findIndex(r=>ng(r,e)):De(t)&&ng(t,e)?0:-1}const o_=e=>e[0]==="_"||e==="$stable",xd=e=>Be(e)?e.map(Cr):[Cr(e)],VS=(e,t,r)=>{if(t._n)return t;const n=lS((...o)=>xd(t(...o)),r);return n._c=!1,n},s_=(e,t,r)=>{const n=e._ctx;for(const o in e){if(o_(o))continue;const i=e[o];if(De(i))t[o]=VS(o,i,n);else if(i!=null){const s=xd(i);t[o]=()=>s}}},a_=(e,t)=>{const r=xd(t);e.slots.default=()=>r},qS=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=We(t),Za(t,"_",r)):s_(t,e.slots={})}else e.slots={},t&&a_(e,t);Za(e.slots,Hl,1)},KS=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,s=Xe;if(n.shapeFlag&32){const a=t._;a?r&&a===1?i=!1:(wt(o,t),!r&&a===1&&delete o._):(i=!t.$stable,s_(t,o)),s=t}else t&&(a_(e,t),s={default:1});if(i)for(const a in o)!o_(a)&&s[a]==null&&delete o[a]};function ef(e,t,r,n,o=!1){if(Be(e)){e.forEach((p,g)=>ef(p,t&&(Be(t)?t[g]:t),r,n,o));return}if(_s(n)&&!o)return;const i=n.shapeFlag&4?ql(n.component)||n.component.proxy:n.el,s=o?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Xe?a.refs={}:a.refs,d=a.setupState;if(u!=null&&u!==l&&(dt(u)?(c[u]=null,Fe(d,u)&&(d[u]=null)):Wt(u)&&(u.value=null)),De(l))Bn(l,a,12,[s,c]);else{const p=dt(l),g=Wt(l);if(p||g){const _=()=>{if(e.f){const b=p?Fe(d,l)?d[l]:c[l]:l.value;o?Be(b)&&cd(b,i):Be(b)?b.includes(i)||b.push(i):p?(c[l]=[i],Fe(d,l)&&(d[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else p?(c[l]=s,Fe(d,l)&&(d[l]=s)):g&&(l.value=s,e.k&&(c[e.k]=s))};s?(_.id=-1,$t(_,r)):_()}}}const $t=yS;function YS(e){return zS(e)}function zS(e,t){const r=Ay();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:g=tr,insertStaticContent:_}=e,b=(E,T,S,O=null,N=null,ee=null,J=void 0,D=null,K=!!T.dynamicChildren)=>{if(E===T)return;E&&!Go(E,T)&&(O=V(E),F(E,N,ee,!0),E=null),T.patchFlag===-2&&(K=!1,T.dynamicChildren=null);const{type:z,ref:ce,shapeFlag:be}=T;switch(z){case Wl:x(E,T,S,O);break;case Un:k(E,T,S,O);break;case Du:E==null&&R(T,S,O,J);break;case dr:M(E,T,S,O,N,ee,J,D,K);break;default:be&1?$(E,T,S,O,N,ee,J,D,K):be&6?L(E,T,S,O,N,ee,J,D,K):(be&64||be&128)&&z.process(E,T,S,O,N,ee,J,D,K,ue)}ce!=null&&N&&ef(ce,E&&E.ref,ee,T||E,!T)},x=(E,T,S,O)=>{if(E==null)n(T.el=a(T.children),S,O);else{const N=T.el=E.el;T.children!==E.children&&u(N,T.children)}},k=(E,T,S,O)=>{E==null?n(T.el=l(T.children||""),S,O):T.el=E.el},R=(E,T,S,O)=>{[E.el,E.anchor]=_(E.children,T,S,O,E.el,E.anchor)},A=({el:E,anchor:T},S,O)=>{let N;for(;E&&E!==T;)N=p(E),n(E,S,O),E=N;n(T,S,O)},B=({el:E,anchor:T})=>{let S;for(;E&&E!==T;)S=p(E),o(E),E=S;o(T)},$=(E,T,S,O,N,ee,J,D,K)=>{T.type==="svg"?J="svg":T.type==="math"&&(J="mathml"),E==null?I(T,S,O,N,ee,J,D,K):Y(E,T,N,ee,J,D,K)},I=(E,T,S,O,N,ee,J,D)=>{let K,z;const{props:ce,shapeFlag:be,transition:Te,dirs:y}=E;if(K=E.el=s(E.type,ee,ce&&ce.is,ce),be&8?c(K,E.children):be&16&&W(E.children,K,null,O,N,Bu(E,ee),J,D),y&&Gn(E,null,O,"created"),P(K,E,E.scopeId,J,O),ce){for(const f in ce)f!=="value"&&!ys(f)&&i(K,f,null,ce[f],ee,E.children,O,N,ye);"value"in ce&&i(K,"value",null,ce.value,ee),(z=ce.onVnodeBeforeMount)&&Er(z,O,E)}y&&Gn(E,null,O,"beforeMount");const h=GS(N,Te);h&&Te.beforeEnter(K),n(K,T,S),((z=ce&&ce.onVnodeMounted)||h||y)&&$t(()=>{z&&Er(z,O,E),h&&Te.enter(K),y&&Gn(E,null,O,"mounted")},N)},P=(E,T,S,O,N)=>{if(S&&g(E,S),O)for(let ee=0;ee{for(let z=K;z{const D=T.el=E.el;let{patchFlag:K,dynamicChildren:z,dirs:ce}=T;K|=E.patchFlag&16;const be=E.props||Xe,Te=T.props||Xe;let y;if(S&&Qn(S,!1),(y=Te.onVnodeBeforeUpdate)&&Er(y,S,T,E),ce&&Gn(T,E,S,"beforeUpdate"),S&&Qn(S,!0),z?oe(E.dynamicChildren,z,D,S,O,Bu(T,N),ee):J||Q(E,T,D,null,S,O,Bu(T,N),ee,!1),K>0){if(K&16)te(D,T,be,Te,S,O,N);else if(K&2&&be.class!==Te.class&&i(D,"class",null,Te.class,N),K&4&&i(D,"style",be.style,Te.style,N),K&8){const h=T.dynamicProps;for(let f=0;f{y&&Er(y,S,T,E),ce&&Gn(T,E,S,"updated")},O)},oe=(E,T,S,O,N,ee,J)=>{for(let D=0;D{if(S!==O){if(S!==Xe)for(const D in S)!ys(D)&&!(D in O)&&i(E,D,S[D],null,J,T.children,N,ee,ye);for(const D in O){if(ys(D))continue;const K=O[D],z=S[D];K!==z&&D!=="value"&&i(E,D,z,K,J,T.children,N,ee,ye)}"value"in O&&i(E,"value",S.value,O.value,J)}},M=(E,T,S,O,N,ee,J,D,K)=>{const z=T.el=E?E.el:a(""),ce=T.anchor=E?E.anchor:a("");let{patchFlag:be,dynamicChildren:Te,slotScopeIds:y}=T;y&&(D=D?D.concat(y):y),E==null?(n(z,S,O),n(ce,S,O),W(T.children||[],S,ce,N,ee,J,D,K)):be>0&&be&64&&Te&&E.dynamicChildren?(oe(E.dynamicChildren,Te,S,N,ee,J,D),(T.key!=null||N&&T===N.subTree)&&l_(E,T,!0)):Q(E,T,S,ce,N,ee,J,D,K)},L=(E,T,S,O,N,ee,J,D,K)=>{T.slotScopeIds=D,E==null?T.shapeFlag&512?N.ctx.activate(T,S,O,J,K):ie(T,S,O,N,ee,J,K):re(E,T,K)},ie=(E,T,S,O,N,ee,J)=>{const D=E.component=oA(E,O,N);if(Xy(E)&&(D.ctx.renderer=ue),sA(D),D.asyncDep){if(N&&N.registerDep(D,ae),!E.el){const K=D.subTree=Mr(Un);k(null,K,T,S)}}else ae(D,E,T,S,N,ee,J)},re=(E,T,S)=>{const O=T.component=E.component;if(fS(E,T,S))if(O.asyncDep&&!O.asyncResolved){se(O,T,S);return}else O.next=T,iS(O.update),O.effect.dirty=!0,O.update();else T.el=E.el,O.vnode=T},ae=(E,T,S,O,N,ee,J)=>{const D=()=>{if(E.isMounted){let{next:ce,bu:be,u:Te,parent:y,vnode:h}=E;{const C=u_(E);if(C){ce&&(ce.el=h.el,se(E,ce,J)),C.asyncDep.then(()=>{E.isUnmounted||D()});return}}let f=ce,m;Qn(E,!1),ce?(ce.el=h.el,se(E,ce,J)):ce=h,be&&xa(be),(m=ce.props&&ce.props.onVnodeBeforeUpdate)&&Er(m,y,ce,h),Qn(E,!0);const w=Mu(E),v=E.subTree;E.subTree=w,b(v,w,d(v.el),V(v),E,N,ee),ce.el=w.el,f===null&&hS(E,w.el),Te&&$t(Te,N),(m=ce.props&&ce.props.onVnodeUpdated)&&$t(()=>Er(m,y,ce,h),N)}else{let ce;const{el:be,props:Te}=T,{bm:y,m:h,parent:f}=E,m=_s(T);if(Qn(E,!1),y&&xa(y),!m&&(ce=Te&&Te.onVnodeBeforeMount)&&Er(ce,f,T),Qn(E,!0),be&&X){const w=()=>{E.subTree=Mu(E),X(be,E.subTree,E,N,null)};m?T.type.__asyncLoader().then(()=>!E.isUnmounted&&w()):w()}else{const w=E.subTree=Mu(E);b(null,w,S,O,E,N,ee),T.el=w.el}if(h&&$t(h,N),!m&&(ce=Te&&Te.onVnodeMounted)){const w=T;$t(()=>Er(ce,f,w),N)}(T.shapeFlag&256||f&&_s(f.vnode)&&f.vnode.shapeFlag&256)&&E.a&&$t(E.a,N),E.isMounted=!0,T=S=O=null}},K=E.effect=new pd(D,tr,()=>Sd(z),E.scope),z=E.update=()=>{K.dirty&&K.run()};z.id=E.uid,Qn(E,!0),z()},se=(E,T,S)=>{T.component=E;const O=E.vnode.props;E.vnode=T,E.next=null,HS(E,T.props,O,S),KS(E,T.children,S),Pi(),zp(E),Li()},Q=(E,T,S,O,N,ee,J,D,K=!1)=>{const z=E&&E.children,ce=E?E.shapeFlag:0,be=T.children,{patchFlag:Te,shapeFlag:y}=T;if(Te>0){if(Te&128){fe(z,be,S,O,N,ee,J,D,K);return}else if(Te&256){he(z,be,S,O,N,ee,J,D,K);return}}y&8?(ce&16&&ye(z,N,ee),be!==z&&c(S,be)):ce&16?y&16?fe(z,be,S,O,N,ee,J,D,K):ye(z,N,ee,!0):(ce&8&&c(S,""),y&16&&W(be,S,O,N,ee,J,D,K))},he=(E,T,S,O,N,ee,J,D,K)=>{E=E||fo,T=T||fo;const z=E.length,ce=T.length,be=Math.min(z,ce);let Te;for(Te=0;Tece?ye(E,N,ee,!0,!1,be):W(T,S,O,N,ee,J,D,K,be)},fe=(E,T,S,O,N,ee,J,D,K)=>{let z=0;const ce=T.length;let be=E.length-1,Te=ce-1;for(;z<=be&&z<=Te;){const y=E[z],h=T[z]=K?Nn(T[z]):Cr(T[z]);if(Go(y,h))b(y,h,S,null,N,ee,J,D,K);else break;z++}for(;z<=be&&z<=Te;){const y=E[be],h=T[Te]=K?Nn(T[Te]):Cr(T[Te]);if(Go(y,h))b(y,h,S,null,N,ee,J,D,K);else break;be--,Te--}if(z>be){if(z<=Te){const y=Te+1,h=yTe)for(;z<=be;)F(E[z],N,ee,!0),z++;else{const y=z,h=z,f=new Map;for(z=h;z<=Te;z++){const _e=T[z]=K?Nn(T[z]):Cr(T[z]);_e.key!=null&&f.set(_e.key,z)}let m,w=0;const v=Te-h+1;let C=!1,H=0;const de=new Array(v);for(z=0;z=v){F(_e,N,ee,!0);continue}let Ae;if(_e.key!=null)Ae=f.get(_e.key);else for(m=h;m<=Te;m++)if(de[m-h]===0&&Go(_e,T[m])){Ae=m;break}Ae===void 0?F(_e,N,ee,!0):(de[Ae-h]=z+1,Ae>=H?H=Ae:C=!0,b(_e,T[Ae],S,null,N,ee,J,D,K),w++)}const me=C?QS(de):fo;for(m=me.length-1,z=v-1;z>=0;z--){const _e=h+z,Ae=T[_e],ke=_e+1{const{el:ee,type:J,transition:D,children:K,shapeFlag:z}=E;if(z&6){pe(E.component.subTree,T,S,O);return}if(z&128){E.suspense.move(T,S,O);return}if(z&64){J.move(E,T,S,ue);return}if(J===dr){n(ee,T,S);for(let be=0;beD.enter(ee),N);else{const{leave:be,delayLeave:Te,afterLeave:y}=D,h=()=>n(ee,T,S),f=()=>{be(ee,()=>{h(),y&&y()})};Te?Te(ee,h,f):f()}else n(ee,T,S)},F=(E,T,S,O=!1,N=!1)=>{const{type:ee,props:J,ref:D,children:K,dynamicChildren:z,shapeFlag:ce,patchFlag:be,dirs:Te}=E;if(D!=null&&ef(D,null,S,E,!0),ce&256){T.ctx.deactivate(E);return}const y=ce&1&&Te,h=!_s(E);let f;if(h&&(f=J&&J.onVnodeBeforeUnmount)&&Er(f,T,E),ce&6)Se(E.component,S,O);else{if(ce&128){E.suspense.unmount(S,O);return}y&&Gn(E,null,T,"beforeUnmount"),ce&64?E.type.remove(E,T,S,N,ue,O):z&&(ee!==dr||be>0&&be&64)?ye(z,T,S,!1,!0):(ee===dr&&be&384||!N&&ce&16)&&ye(K,T,S),O&&ne(E)}(h&&(f=J&&J.onVnodeUnmounted)||y)&&$t(()=>{f&&Er(f,T,E),y&&Gn(E,null,T,"unmounted")},S)},ne=E=>{const{type:T,el:S,anchor:O,transition:N}=E;if(T===dr){ge(S,O);return}if(T===Du){B(E);return}const ee=()=>{o(S),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(E.shapeFlag&1&&N&&!N.persisted){const{leave:J,delayLeave:D}=N,K=()=>J(S,ee);D?D(E.el,ee,K):K()}else ee()},ge=(E,T)=>{let S;for(;E!==T;)S=p(E),o(E),E=S;o(T)},Se=(E,T,S)=>{const{bum:O,scope:N,update:ee,subTree:J,um:D}=E;O&&xa(O),N.stop(),ee&&(ee.active=!1,F(J,E,T,S)),D&&$t(D,T),$t(()=>{E.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},ye=(E,T,S,O=!1,N=!1,ee=0)=>{for(let J=ee;JE.shapeFlag&6?V(E.component.subTree):E.shapeFlag&128?E.suspense.next():p(E.anchor||E.el);let j=!1;const Z=(E,T,S)=>{E==null?T._vnode&&F(T._vnode,null,null,!0):b(T._vnode||null,E,T,null,null,null,S),j||(j=!0,zp(),Yy(),j=!1),T._vnode=E},ue={p:b,um:F,m:pe,r:ne,mt:ie,mc:W,pc:Q,pbc:oe,n:V,o:e};let le,X;return{render:Z,hydrate:le,createApp:FS(Z,le)}}function Bu({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Qn({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function GS(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function l_(e,t,r=!1){const n=e.children,o=t.children;if(Be(n)&&Be(o))for(let i=0;i>1,e[r[a]]0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,s=r[i-1];i-- >0;)r[i]=s,s=t[s];return r}function u_(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:u_(t)}const XS=e=>e.__isTeleport,dr=Symbol.for("v-fgt"),Wl=Symbol.for("v-txt"),Un=Symbol.for("v-cmt"),Du=Symbol.for("v-stc"),vs=[];let yr=null;function c_(e=!1){vs.push(yr=e?null:[])}function JS(){vs.pop(),yr=vs[vs.length-1]||null}let Os=1;function og(e){Os+=e}function f_(e){return e.dynamicChildren=Os>0?yr||fo:null,JS(),Os>0&&yr&&yr.push(e),e}function zF(e,t,r,n,o,i){return f_(g_(e,t,r,n,o,i,!0))}function h_(e,t,r,n,o){return f_(Mr(e,t,r,n,o,!0))}function d_(e){return e?e.__v_isVNode===!0:!1}function Go(e,t){return e.type===t.type&&e.key===t.key}const Hl="__vInternal",p_=({key:e})=>e??null,Ra=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?dt(e)||Wt(e)||De(e)?{i:_t,r:e,k:t,f:!!r}:e:null);function g_(e,t=null,r=null,n=0,o=null,i=e===dr?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&p_(t),ref:t&&Ra(t),scopeId:Fl,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:_t};return a?(Id(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=dt(r)?8:16),Os>0&&!s&&yr&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&yr.push(l),l}const Mr=ZS;function ZS(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===pS)&&(e=Un),d_(e)){const a=So(e,t,!0);return r&&Id(a,r),Os>0&&!i&&yr&&(a.shapeFlag&6?yr[yr.indexOf(e)]=a:yr.push(a)),a.patchFlag|=-2,a}if(fA(e)&&(e=e.__vccOpts),t){t=eA(t);let{class:a,style:l}=t;a&&!dt(a)&&(t.class=dd(a)),Je(l)&&(Fy(l)&&!Be(l)&&(l=wt({},l)),t.style=hd(l))}const s=dt(e)?1:mS(e)?128:XS(e)?64:Je(e)?4:De(e)?2:0;return g_(e,t,r,n,o,s,i,!0)}function eA(e){return e?Fy(e)||Hl in e?wt({},e):e:null}function So(e,t,r=!1){const{props:n,ref:o,patchFlag:i,children:s}=e,a=t?rA(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&p_(a),ref:t&&t.ref?r&&o?Be(o)?o.concat(Ra(t)):[o,Ra(t)]:Ra(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==dr?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&So(e.ssContent),ssFallback:e.ssFallback&&So(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function tA(e=" ",t=0){return Mr(Wl,null,e,t)}function GF(e="",t=!1){return t?(c_(),h_(Un,null,e)):Mr(Un,null,e)}function Cr(e){return e==null||typeof e=="boolean"?Mr(Un):Be(e)?Mr(dr,null,e.slice()):typeof e=="object"?Nn(e):Mr(Wl,null,String(e))}function Nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:So(e)}function Id(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Be(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Id(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(Hl in t)?t._ctx=_t:o===3&&_t&&(_t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else De(t)?(t={default:t,_ctx:_t},r=32):(t=String(t),n&64?(r=16,t=[tA(t)]):r=8);e.children=t,e.shapeFlag|=r}function rA(...e){const t={};for(let r=0;r{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};nl=t("__VUE_INSTANCE_SETTERS__",r=>Rt=r),tf=t("__VUE_SSR_SETTERS__",r=>Vl=r)}const $s=e=>{const t=Rt;return nl(e),e.scope.on(),()=>{e.scope.off(),nl(t)}},sg=()=>{Rt&&Rt.scope.off(),nl(null)};function m_(e){return e.vnode.shapeFlag&4}let Vl=!1;function sA(e,t=!1){t&&tf(t);const{props:r,children:n}=e.vnode,o=m_(e);WS(e,r,o,t),qS(e,n);const i=o?aA(e,t):void 0;return t&&tf(!1),i}function aA(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=jy(new Proxy(e.ctx,MS));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?uA(e):null,i=$s(e);Pi();const s=Bn(n,e,0,[e.props,o]);if(Li(),i(),vy(s)){if(s.then(sg,sg),t)return s.then(a=>{ag(e,a,t)}).catch(a=>{$l(a,e,0)});e.asyncDep=s}else ag(e,s,t)}else y_(e,t)}function ag(e,t,r){De(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Vy(t)),y_(e,r)}let lg;function y_(e,t,r){const n=e.type;if(!e.render){if(!t&&lg&&!n.render){const o=n.template||Td(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=n,u=wt(wt({isCustomElement:i,delimiters:a},s),l);n.render=lg(o,u)}}e.render=n.render||tr}{const o=$s(e);Pi();try{PS(e)}finally{Li(),o()}}}function lA(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return jt(e,"get","$attrs"),t[r]}}))}function uA(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return lA(e)},slots:e.slots,emit:e.emit,expose:t}}function ql(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Vy(jy(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in bs)return bs[r](e)},has(t,r){return r in t||r in bs}}))}function cA(e,t=!0){return De(e)?e.displayName||e.name:e.name||t&&e.__name}function fA(e){return De(e)&&"__vccOpts"in e}const hA=(e,t)=>QE(e,t,Vl),dA="3.4.21";/** -* @vue/runtime-dom v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const pA="http://www.w3.org/2000/svg",gA="http://www.w3.org/1998/Math/MathML",Mn=typeof document<"u"?document:null,ug=Mn&&Mn.createElement("template"),mA={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Mn.createElementNS(pA,e):t==="mathml"?Mn.createElementNS(gA,e):Mn.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Mn.createTextNode(e),createComment:e=>Mn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const s=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{ug.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const a=ug.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},yA=Symbol("_vtc");function _A(e,t,r){const n=e[yA];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const il=Symbol("_vod"),__=Symbol("_vsh"),QF={beforeMount(e,{value:t},{transition:r}){e[il]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Qo(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Qo(e,!0),n.enter(e)):n.leave(e,()=>{Qo(e,!1)}):Qo(e,t))},beforeUnmount(e,{value:t}){Qo(e,t)}};function Qo(e,t){e.style.display=t?e[il]:"none",e[__]=!t}const bA=Symbol(""),wA=/(^|;)\s*display\s*:/;function vA(e,t,r){const n=e.style,o=dt(r);let i=!1;if(r&&!o){if(t)if(dt(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();r[a]==null&&Oa(n,a,"")}else for(const s in t)r[s]==null&&Oa(n,s,"");for(const s in r)s==="display"&&(i=!0),Oa(n,s,r[s])}else if(o){if(t!==r){const s=n[bA];s&&(r+=";"+s),n.cssText=r,i=wA.test(r)}}else t&&e.removeAttribute("style");il in e&&(e[il]=i?n.display:"",e[__]&&(n.display="none"))}const cg=/\s*!important$/;function Oa(e,t,r){if(Be(r))r.forEach(n=>Oa(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=EA(e,t);cg.test(r)?e.setProperty(Do(n),r.replace(cg,""),"important"):e[n]=r}}const fg=["Webkit","Moz","ms"],$u={};function EA(e,t){const r=$u[t];if(r)return r;let n=$r(t);if(n!=="filter"&&n in e)return $u[t]=n;n=Ll(n);for(let o=0;oUu||(CA.then(()=>Uu=0),Uu=Date.now());function OA(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;_r(kA(n,r.value),t,5,[n])};return r.value=e,r.attached=RA(),r}function kA(e,t){if(Be(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const gg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,NA=(e,t,r,n,o,i,s,a,l)=>{const u=o==="svg";t==="class"?_A(e,n,u):t==="style"?vA(e,r,n):Nl(t)?ud(t)||xA(e,t,r,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):MA(e,t,n,u))?AA(e,t,n,i,s,a,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),SA(e,t,n,u))};function MA(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&gg(t)&&De(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return gg(t)&&dt(r)?!1:t in e}const ol=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Be(t)?r=>xa(t,r):t};function PA(e){e.target.composing=!0}function mg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const mo=Symbol("_assign"),XF={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[mo]=ol(o);const i=n||o.props&&o.props.type==="number";ui(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;r&&(a=a.trim()),i&&(a=Vc(a)),e[mo](a)}),r&&ui(e,"change",()=>{e.value=e.value.trim()}),t||(ui(e,"compositionstart",PA),ui(e,"compositionend",mg),ui(e,"change",mg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},i){if(e[mo]=ol(i),e.composing)return;const s=o||e.type==="number"?Vc(e.value):e.value,a=t??"";s!==a&&(document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===a)||(e.value=a))}},JF={deep:!0,created(e,t,r){e[mo]=ol(r),ui(e,"change",()=>{const n=e._modelValue,o=LA(e),i=e.checked,s=e[mo];if(Be(n)){const a=xy(n,o),l=a!==-1;if(i&&!l)s(n.concat(o));else if(!i&&l){const u=[...n];u.splice(a,1),s(u)}}else if(Ml(n)){const a=new Set(n);i?a.add(o):a.delete(o),s(a)}else s(b_(e,i))})},mounted:yg,beforeUpdate(e,t,r){e[mo]=ol(r),yg(e,t,r)}};function yg(e,{value:t,oldValue:r},n){e._modelValue=t,Be(t)?e.checked=xy(t,n.props.value)>-1:Ml(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=Bl(t,b_(e,!0)))}function LA(e){return"_value"in e?e._value:e.value}function b_(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const BA=wt({patchProp:NA},mA);let _g;function DA(){return _g||(_g=YS(BA))}const ZF=(...e)=>{const t=DA().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=UA(n);if(!o)return;const i=t._component;!De(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=r(o,!1,$A(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function $A(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function UA(e){return dt(e)?document.querySelector(e):e}var Mt="top",zt="bottom",Gt="right",Pt="left",Kl="auto",$o=[Mt,zt,Gt,Pt],Ci="start",Ao="end",w_="clippingParents",Cd="viewport",eo="popper",v_="reference",rf=$o.reduce(function(e,t){return e.concat([t+"-"+Ci,t+"-"+Ao])},[]),Rd=[].concat($o,[Kl]).reduce(function(e,t){return e.concat([t,t+"-"+Ci,t+"-"+Ao])},[]),E_="beforeRead",S_="read",A_="afterRead",T_="beforeMain",x_="main",I_="afterMain",C_="beforeWrite",R_="write",O_="afterWrite",k_=[E_,S_,A_,T_,x_,I_,C_,R_,O_];function Ur(e){return e?(e.nodeName||"").toLowerCase():null}function Qt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ri(e){var t=Qt(e).Element;return e instanceof t||e instanceof Element}function nr(e){var t=Qt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Od(e){if(typeof ShadowRoot>"u")return!1;var t=Qt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function FA(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!nr(i)||!Ur(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(s){var a=o[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function jA(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),a=s.reduce(function(l,u){return l[u]="",l},{});!nr(o)||!Ur(o)||(Object.assign(o.style,a),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const kd={name:"applyStyles",enabled:!0,phase:"write",fn:FA,effect:jA,requires:["computeStyles"]};function Pr(e){return e.split("-")[0]}var vi=Math.max,sl=Math.min,To=Math.round;function nf(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function N_(){return!/^((?!chrome|android).)*safari/i.test(nf())}function xo(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&nr(e)&&(o=e.offsetWidth>0&&To(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&To(n.height)/e.offsetHeight||1);var s=Ri(e)?Qt(e):window,a=s.visualViewport,l=!N_()&&r,u=(n.left+(l&&a?a.offsetLeft:0))/o,c=(n.top+(l&&a?a.offsetTop:0))/i,d=n.width/o,p=n.height/i;return{width:d,height:p,top:c,right:u+d,bottom:c+p,left:u,x:u,y:c}}function Nd(e){var t=xo(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function M_(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Od(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function an(e){return Qt(e).getComputedStyle(e)}function WA(e){return["table","td","th"].indexOf(Ur(e))>=0}function Hn(e){return((Ri(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yl(e){return Ur(e)==="html"?e:e.assignedSlot||e.parentNode||(Od(e)?e.host:null)||Hn(e)}function bg(e){return!nr(e)||an(e).position==="fixed"?null:e.offsetParent}function HA(e){var t=/firefox/i.test(nf()),r=/Trident/i.test(nf());if(r&&nr(e)){var n=an(e);if(n.position==="fixed")return null}var o=Yl(e);for(Od(o)&&(o=o.host);nr(o)&&["html","body"].indexOf(Ur(o))<0;){var i=an(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Us(e){for(var t=Qt(e),r=bg(e);r&&WA(r)&&an(r).position==="static";)r=bg(r);return r&&(Ur(r)==="html"||Ur(r)==="body"&&an(r).position==="static")?t:r||HA(e)||t}function Md(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Es(e,t,r){return vi(e,sl(t,r))}function VA(e,t,r){var n=Es(e,t,r);return n>r?r:n}function P_(){return{top:0,right:0,bottom:0,left:0}}function L_(e){return Object.assign({},P_(),e)}function B_(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var qA=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,L_(typeof t!="number"?t:B_(t,$o))};function KA(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,a=Pr(r.placement),l=Md(a),u=[Pt,Gt].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!s)){var d=qA(o.padding,r),p=Nd(i),g=l==="y"?Mt:Pt,_=l==="y"?zt:Gt,b=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],x=s[l]-r.rects.reference[l],k=Us(i),R=k?l==="y"?k.clientHeight||0:k.clientWidth||0:0,A=b/2-x/2,B=d[g],$=R-p[c]-d[_],I=R/2-p[c]/2+A,P=Es(B,I,$),W=l;r.modifiersData[n]=(t={},t[W]=P,t.centerOffset=P-I,t)}}function YA(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||M_(t.elements.popper,o)&&(t.elements.arrow=o))}const D_={name:"arrow",enabled:!0,phase:"main",fn:KA,effect:YA,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Io(e){return e.split("-")[1]}var zA={top:"auto",right:"auto",bottom:"auto",left:"auto"};function GA(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:To(r*o)/o||0,y:To(n*o)/o||0}}function wg(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=s.x,g=p===void 0?0:p,_=s.y,b=_===void 0?0:_,x=typeof c=="function"?c({x:g,y:b}):{x:g,y:b};g=x.x,b=x.y;var k=s.hasOwnProperty("x"),R=s.hasOwnProperty("y"),A=Pt,B=Mt,$=window;if(u){var I=Us(r),P="clientHeight",W="clientWidth";if(I===Qt(r)&&(I=Hn(r),an(I).position!=="static"&&a==="absolute"&&(P="scrollHeight",W="scrollWidth")),I=I,o===Mt||(o===Pt||o===Gt)&&i===Ao){B=zt;var Y=d&&I===$&&$.visualViewport?$.visualViewport.height:I[P];b-=Y-n.height,b*=l?1:-1}if(o===Pt||(o===Mt||o===zt)&&i===Ao){A=Gt;var oe=d&&I===$&&$.visualViewport?$.visualViewport.width:I[W];g-=oe-n.width,g*=l?1:-1}}var te=Object.assign({position:a},u&&zA),M=c===!0?GA({x:g,y:b},Qt(r)):{x:g,y:b};if(g=M.x,b=M.y,l){var L;return Object.assign({},te,(L={},L[B]=R?"0":"",L[A]=k?"0":"",L.transform=($.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",L))}return Object.assign({},te,(t={},t[B]=R?b+"px":"",t[A]=k?g+"px":"",t.transform="",t))}function QA(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,s=i===void 0?!0:i,a=r.roundOffsets,l=a===void 0?!0:a,u={placement:Pr(t.placement),variation:Io(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,wg(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,wg(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Pd={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:QA,data:{}};var ia={passive:!0};function XA(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,s=n.resize,a=s===void 0?!0:s,l=Qt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",r.update,ia)}),a&&l.addEventListener("resize",r.update,ia),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",r.update,ia)}),a&&l.removeEventListener("resize",r.update,ia)}}const Ld={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:XA,data:{}};var JA={left:"right",right:"left",bottom:"top",top:"bottom"};function ka(e){return e.replace(/left|right|bottom|top/g,function(t){return JA[t]})}var ZA={start:"end",end:"start"};function vg(e){return e.replace(/start|end/g,function(t){return ZA[t]})}function Bd(e){var t=Qt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Dd(e){return xo(Hn(e)).left+Bd(e).scrollLeft}function eT(e,t){var r=Qt(e),n=Hn(e),o=r.visualViewport,i=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;var u=N_();(u||!u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a+Dd(e),y:l}}function tT(e){var t,r=Hn(e),n=Bd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=vi(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=vi(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+Dd(e),l=-n.scrollTop;return an(o||r).direction==="rtl"&&(a+=vi(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function $d(e){var t=an(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function $_(e){return["html","body","#document"].indexOf(Ur(e))>=0?e.ownerDocument.body:nr(e)&&$d(e)?e:$_(Yl(e))}function Ss(e,t){var r;t===void 0&&(t=[]);var n=$_(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Qt(n),s=o?[i].concat(i.visualViewport||[],$d(n)?n:[]):n,a=t.concat(s);return o?a:a.concat(Ss(Yl(s)))}function of(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function rT(e,t){var r=xo(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Eg(e,t,r){return t===Cd?of(eT(e,r)):Ri(t)?rT(t,r):of(tT(Hn(e)))}function nT(e){var t=Ss(Yl(e)),r=["absolute","fixed"].indexOf(an(e).position)>=0,n=r&&nr(e)?Us(e):e;return Ri(n)?t.filter(function(o){return Ri(o)&&M_(o,n)&&Ur(o)!=="body"}):[]}function iT(e,t,r,n){var o=t==="clippingParents"?nT(e):[].concat(t),i=[].concat(o,[r]),s=i[0],a=i.reduce(function(l,u){var c=Eg(e,u,n);return l.top=vi(c.top,l.top),l.right=sl(c.right,l.right),l.bottom=sl(c.bottom,l.bottom),l.left=vi(c.left,l.left),l},Eg(e,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function U_(e){var t=e.reference,r=e.element,n=e.placement,o=n?Pr(n):null,i=n?Io(n):null,s=t.x+t.width/2-r.width/2,a=t.y+t.height/2-r.height/2,l;switch(o){case Mt:l={x:s,y:t.y-r.height};break;case zt:l={x:s,y:t.y+t.height};break;case Gt:l={x:t.x+t.width,y:a};break;case Pt:l={x:t.x-r.width,y:a};break;default:l={x:t.x,y:t.y}}var u=o?Md(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Ci:l[u]=l[u]-(t[c]/2-r[c]/2);break;case Ao:l[u]=l[u]+(t[c]/2-r[c]/2);break}}return l}function Co(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,s=i===void 0?e.strategy:i,a=r.boundary,l=a===void 0?w_:a,u=r.rootBoundary,c=u===void 0?Cd:u,d=r.elementContext,p=d===void 0?eo:d,g=r.altBoundary,_=g===void 0?!1:g,b=r.padding,x=b===void 0?0:b,k=L_(typeof x!="number"?x:B_(x,$o)),R=p===eo?v_:eo,A=e.rects.popper,B=e.elements[_?R:p],$=iT(Ri(B)?B:B.contextElement||Hn(e.elements.popper),l,c,s),I=xo(e.elements.reference),P=U_({reference:I,element:A,strategy:"absolute",placement:o}),W=of(Object.assign({},A,P)),Y=p===eo?W:I,oe={top:$.top-Y.top+k.top,bottom:Y.bottom-$.bottom+k.bottom,left:$.left-Y.left+k.left,right:Y.right-$.right+k.right},te=e.modifiersData.offset;if(p===eo&&te){var M=te[o];Object.keys(oe).forEach(function(L){var ie=[Gt,zt].indexOf(L)>=0?1:-1,re=[Mt,zt].indexOf(L)>=0?"y":"x";oe[L]+=M[re]*ie})}return oe}function oT(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,s=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?Rd:l,c=Io(n),d=c?a?rf:rf.filter(function(_){return Io(_)===c}):$o,p=d.filter(function(_){return u.indexOf(_)>=0});p.length===0&&(p=d);var g=p.reduce(function(_,b){return _[b]=Co(e,{placement:b,boundary:o,rootBoundary:i,padding:s})[Pr(b)],_},{});return Object.keys(g).sort(function(_,b){return g[_]-g[b]})}function sT(e){if(Pr(e)===Kl)return[];var t=ka(e);return[vg(e),t,vg(t)]}function aT(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,s=r.altAxis,a=s===void 0?!0:s,l=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,g=r.flipVariations,_=g===void 0?!0:g,b=r.allowedAutoPlacements,x=t.options.placement,k=Pr(x),R=k===x,A=l||(R||!_?[ka(x)]:sT(x)),B=[x].concat(A).reduce(function(ge,Se){return ge.concat(Pr(Se)===Kl?oT(t,{placement:Se,boundary:c,rootBoundary:d,padding:u,flipVariations:_,allowedAutoPlacements:b}):Se)},[]),$=t.rects.reference,I=t.rects.popper,P=new Map,W=!0,Y=B[0],oe=0;oe=0,re=ie?"width":"height",ae=Co(t,{placement:te,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),se=ie?L?Gt:Pt:L?zt:Mt;$[re]>I[re]&&(se=ka(se));var Q=ka(se),he=[];if(i&&he.push(ae[M]<=0),a&&he.push(ae[se]<=0,ae[Q]<=0),he.every(function(ge){return ge})){Y=te,W=!1;break}P.set(te,he)}if(W)for(var fe=_?3:1,pe=function(Se){var ye=B.find(function(V){var j=P.get(V);if(j)return j.slice(0,Se).every(function(Z){return Z})});if(ye)return Y=ye,"break"},F=fe;F>0;F--){var ne=pe(F);if(ne==="break")break}t.placement!==Y&&(t.modifiersData[n]._skip=!0,t.placement=Y,t.reset=!0)}}const F_={name:"flip",enabled:!0,phase:"main",fn:aT,requiresIfExists:["offset"],data:{_skip:!1}};function Sg(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ag(e){return[Mt,Gt,zt,Pt].some(function(t){return e[t]>=0})}function lT(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=Co(t,{elementContext:"reference"}),a=Co(t,{altBoundary:!0}),l=Sg(s,n),u=Sg(a,o,i),c=Ag(l),d=Ag(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const j_={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:lT};function uT(e,t,r){var n=Pr(e),o=[Pt,Mt].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[Pt,Gt].indexOf(n)>=0?{x:a,y:s}:{x:s,y:a}}function cT(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,s=Rd.reduce(function(c,d){return c[d]=uT(d,t.rects,i),c},{}),a=s[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=s}const W_={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cT};function fT(e){var t=e.state,r=e.name;t.modifiersData[r]=U_({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Ud={name:"popperOffsets",enabled:!0,phase:"read",fn:fT,data:{}};function hT(e){return e==="x"?"y":"x"}function dT(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,s=r.altAxis,a=s===void 0?!1:s,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,d=r.padding,p=r.tether,g=p===void 0?!0:p,_=r.tetherOffset,b=_===void 0?0:_,x=Co(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),k=Pr(t.placement),R=Io(t.placement),A=!R,B=Md(k),$=hT(B),I=t.modifiersData.popperOffsets,P=t.rects.reference,W=t.rects.popper,Y=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,oe=typeof Y=="number"?{mainAxis:Y,altAxis:Y}:Object.assign({mainAxis:0,altAxis:0},Y),te=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(I){if(i){var L,ie=B==="y"?Mt:Pt,re=B==="y"?zt:Gt,ae=B==="y"?"height":"width",se=I[B],Q=se+x[ie],he=se-x[re],fe=g?-W[ae]/2:0,pe=R===Ci?P[ae]:W[ae],F=R===Ci?-W[ae]:-P[ae],ne=t.elements.arrow,ge=g&&ne?Nd(ne):{width:0,height:0},Se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:P_(),ye=Se[ie],V=Se[re],j=Es(0,P[ae],ge[ae]),Z=A?P[ae]/2-fe-j-ye-oe.mainAxis:pe-j-ye-oe.mainAxis,ue=A?-P[ae]/2+fe+j+V+oe.mainAxis:F+j+V+oe.mainAxis,le=t.elements.arrow&&Us(t.elements.arrow),X=le?B==="y"?le.clientTop||0:le.clientLeft||0:0,E=(L=te==null?void 0:te[B])!=null?L:0,T=se+Z-E-X,S=se+ue-E,O=Es(g?sl(Q,T):Q,se,g?vi(he,S):he);I[B]=O,M[B]=O-se}if(a){var N,ee=B==="x"?Mt:Pt,J=B==="x"?zt:Gt,D=I[$],K=$==="y"?"height":"width",z=D+x[ee],ce=D-x[J],be=[Mt,Pt].indexOf(k)!==-1,Te=(N=te==null?void 0:te[$])!=null?N:0,y=be?z:D-P[K]-W[K]-Te+oe.altAxis,h=be?D+P[K]+W[K]-Te-oe.altAxis:ce,f=g&&be?VA(y,D,h):Es(g?y:z,D,g?h:ce);I[$]=f,M[$]=f-D}t.modifiersData[n]=M}}const H_={name:"preventOverflow",enabled:!0,phase:"main",fn:dT,requiresIfExists:["offset"]};function pT(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function gT(e){return e===Qt(e)||!nr(e)?Bd(e):pT(e)}function mT(e){var t=e.getBoundingClientRect(),r=To(t.width)/e.offsetWidth||1,n=To(t.height)/e.offsetHeight||1;return r!==1||n!==1}function yT(e,t,r){r===void 0&&(r=!1);var n=nr(t),o=nr(t)&&mT(t),i=Hn(t),s=xo(e,o,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Ur(t)!=="body"||$d(i))&&(a=gT(t)),nr(t)?(l=xo(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Dd(i))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function _T(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!r.has(a)){var l=t.get(a);l&&o(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function bT(e){var t=_T(e);return k_.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function wT(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function vT(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Tg={placement:"bottom",modifiers:[],strategy:"absolute"};function xg(){for(var e=arguments.length,t=new Array(e),r=0;r(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),CT=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),RT=e=>{do e+=Math.floor(Math.random()*xT);while(document.getElementById(e));return e},OT=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:r}=window.getComputedStyle(e);const n=Number.parseFloat(t),o=Number.parseFloat(r);return!n&&!o?0:(t=t.split(",")[0],r=r.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(r))*IT)},K_=e=>{e.dispatchEvent(new Event(sf))},on=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Fn=e=>on(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(q_(e)):null,Uo=e=>{if(!on(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",r=e.closest("details:not([open])");if(!r)return t;if(r!==e){const n=e.closest("summary");if(n&&n.parentNode!==r||n===null)return!1}return t},jn=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",Y_=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Y_(e.parentNode):null},al=()=>{},Fs=e=>{e.offsetHeight},z_=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ju=[],kT=e=>{document.readyState==="loading"?(ju.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of ju)t()}),ju.push(e)):e()},ir=()=>document.documentElement.dir==="rtl",sr=e=>{kT(()=>{const t=z_();if(t){const r=e.NAME,n=t.fn[r];t.fn[r]=e.jQueryInterface,t.fn[r].Constructor=e,t.fn[r].noConflict=()=>(t.fn[r]=n,e.jQueryInterface)}})},Ut=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,G_=(e,t,r=!0)=>{if(!r){Ut(e);return}const o=OT(t)+5;let i=!1;const s=({target:a})=>{a===t&&(i=!0,t.removeEventListener(sf,s),Ut(e))};t.addEventListener(sf,s),setTimeout(()=>{i||K_(t)},o)},jd=(e,t,r,n)=>{const o=e.length;let i=e.indexOf(t);return i===-1?!r&&n?e[o-1]:e[0]:(i+=r?1:-1,n&&(i=(i+o)%o),e[Math.max(0,Math.min(i,o-1))])},NT=/[^.]*(?=\..*)\.|.*/,MT=/\..*/,PT=/::\d+$/,Wu={};let Ig=1;const Q_={mouseenter:"mouseover",mouseleave:"mouseout"},LT=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function X_(e,t){return t&&`${t}::${Ig++}`||e.uidEvent||Ig++}function J_(e){const t=X_(e);return e.uidEvent=t,Wu[t]=Wu[t]||{},Wu[t]}function BT(e,t){return function r(n){return Wd(n,{delegateTarget:e}),r.oneOff&&Ce.off(e,n.type,t),t.apply(e,[n])}}function DT(e,t,r){return function n(o){const i=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of i)if(a===s)return Wd(o,{delegateTarget:s}),n.oneOff&&Ce.off(e,o.type,t,r),r.apply(s,[o])}}function Z_(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function eb(e,t,r){const n=typeof t=="string",o=n?r:t||r;let i=tb(e);return LT.has(i)||(i=e),[n,o,i]}function Cg(e,t,r,n,o){if(typeof t!="string"||!e)return;let[i,s,a]=eb(t,r,n);t in Q_&&(s=(_=>function(b){if(!b.relatedTarget||b.relatedTarget!==b.delegateTarget&&!b.delegateTarget.contains(b.relatedTarget))return _.call(this,b)})(s));const l=J_(e),u=l[a]||(l[a]={}),c=Z_(u,s,i?r:null);if(c){c.oneOff=c.oneOff&&o;return}const d=X_(s,t.replace(NT,"")),p=i?DT(e,r,s):BT(e,s);p.delegationSelector=i?r:null,p.callable=s,p.oneOff=o,p.uidEvent=d,u[d]=p,e.addEventListener(a,p,i)}function af(e,t,r,n,o){const i=Z_(t[r],n,o);i&&(e.removeEventListener(r,i,!!o),delete t[r][i.uidEvent])}function $T(e,t,r,n){const o=t[r]||{};for(const[i,s]of Object.entries(o))i.includes(n)&&af(e,t,r,s.callable,s.delegationSelector)}function tb(e){return e=e.replace(MT,""),Q_[e]||e}const Ce={on(e,t,r,n){Cg(e,t,r,n,!1)},one(e,t,r,n){Cg(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[o,i,s]=eb(t,r,n),a=s!==t,l=J_(e),u=l[s]||{},c=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;af(e,l,s,i,o?r:null);return}if(c)for(const d of Object.keys(l))$T(e,l,d,t.slice(1));for(const[d,p]of Object.entries(u)){const g=d.replace(PT,"");(!a||t.includes(g))&&af(e,l,s,p.callable,p.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=z_(),o=tb(t),i=t!==o;let s=null,a=!0,l=!0,u=!1;i&&n&&(s=n.Event(t,r),n(e).trigger(s),a=!s.isPropagationStopped(),l=!s.isImmediatePropagationStopped(),u=s.isDefaultPrevented());const c=Wd(new Event(t,{bubbles:a,cancelable:!0}),r);return u&&c.preventDefault(),l&&e.dispatchEvent(c),c.defaultPrevented&&s&&s.preventDefault(),c}};function Wd(e,t={}){for(const[r,n]of Object.entries(t))try{e[r]=n}catch{Object.defineProperty(e,r,{configurable:!0,get(){return n}})}return e}function Rg(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Hu(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const sn={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${Hu(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Hu(t)}`)},getDataAttributes(e){if(!e)return{};const t={},r=Object.keys(e.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of r){let o=n.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),t[o]=Rg(e.dataset[n])}return t},getDataAttribute(e,t){return Rg(e.getAttribute(`data-bs-${Hu(t)}`))}};class js{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,r){const n=on(r)?sn.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...on(r)?sn.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[n,o]of Object.entries(r)){const i=t[n],s=on(i)?"element":CT(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${o}".`)}}}const UT="5.3.3";class br extends js{constructor(t,r){super(),t=Fn(t),t&&(this._element=t,this._config=this._getConfig(r),Fu.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Fu.remove(this._element,this.constructor.DATA_KEY),Ce.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){G_(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Fu.get(Fn(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return UT}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Vu=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let r=e.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),t=r&&r!=="#"?r.trim():null}return t?t.split(",").map(r=>q_(r)).join(","):null},Pe={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(r=>r.matches(t))},parents(e,t){const r=[];let n=e.parentNode.closest(t);for(;n;)r.push(n),n=n.parentNode.closest(t);return r},prev(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(r=>!jn(r)&&Uo(r))},getSelectorFromElement(e){const t=Vu(e);return t&&Pe.findOne(t)?t:null},getElementFromSelector(e){const t=Vu(e);return t?Pe.findOne(t):null},getMultipleElementsFromSelector(e){const t=Vu(e);return t?Pe.find(t):[]}},Gl=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Ce.on(document,r,`[data-bs-dismiss="${n}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),jn(this))return;const i=Pe.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(i)[t]()})},FT="alert",jT="bs.alert",rb=`.${jT}`,WT=`close${rb}`,HT=`closed${rb}`,VT="fade",qT="show";class Ql extends br{static get NAME(){return FT}close(){if(Ce.trigger(this._element,WT).defaultPrevented)return;this._element.classList.remove(qT);const r=this._element.classList.contains(VT);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Ce.trigger(this._element,HT),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=Ql.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Gl(Ql,"close");sr(Ql);const KT="button",YT="bs.button",zT=`.${YT}`,GT=".data-api",QT="active",Og='[data-bs-toggle="button"]',XT=`click${zT}${GT}`;class Xl extends br{static get NAME(){return KT}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(QT))}static jQueryInterface(t){return this.each(function(){const r=Xl.getOrCreateInstance(this);t==="toggle"&&r[t]()})}}Ce.on(document,XT,Og,e=>{e.preventDefault();const t=e.target.closest(Og);Xl.getOrCreateInstance(t).toggle()});sr(Xl);const JT="swipe",Fo=".bs.swipe",ZT=`touchstart${Fo}`,ex=`touchmove${Fo}`,tx=`touchend${Fo}`,rx=`pointerdown${Fo}`,nx=`pointerup${Fo}`,ix="touch",ox="pen",sx="pointer-event",ax=40,lx={endCallback:null,leftCallback:null,rightCallback:null},ux={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ll extends js{constructor(t,r){super(),this._element=t,!(!t||!ll.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return lx}static get DefaultType(){return ux}static get NAME(){return JT}dispose(){Ce.off(this._element,Fo)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Ut(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=ax)return;const r=t/this._deltaX;this._deltaX=0,r&&Ut(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Ce.on(this._element,rx,t=>this._start(t)),Ce.on(this._element,nx,t=>this._end(t)),this._element.classList.add(sx)):(Ce.on(this._element,ZT,t=>this._start(t)),Ce.on(this._element,ex,t=>this._move(t)),Ce.on(this._element,tx,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===ox||t.pointerType===ix)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const cx="carousel",fx="bs.carousel",Vn=`.${fx}`,nb=".data-api",hx="ArrowLeft",dx="ArrowRight",px=500,Xo="next",Gi="prev",to="left",Na="right",gx=`slide${Vn}`,qu=`slid${Vn}`,mx=`keydown${Vn}`,yx=`mouseenter${Vn}`,_x=`mouseleave${Vn}`,bx=`dragstart${Vn}`,vx=`load${Vn}${nb}`,Ex=`click${Vn}${nb}`,ib="carousel",oa="active",Sx="slide",Ax="carousel-item-end",Tx="carousel-item-start",xx="carousel-item-next",Ix="carousel-item-prev",ob=".active",sb=".carousel-item",Cx=ob+sb,Rx=".carousel-item img",Ox=".carousel-indicators",kx="[data-bs-slide], [data-bs-slide-to]",Nx='[data-bs-ride="carousel"]',Mx={[hx]:Na,[dx]:to},Px={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Lx={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ws extends br{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Pe.findOne(Ox,this._element),this._addEventListeners(),this._config.ride===ib&&this.cycle()}static get Default(){return Px}static get DefaultType(){return Lx}static get NAME(){return cx}next(){this._slide(Xo)}nextWhenVisible(){!document.hidden&&Uo(this._element)&&this.next()}prev(){this._slide(Gi)}pause(){this._isSliding&&K_(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){Ce.one(this._element,qu,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){Ce.one(this._element,qu,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const o=t>n?Xo:Gi;this._slide(o,r[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Ce.on(this._element,mx,t=>this._keydown(t)),this._config.pause==="hover"&&(Ce.on(this._element,yx,()=>this.pause()),Ce.on(this._element,_x,()=>this._maybeEnableCycle())),this._config.touch&&ll.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Pe.find(Rx,this._element))Ce.on(n,bx,o=>o.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(to)),rightCallback:()=>this._slide(this._directionToOrder(Na)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),px+this._config.interval))}};this._swipeHelper=new ll(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=Mx[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=Pe.findOne(ob,this._indicatorsElement);r.classList.remove(oa),r.removeAttribute("aria-current");const n=Pe.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(oa),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const r=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(t,r=null){if(this._isSliding)return;const n=this._getActive(),o=t===Xo,i=r||jd(this._getItems(),n,o,this._config.wrap);if(i===n)return;const s=this._getItemIndex(i),a=g=>Ce.trigger(this._element,g,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:s});if(a(gx).defaultPrevented||!n||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const c=o?Tx:Ax,d=o?xx:Ix;i.classList.add(d),Fs(i),n.classList.add(c),i.classList.add(c);const p=()=>{i.classList.remove(c,d),i.classList.add(oa),n.classList.remove(oa,d,c),this._isSliding=!1,a(qu)};this._queueCallback(p,n,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(Sx)}_getActive(){return Pe.findOne(Cx,this._element)}_getItems(){return Pe.find(sb,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ir()?t===to?Gi:Xo:t===to?Xo:Gi}_orderToDirection(t){return ir()?t===Gi?to:Na:t===Gi?Na:to}static jQueryInterface(t){return this.each(function(){const r=Ws.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ce.on(document,Ex,kx,function(e){const t=Pe.getElementFromSelector(this);if(!t||!t.classList.contains(ib))return;e.preventDefault();const r=Ws.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(sn.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Ce.on(window,vx,()=>{const e=Pe.find(Nx);for(const t of e)Ws.getOrCreateInstance(t)});sr(Ws);const Bx="collapse",Dx="bs.collapse",Hs=`.${Dx}`,$x=".data-api",Ux=`show${Hs}`,Fx=`shown${Hs}`,jx=`hide${Hs}`,Wx=`hidden${Hs}`,Hx=`click${Hs}${$x}`,Ku="show",so="collapse",sa="collapsing",Vx="collapsed",qx=`:scope .${so} .${so}`,Kx="collapse-horizontal",Yx="width",zx="height",Gx=".collapse.show, .collapse.collapsing",lf='[data-bs-toggle="collapse"]',Qx={parent:null,toggle:!0},Xx={parent:"(null|element)",toggle:"boolean"};class ks extends br{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=Pe.find(lf);for(const o of n){const i=Pe.getSelectorFromElement(o),s=Pe.find(i).filter(a=>a===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Qx}static get DefaultType(){return Xx}static get NAME(){return Bx}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Gx).filter(a=>a!==this._element).map(a=>ks.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||Ce.trigger(this._element,Ux).defaultPrevented)return;for(const a of t)a.hide();const n=this._getDimension();this._element.classList.remove(so),this._element.classList.add(sa),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(sa),this._element.classList.add(so,Ku),this._element.style[n]="",Ce.trigger(this._element,Fx)},s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||Ce.trigger(this._element,jx).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Fs(this._element),this._element.classList.add(sa),this._element.classList.remove(so,Ku);for(const o of this._triggerArray){const i=Pe.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(sa),this._element.classList.add(so),Ce.trigger(this._element,Wx)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ku)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Fn(t.parent),t}_getDimension(){return this._element.classList.contains(Kx)?Yx:zx}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(lf);for(const r of t){const n=Pe.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=Pe.find(qx,this._config.parent);return Pe.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(Vx,!r),n.setAttribute("aria-expanded",r)}static jQueryInterface(t){const r={};return typeof t=="string"&&/show|hide/.test(t)&&(r.toggle=!1),this.each(function(){const n=ks.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Ce.on(document,Hx,lf,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Pe.getMultipleElementsFromSelector(this))ks.getOrCreateInstance(t,{toggle:!1}).toggle()});sr(ks);const kg="dropdown",Jx="bs.dropdown",Bi=`.${Jx}`,Hd=".data-api",Zx="Escape",Ng="Tab",eI="ArrowUp",Mg="ArrowDown",tI=2,rI=`hide${Bi}`,nI=`hidden${Bi}`,iI=`show${Bi}`,oI=`shown${Bi}`,ab=`click${Bi}${Hd}`,lb=`keydown${Bi}${Hd}`,sI=`keyup${Bi}${Hd}`,ro="show",aI="dropup",lI="dropend",uI="dropstart",cI="dropup-center",fI="dropdown-center",hi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',hI=`${hi}.${ro}`,Ma=".dropdown-menu",dI=".navbar",pI=".navbar-nav",gI=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",mI=ir()?"top-end":"top-start",yI=ir()?"top-start":"top-end",_I=ir()?"bottom-end":"bottom-start",bI=ir()?"bottom-start":"bottom-end",wI=ir()?"left-start":"right-start",vI=ir()?"right-start":"left-start",EI="top",SI="bottom",AI={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},TI={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Lr extends br{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Pe.next(this._element,Ma)[0]||Pe.prev(this._element,Ma)[0]||Pe.findOne(Ma,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return AI}static get DefaultType(){return TI}static get NAME(){return kg}toggle(){return this._isShown()?this.hide():this.show()}show(){if(jn(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Ce.trigger(this._element,iI,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(pI))for(const n of[].concat(...document.body.children))Ce.on(n,"mouseover",al);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ro),this._element.classList.add(ro),Ce.trigger(this._element,oI,t)}}hide(){if(jn(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Ce.trigger(this._element,rI,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Ce.off(n,"mouseover",al);this._popper&&this._popper.destroy(),this._menu.classList.remove(ro),this._element.classList.remove(ro),this._element.setAttribute("aria-expanded","false"),sn.removeDataAttribute(this._menu,"popper"),Ce.trigger(this._element,nI,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!on(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${kg.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof V_>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:on(this._config.reference)?t=Fn(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=Fd(t,this._menu,r)}_isShown(){return this._menu.classList.contains(ro)}_getPlacement(){const t=this._parent;if(t.classList.contains(lI))return wI;if(t.classList.contains(uI))return vI;if(t.classList.contains(cI))return EI;if(t.classList.contains(fI))return SI;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(aI)?r?yI:mI:r?bI:_I}_detectNavbar(){return this._element.closest(dI)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(sn.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Ut(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=Pe.find(gI,this._menu).filter(o=>Uo(o));n.length&&jd(n,r,t===Mg,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Lr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}static clearMenus(t){if(t.button===tI||t.type==="keyup"&&t.key!==Ng)return;const r=Pe.find(hI);for(const n of r){const o=Lr.getInstance(n);if(!o||o._config.autoClose===!1)continue;const i=t.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Ng||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:o._element};t.type==="click"&&(a.clickEvent=t),o._completeHide(a)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===Zx,o=[eI,Mg].includes(t.key);if(!o&&!n||r&&!n)return;t.preventDefault();const i=this.matches(hi)?this:Pe.prev(this,hi)[0]||Pe.next(this,hi)[0]||Pe.findOne(hi,t.delegateTarget.parentNode),s=Lr.getOrCreateInstance(i);if(o){t.stopPropagation(),s.show(),s._selectMenuItem(t);return}s._isShown()&&(t.stopPropagation(),s.hide(),i.focus())}}Ce.on(document,lb,hi,Lr.dataApiKeydownHandler);Ce.on(document,lb,Ma,Lr.dataApiKeydownHandler);Ce.on(document,ab,Lr.clearMenus);Ce.on(document,sI,Lr.clearMenus);Ce.on(document,ab,hi,function(e){e.preventDefault(),Lr.getOrCreateInstance(this).toggle()});sr(Lr);const ub="backdrop",xI="fade",Pg="show",Lg=`mousedown.bs.${ub}`,II={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},CI={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class cb extends js{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return II}static get DefaultType(){return CI}static get NAME(){return ub}show(t){if(!this._config.isVisible){Ut(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Fs(r),r.classList.add(Pg),this._emulateAnimation(()=>{Ut(t)})}hide(t){if(!this._config.isVisible){Ut(t);return}this._getElement().classList.remove(Pg),this._emulateAnimation(()=>{this.dispose(),Ut(t)})}dispose(){this._isAppended&&(Ce.off(this._element,Lg),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(xI),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Fn(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Ce.on(t,Lg,()=>{Ut(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){G_(t,this._getElement(),this._config.isAnimated)}}const RI="focustrap",OI="bs.focustrap",ul=`.${OI}`,kI=`focusin${ul}`,NI=`keydown.tab${ul}`,MI="Tab",PI="forward",Bg="backward",LI={autofocus:!0,trapElement:null},BI={autofocus:"boolean",trapElement:"element"};class fb extends js{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return LI}static get DefaultType(){return BI}static get NAME(){return RI}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Ce.off(document,ul),Ce.on(document,kI,t=>this._handleFocusin(t)),Ce.on(document,NI,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Ce.off(document,ul))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=Pe.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===Bg?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===MI&&(this._lastTabNavDirection=t.shiftKey?Bg:PI)}}const Dg=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",$g=".sticky-top",aa="padding-right",Ug="margin-right";class uf{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,aa,r=>r+t),this._setElementAttributes(Dg,aa,r=>r+t),this._setElementAttributes($g,Ug,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,aa),this._resetElementAttributes(Dg,aa),this._resetElementAttributes($g,Ug)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,n){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,r);const a=window.getComputedStyle(s).getPropertyValue(r);s.style.setProperty(r,`${n(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&sn.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=o=>{const i=sn.getDataAttribute(o,r);if(i===null){o.style.removeProperty(r);return}sn.removeDataAttribute(o,r),o.style.setProperty(r,i)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(on(t)){r(t);return}for(const n of Pe.find(t,this._element))r(n)}}const DI="modal",$I="bs.modal",or=`.${$I}`,UI=".data-api",FI="Escape",jI=`hide${or}`,WI=`hidePrevented${or}`,hb=`hidden${or}`,db=`show${or}`,HI=`shown${or}`,VI=`resize${or}`,qI=`click.dismiss${or}`,KI=`mousedown.dismiss${or}`,YI=`keydown.dismiss${or}`,zI=`click${or}${UI}`,Fg="modal-open",GI="fade",jg="show",Yu="modal-static",QI=".modal.show",XI=".modal-dialog",JI=".modal-body",ZI='[data-bs-toggle="modal"]',eC={backdrop:!0,focus:!0,keyboard:!0},tC={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ro extends br{constructor(t,r){super(t,r),this._dialog=Pe.findOne(XI,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new uf,this._addEventListeners()}static get Default(){return eC}static get DefaultType(){return tC}static get NAME(){return DI}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Ce.trigger(this._element,db,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Fg),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Ce.trigger(this._element,jI).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(jg),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Ce.off(window,or),Ce.off(this._dialog,or),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new cb({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new fb({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const r=Pe.findOne(JI,this._dialog);r&&(r.scrollTop=0),Fs(this._element),this._element.classList.add(jg);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Ce.trigger(this._element,HI,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Ce.on(this._element,YI,t=>{if(t.key===FI){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Ce.on(window,VI,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Ce.on(this._element,KI,t=>{Ce.one(this._element,qI,r=>{if(!(this._element!==t.target||this._element!==r.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Fg),this._resetAdjustments(),this._scrollBar.reset(),Ce.trigger(this._element,hb)})}_isAnimated(){return this._element.classList.contains(GI)}_triggerBackdropTransition(){if(Ce.trigger(this._element,WI).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(Yu)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(Yu),this._queueCallback(()=>{this._element.classList.remove(Yu),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!t){const o=ir()?"paddingLeft":"paddingRight";this._element.style[o]=`${r}px`}if(!n&&t){const o=ir()?"paddingRight":"paddingLeft";this._element.style[o]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const n=Ro.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}}Ce.on(document,zI,ZI,function(e){const t=Pe.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ce.one(t,db,o=>{o.defaultPrevented||Ce.one(t,hb,()=>{Uo(this)&&this.focus()})});const r=Pe.findOne(QI);r&&Ro.getInstance(r).hide(),Ro.getOrCreateInstance(t).toggle(this)});Gl(Ro);sr(Ro);const rC="offcanvas",nC="bs.offcanvas",yn=`.${nC}`,pb=".data-api",iC=`load${yn}${pb}`,oC="Escape",Wg="show",Hg="showing",Vg="hiding",sC="offcanvas-backdrop",gb=".offcanvas.show",aC=`show${yn}`,lC=`shown${yn}`,uC=`hide${yn}`,qg=`hidePrevented${yn}`,mb=`hidden${yn}`,cC=`resize${yn}`,fC=`click${yn}${pb}`,hC=`keydown.dismiss${yn}`,dC='[data-bs-toggle="offcanvas"]',pC={backdrop:!0,keyboard:!0,scroll:!1},gC={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Wn extends br{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return pC}static get DefaultType(){return gC}static get NAME(){return rC}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Ce.trigger(this._element,aC,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new uf().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Hg);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Wg),this._element.classList.remove(Hg),Ce.trigger(this._element,lC,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Ce.trigger(this._element,uC).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Vg),this._backdrop.hide();const r=()=>{this._element.classList.remove(Wg,Vg),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new uf().reset(),Ce.trigger(this._element,mb)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ce.trigger(this._element,qg);return}this.hide()},r=!!this._config.backdrop;return new cb({className:sC,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new fb({trapElement:this._element})}_addEventListeners(){Ce.on(this._element,hC,t=>{if(t.key===oC){if(this._config.keyboard){this.hide();return}Ce.trigger(this._element,qg)}})}static jQueryInterface(t){return this.each(function(){const r=Wn.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Ce.on(document,fC,dC,function(e){const t=Pe.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),jn(this))return;Ce.one(t,mb,()=>{Uo(this)&&this.focus()});const r=Pe.findOne(gb);r&&r!==t&&Wn.getInstance(r).hide(),Wn.getOrCreateInstance(t).toggle(this)});Ce.on(window,iC,()=>{for(const e of Pe.find(gb))Wn.getOrCreateInstance(e).show()});Ce.on(window,cC,()=>{for(const e of Pe.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Wn.getOrCreateInstance(e).hide()});Gl(Wn);sr(Wn);const mC=/^aria-[\w-]*$/i,yb={"*":["class","dir","id","lang","role",mC],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},yC=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),_C=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,bC=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?yC.has(r)?!!_C.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function wC(e,t,r){if(!e.length)return e;if(r&&typeof r=="function")return r(e);const o=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const a=s.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){s.remove();continue}const l=[].concat(...s.attributes),u=[].concat(t["*"]||[],t[a]||[]);for(const c of l)bC(c,u)||s.removeAttribute(c.nodeName)}return o.body.innerHTML}const vC="TemplateFactory",EC={allowList:yb,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},SC={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},AC={entry:"(string|element|function|null)",selector:"(string|element)"};class TC extends js{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return EC}static get DefaultType(){return SC}static get NAME(){return vC}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[o,i]of Object.entries(this._config.content))this._setContent(t,i,o);const r=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&r.classList.add(...n.split(" ")),r}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[r,n]of Object.entries(t))super._typeCheckConfig({selector:r,entry:n},AC)}_setContent(t,r,n){const o=Pe.findOne(n,t);if(o){if(r=this._resolvePossibleFunction(r),!r){o.remove();return}if(on(r)){this._putElementInTemplate(Fn(r),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(r);return}o.textContent=r}}_maybeSanitize(t){return this._config.sanitize?wC(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Ut(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const xC="tooltip",IC=new Set(["sanitize","allowList","sanitizeFn"]),zu="fade",CC="modal",la="show",RC=".tooltip-inner",Kg=`.${CC}`,Yg="hide.bs.modal",Jo="hover",Gu="focus",OC="click",kC="manual",NC="hide",MC="hidden",PC="show",LC="shown",BC="inserted",DC="click",$C="focusin",UC="focusout",FC="mouseenter",jC="mouseleave",WC={AUTO:"auto",TOP:"top",RIGHT:ir()?"left":"right",BOTTOM:"bottom",LEFT:ir()?"right":"left"},HC={allowList:yb,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},VC={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class jo extends br{constructor(t,r){if(typeof V_>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,r),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return HC}static get DefaultType(){return VC}static get NAME(){return xC}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),Ce.off(this._element.closest(Kg),Yg,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=Ce.trigger(this._element,this.constructor.eventName(PC)),n=(Y_(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),Ce.trigger(this._element,this.constructor.eventName(BC))),this._popper=this._createPopper(o),o.classList.add(la),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))Ce.on(a,"mouseover",al);const s=()=>{Ce.trigger(this._element,this.constructor.eventName(LC)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Ce.trigger(this._element,this.constructor.eventName(NC)).defaultPrevented)return;if(this._getTipElement().classList.remove(la),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))Ce.off(o,"mouseover",al);this._activeTrigger[OC]=!1,this._activeTrigger[Gu]=!1,this._activeTrigger[Jo]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Ce.trigger(this._element,this.constructor.eventName(MC)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const r=this._getTemplateFactory(t).toHtml();if(!r)return null;r.classList.remove(zu,la),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=RT(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(zu),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new TC({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[RC]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(zu)}_isShown(){return this.tip&&this.tip.classList.contains(la)}_createPopper(t){const r=Ut(this._config.placement,[this,t,this._element]),n=WC[r.toUpperCase()];return Fd(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_resolvePossibleFunction(t){return Ut(t,[this._element])}_getPopperConfig(t){const r={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...r,...Ut(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")Ce.on(this._element,this.constructor.eventName(DC),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==kC){const n=r===Jo?this.constructor.eventName(FC):this.constructor.eventName($C),o=r===Jo?this.constructor.eventName(jC):this.constructor.eventName(UC);Ce.on(this._element,n,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Gu:Jo]=!0,s._enter()}),Ce.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Gu:Jo]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Ce.on(this._element.closest(Kg),Yg,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=sn.getDataAttributes(this._element);for(const n of Object.keys(r))IC.has(n)&&delete r[n];return t={...r,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:Fn(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[r,n]of Object.entries(this._config))this.constructor.Default[r]!==n&&(t[r]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const r=jo.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}sr(jo);const qC="popover",KC=".popover-header",YC=".popover-body",zC={...jo.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},GC={...jo.DefaultType,content:"(null|string|element|function)"};class Vd extends jo{static get Default(){return zC}static get DefaultType(){return GC}static get NAME(){return qC}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[KC]:this._getTitle(),[YC]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=Vd.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}sr(Vd);const QC="scrollspy",XC="bs.scrollspy",qd=`.${XC}`,JC=".data-api",ZC=`activate${qd}`,zg=`click${qd}`,eR=`load${qd}${JC}`,tR="dropdown-item",Qi="active",rR='[data-bs-spy="scroll"]',Qu="[href]",nR=".nav, .list-group",Gg=".nav-link",iR=".nav-item",oR=".list-group-item",sR=`${Gg}, ${iR} > ${Gg}, ${oR}`,aR=".dropdown",lR=".dropdown-toggle",uR={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},cR={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Jl extends br{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return uR}static get DefaultType(){return cR}static get NAME(){return QC}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Fn(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(r=>Number.parseFloat(r))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Ce.off(this._config.target,zg),Ce.on(this._config.target,zg,Qu,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const n=this._rootElement||window,o=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:o,behavior:"smooth"});return}n.scrollTop=o}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=s=>this._targetLinks.get(`#${s.target.id}`),n=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(r(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of t){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(s));continue}const a=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(n(s),!o)return;continue}!i&&!a&&n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Pe.find(Qu,this._config.target);for(const r of t){if(!r.hash||jn(r))continue;const n=Pe.findOne(decodeURI(r.hash),this._element);Uo(n)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Qi),this._activateParents(t),Ce.trigger(this._element,ZC,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(tR)){Pe.findOne(lR,t.closest(aR)).classList.add(Qi);return}for(const r of Pe.parents(t,nR))for(const n of Pe.prev(r,sR))n.classList.add(Qi)}_clearActiveClass(t){t.classList.remove(Qi);const r=Pe.find(`${Qu}.${Qi}`,t);for(const n of r)n.classList.remove(Qi)}static jQueryInterface(t){return this.each(function(){const r=Jl.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ce.on(window,eR,()=>{for(const e of Pe.find(rR))Jl.getOrCreateInstance(e)});sr(Jl);const fR="tab",hR="bs.tab",Di=`.${hR}`,dR=`hide${Di}`,pR=`hidden${Di}`,gR=`show${Di}`,mR=`shown${Di}`,yR=`click${Di}`,_R=`keydown${Di}`,bR=`load${Di}`,wR="ArrowLeft",Qg="ArrowRight",vR="ArrowUp",Xg="ArrowDown",Xu="Home",Jg="End",di="active",Zg="fade",Ju="show",ER="dropdown",_b=".dropdown-toggle",SR=".dropdown-menu",Zu=`:not(${_b})`,AR='.list-group, .nav, [role="tablist"]',TR=".nav-item, .list-group-item",xR=`.nav-link${Zu}, .list-group-item${Zu}, [role="tab"]${Zu}`,bb='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ec=`${xR}, ${bb}`,IR=`.${di}[data-bs-toggle="tab"], .${di}[data-bs-toggle="pill"], .${di}[data-bs-toggle="list"]`;class Oo extends br{constructor(t){super(t),this._parent=this._element.closest(AR),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Ce.on(this._element,_R,r=>this._keydown(r)))}static get NAME(){return fR}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?Ce.trigger(r,dR,{relatedTarget:t}):null;Ce.trigger(t,gR,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(di),this._activate(Pe.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Ju);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Ce.trigger(t,mR,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(Zg))}_deactivate(t,r){if(!t)return;t.classList.remove(di),t.blur(),this._deactivate(Pe.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Ju);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Ce.trigger(t,pR,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(Zg))}_keydown(t){if(![wR,Qg,vR,Xg,Xu,Jg].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(o=>!jn(o));let n;if([Xu,Jg].includes(t.key))n=r[t.key===Xu?0:r.length-1];else{const o=[Qg,Xg].includes(t.key);n=jd(r,t.target,o,!0)}n&&(n.focus({preventScroll:!0}),Oo.getOrCreateInstance(n).show())}_getChildren(){return Pe.find(ec,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",r),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=Pe.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const n=this._getOuterElement(t);if(!n.classList.contains(ER))return;const o=(i,s)=>{const a=Pe.findOne(i,n);a&&a.classList.toggle(s,r)};o(_b,di),o(SR,Ju),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(di)}_getInnerElement(t){return t.matches(ec)?t:Pe.findOne(ec,t)}_getOuterElement(t){return t.closest(TR)||t}static jQueryInterface(t){return this.each(function(){const r=Oo.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ce.on(document,yR,bb,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!jn(this)&&Oo.getOrCreateInstance(this).show()});Ce.on(window,bR,()=>{for(const e of Pe.find(IR))Oo.getOrCreateInstance(e)});sr(Oo);const CR="toast",RR="bs.toast",qn=`.${RR}`,OR=`mouseover${qn}`,kR=`mouseout${qn}`,NR=`focusin${qn}`,MR=`focusout${qn}`,PR=`hide${qn}`,LR=`hidden${qn}`,BR=`show${qn}`,DR=`shown${qn}`,$R="fade",em="hide",ua="show",ca="showing",UR={animation:"boolean",autohide:"boolean",delay:"number"},FR={animation:!0,autohide:!0,delay:5e3};class Zl extends br{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return FR}static get DefaultType(){return UR}static get NAME(){return CR}show(){if(Ce.trigger(this._element,BR).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add($R);const r=()=>{this._element.classList.remove(ca),Ce.trigger(this._element,DR),this._maybeScheduleHide()};this._element.classList.remove(em),Fs(this._element),this._element.classList.add(ua,ca),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Ce.trigger(this._element,PR).defaultPrevented)return;const r=()=>{this._element.classList.add(em),this._element.classList.remove(ca,ua),Ce.trigger(this._element,LR)};this._element.classList.add(ca),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ua),super.dispose()}isShown(){return this._element.classList.contains(ua)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){Ce.on(this._element,OR,t=>this._onInteraction(t,!0)),Ce.on(this._element,kR,t=>this._onInteraction(t,!1)),Ce.on(this._element,NR,t=>this._onInteraction(t,!0)),Ce.on(this._element,MR,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=Zl.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Gl(Zl);sr(Zl);var Kd=Object.defineProperty,jR=Object.getOwnPropertyDescriptor,WR=Object.getOwnPropertyNames,HR=Object.prototype.hasOwnProperty,vt=(e,t)=>()=>(e&&(t=e(e=0)),t),Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$i=(e,t)=>{for(var r in t)Kd(e,r,{get:t[r],enumerable:!0})},VR=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of WR(t))!HR.call(e,o)&&o!==r&&Kd(e,o,{get:()=>t[o],enumerable:!(n=jR(t,o))||n.enumerable});return e},ze=e=>VR(Kd({},"__esModule",{value:!0}),e),we=vt(()=>{}),Ve={};$i(Ve,{_debugEnd:()=>Wf,_debugProcess:()=>jf,_events:()=>nh,_eventsCount:()=>ih,_exiting:()=>If,_fatalExceptions:()=>$f,_getActiveHandles:()=>xb,_getActiveRequests:()=>Tb,_kill:()=>Of,_linkedBinding:()=>Sb,_maxListeners:()=>rh,_preload_modules:()=>eh,_rawDebug:()=>Af,_startProfilerIdleNotifier:()=>Hf,_stopProfilerIdleNotifier:()=>Vf,_tickCallback:()=>Ff,abort:()=>zf,addListener:()=>oh,allowedNodeEnvironmentFlags:()=>Bf,arch:()=>ff,argv:()=>pf,argv0:()=>Zf,assert:()=>Ib,binding:()=>bf,chdir:()=>Ef,config:()=>Cf,cpuUsage:()=>us,cwd:()=>vf,debugPort:()=>Jf,default:()=>zd,dlopen:()=>Ab,domain:()=>xf,emit:()=>ch,emitWarning:()=>_f,env:()=>df,execArgv:()=>gf,execPath:()=>Xf,exit:()=>Pf,features:()=>Df,hasUncaughtExceptionCaptureCallback:()=>Cb,hrtime:()=>Pa,kill:()=>Mf,listeners:()=>Ob,memoryUsage:()=>Nf,moduleLoadList:()=>Tf,nextTick:()=>vb,off:()=>ah,on:()=>Kr,once:()=>sh,openStdin:()=>Lf,pid:()=>Gf,platform:()=>hf,ppid:()=>Qf,prependListener:()=>fh,prependOnceListener:()=>hh,reallyExit:()=>Rf,release:()=>Sf,removeAllListeners:()=>uh,removeListener:()=>lh,resourceUsage:()=>kf,setSourceMapsEnabled:()=>th,setUncaughtExceptionCaptureCallback:()=>Uf,stderr:()=>Kf,stdin:()=>Yf,stdout:()=>qf,title:()=>cf,umask:()=>wf,uptime:()=>Rb,version:()=>mf,versions:()=>yf});function Yd(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function qR(){!Ei||!pi||(Ei=!1,pi.length?kr=pi.concat(kr):As=-1,kr.length&&wb())}function wb(){if(!Ei){var e=setTimeout(qR,0);Ei=!0;for(var t=kr.length;t;){for(pi=kr,kr=[];++As1)for(var r=1;r{we(),Ee(),ve(),kr=[],Ei=!1,As=-1,Eb.prototype.run=function(){this.fun.apply(null,this.array)},cf="browser",ff="x64",hf="browser",df={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},pf=["/usr/bin/node"],gf=[],mf="v16.8.0",yf={},_f=function(e,t){console.warn((t?t+": ":"")+e)},bf=function(e){Yd("binding")},wf=function(e){return 0},vf=function(){return"/"},Ef=function(e){},Sf={name:"node",sourceUrl:"",headersUrl:"",libUrl:""},Af=xt,Tf=[],xf={},If=!1,Cf={},Rf=xt,Of=xt,us=function(){return{}},kf=us,Nf=us,Mf=xt,Pf=xt,Lf=xt,Bf={},Df={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},$f=xt,Uf=xt,Ff=xt,jf=xt,Wf=xt,Hf=xt,Vf=xt,qf=void 0,Kf=void 0,Yf=void 0,zf=xt,Gf=2,Qf=1,Xf="/bin/usr/node",Jf=9229,Zf="node",eh=[],th=xt,Qr={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0},Qr.now===void 0&&(tc=Date.now(),Qr.timing&&Qr.timing.navigationStart&&(tc=Qr.timing.navigationStart),Qr.now=()=>Date.now()-tc),La=1e9,Pa.bigint=function(e){var t=Pa(e);return typeof BigInt>"u"?t[0]*La+t[1]:BigInt(t[0]*La)+BigInt(t[1])},rh=10,nh={},ih=0,oh=Kr,sh=Kr,ah=Kr,lh=Kr,uh=Kr,ch=xt,fh=Kr,hh=Kr,zd={version:mf,versions:yf,arch:ff,platform:hf,release:Sf,_rawDebug:Af,moduleLoadList:Tf,binding:bf,_linkedBinding:Sb,_events:nh,_eventsCount:ih,_maxListeners:rh,on:Kr,addListener:oh,once:sh,off:ah,removeListener:lh,removeAllListeners:uh,emit:ch,prependListener:fh,prependOnceListener:hh,listeners:Ob,domain:xf,_exiting:If,config:Cf,dlopen:Ab,uptime:Rb,_getActiveRequests:Tb,_getActiveHandles:xb,reallyExit:Rf,_kill:Of,cpuUsage:us,resourceUsage:kf,memoryUsage:Nf,kill:Mf,exit:Pf,openStdin:Lf,allowedNodeEnvironmentFlags:Bf,assert:Ib,features:Df,_fatalExceptions:$f,setUncaughtExceptionCaptureCallback:Uf,hasUncaughtExceptionCaptureCallback:Cb,emitWarning:_f,nextTick:vb,_tickCallback:Ff,_debugProcess:jf,_debugEnd:Wf,_startProfilerIdleNotifier:Hf,_stopProfilerIdleNotifier:Vf,stdout:qf,stdin:Yf,stderr:Kf,abort:zf,umask:wf,chdir:Ef,cwd:vf,env:df,title:cf,argv:pf,execArgv:gf,pid:Gf,ppid:Qf,execPath:Xf,debugPort:Jf,hrtime:Pa,argv0:Zf,_preload_modules:eh,setSourceMapsEnabled:th}}),ve=vt(()=>{KR()}),Et={};$i(Et,{Buffer:()=>cl,INSPECT_MAX_BYTES:()=>kb,default:()=>Yr,kMaxLength:()=>Nb});function YR(){if(dh)return no;dh=!0,no.byteLength=a,no.toByteArray=u,no.fromByteArray=p;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=n.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var b=g.indexOf("=");b===-1&&(b=_);var x=b===_?0:4-b%4;return[b,x]}function a(g){var _=s(g),b=_[0],x=_[1];return(b+x)*3/4-x}function l(g,_,b){return(_+b)*3/4-b}function u(g){var _,b=s(g),x=b[0],k=b[1],R=new r(l(g,x,k)),A=0,B=k>0?x-4:x,$;for($=0;$>16&255,R[A++]=_>>8&255,R[A++]=_&255;return k===2&&(_=t[g.charCodeAt($)]<<2|t[g.charCodeAt($+1)]>>4,R[A++]=_&255),k===1&&(_=t[g.charCodeAt($)]<<10|t[g.charCodeAt($+1)]<<4|t[g.charCodeAt($+2)]>>2,R[A++]=_>>8&255,R[A++]=_&255),R}function c(g){return e[g>>18&63]+e[g>>12&63]+e[g>>6&63]+e[g&63]}function d(g,_,b){for(var x,k=[],R=_;RB?B:A+R));return x===1?(_=g[b-1],k.push(e[_>>2]+e[_<<4&63]+"==")):x===2&&(_=(g[b-2]<<8)+g[b-1],k.push(e[_>>10]+e[_>>4&63]+e[_<<2&63]+"=")),k.join("")}return no}function zR(){return ph?cs:(ph=!0,cs.read=function(e,t,r,n,o){var i,s,a=o*8-n-1,l=(1<>1,c=-7,d=r?o-1:0,p=r?-1:1,g=e[t+d];for(d+=p,i=g&(1<<-c)-1,g>>=-c,c+=a;c>0;i=i*256+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(i===0)i=1-u;else{if(i===l)return s?NaN:(g?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-u}return(g?-1:1)*s*Math.pow(2,i-n)},cs.write=function(e,t,r,n,o,i){var s,a,l,u=i*8-o-1,c=(1<>1,p=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:i-1,_=n?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,o),s=s+d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[r+g]=a&255,g+=_,a/=256,o-=8);for(s=s<0;e[r+g]=s&255,g+=_,s/=256,u-=8);e[r+g-_]|=b*128},cs)}function GR(){if(gh)return Tn;gh=!0;let e=YR(),t=zR(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Tn.Buffer=s,Tn.SlowBuffer=k,Tn.INSPECT_MAX_BYTES=50;let n=2147483647;Tn.kMaxLength=n,s.TYPED_ARRAY_SUPPORT=o(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{let y=new Uint8Array(1),h={foo:function(){return 42}};return Object.setPrototypeOf(h,Uint8Array.prototype),Object.setPrototypeOf(y,h),y.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function i(y){if(y>n)throw new RangeError('The value "'+y+'" is invalid for option "size"');let h=new Uint8Array(y);return Object.setPrototypeOf(h,s.prototype),h}function s(y,h,f){if(typeof y=="number"){if(typeof h=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(y)}return a(y,h,f)}s.poolSize=8192;function a(y,h,f){if(typeof y=="string")return d(y,h);if(ArrayBuffer.isView(y))return g(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(K(y,ArrayBuffer)||y&&K(y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(K(y,SharedArrayBuffer)||y&&K(y.buffer,SharedArrayBuffer)))return _(y,h,f);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let m=y.valueOf&&y.valueOf();if(m!=null&&m!==y)return s.from(m,h,f);let w=b(y);if(w)return w;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return s.from(y[Symbol.toPrimitive]("string"),h,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}s.from=function(y,h,f){return a(y,h,f)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function l(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function u(y,h,f){return l(y),y<=0?i(y):h!==void 0?typeof f=="string"?i(y).fill(h,f):i(y).fill(h):i(y)}s.alloc=function(y,h,f){return u(y,h,f)};function c(y){return l(y),i(y<0?0:x(y)|0)}s.allocUnsafe=function(y){return c(y)},s.allocUnsafeSlow=function(y){return c(y)};function d(y,h){if((typeof h!="string"||h==="")&&(h="utf8"),!s.isEncoding(h))throw new TypeError("Unknown encoding: "+h);let f=R(y,h)|0,m=i(f),w=m.write(y,h);return w!==f&&(m=m.slice(0,w)),m}function p(y){let h=y.length<0?0:x(y.length)|0,f=i(h);for(let m=0;m=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return y|0}function k(y){return+y!=y&&(y=0),s.alloc(+y)}s.isBuffer=function(y){return y!=null&&y._isBuffer===!0&&y!==s.prototype},s.compare=function(y,h){if(K(y,Uint8Array)&&(y=s.from(y,y.offset,y.byteLength)),K(h,Uint8Array)&&(h=s.from(h,h.offset,h.byteLength)),!s.isBuffer(y)||!s.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(y===h)return 0;let f=y.length,m=h.length;for(let w=0,v=Math.min(f,m);wm.length?(s.isBuffer(v)||(v=s.from(v)),v.copy(m,w)):Uint8Array.prototype.set.call(m,v,w);else if(s.isBuffer(v))v.copy(m,w);else throw new TypeError('"list" argument must be an Array of Buffers');w+=v.length}return m};function R(y,h){if(s.isBuffer(y))return y.length;if(ArrayBuffer.isView(y)||K(y,ArrayBuffer))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);let f=y.length,m=arguments.length>2&&arguments[2]===!0;if(!m&&f===0)return 0;let w=!1;for(;;)switch(h){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return O(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return J(y).length;default:if(w)return m?-1:O(y).length;h=(""+h).toLowerCase(),w=!0}}s.byteLength=R;function A(y,h,f){let m=!1;if((h===void 0||h<0)&&(h=0),h>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,h>>>=0,f<=h))return"";for(y||(y="utf8");;)switch(y){case"hex":return Q(this,h,f);case"utf8":case"utf-8":return L(this,h,f);case"ascii":return ae(this,h,f);case"latin1":case"binary":return se(this,h,f);case"base64":return M(this,h,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,h,f);default:if(m)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),m=!0}}s.prototype._isBuffer=!0;function B(y,h,f){let m=y[h];y[h]=y[f],y[f]=m}s.prototype.swap16=function(){let y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;hh&&(y+=" ... "),""},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(y,h,f,m,w){if(K(y,Uint8Array)&&(y=s.from(y,y.offset,y.byteLength)),!s.isBuffer(y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof y);if(h===void 0&&(h=0),f===void 0&&(f=y?y.length:0),m===void 0&&(m=0),w===void 0&&(w=this.length),h<0||f>y.length||m<0||w>this.length)throw new RangeError("out of range index");if(m>=w&&h>=f)return 0;if(m>=w)return-1;if(h>=f)return 1;if(h>>>=0,f>>>=0,m>>>=0,w>>>=0,this===y)return 0;let v=w-m,C=f-h,H=Math.min(v,C),de=this.slice(m,w),me=y.slice(h,f);for(let _e=0;_e2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,z(f)&&(f=w?0:y.length-1),f<0&&(f=y.length+f),f>=y.length){if(w)return-1;f=y.length-1}else if(f<0)if(w)f=0;else return-1;if(typeof h=="string"&&(h=s.from(h,m)),s.isBuffer(h))return h.length===0?-1:I(y,h,f,m,w);if(typeof h=="number")return h=h&255,typeof Uint8Array.prototype.indexOf=="function"?w?Uint8Array.prototype.indexOf.call(y,h,f):Uint8Array.prototype.lastIndexOf.call(y,h,f):I(y,[h],f,m,w);throw new TypeError("val must be string, number or Buffer")}function I(y,h,f,m,w){let v=1,C=y.length,H=h.length;if(m!==void 0&&(m=String(m).toLowerCase(),m==="ucs2"||m==="ucs-2"||m==="utf16le"||m==="utf-16le")){if(y.length<2||h.length<2)return-1;v=2,C/=2,H/=2,f/=2}function de(_e,Ae){return v===1?_e[Ae]:_e.readUInt16BE(Ae*v)}let me;if(w){let _e=-1;for(me=f;meC&&(f=C-H),me=f;me>=0;me--){let _e=!0;for(let Ae=0;Aew&&(m=w)):m=w;let v=h.length;m>v/2&&(m=v/2);let C;for(C=0;C>>0,isFinite(f)?(f=f>>>0,m===void 0&&(m="utf8")):(m=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let w=this.length-h;if((f===void 0||f>w)&&(f=w),y.length>0&&(f<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");m||(m="utf8");let v=!1;for(;;)switch(m){case"hex":return P(this,y,h,f);case"utf8":case"utf-8":return W(this,y,h,f);case"ascii":case"latin1":case"binary":return Y(this,y,h,f);case"base64":return oe(this,y,h,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,y,h,f);default:if(v)throw new TypeError("Unknown encoding: "+m);m=(""+m).toLowerCase(),v=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(y,h,f){return h===0&&f===y.length?e.fromByteArray(y):e.fromByteArray(y.slice(h,f))}function L(y,h,f){f=Math.min(y.length,f);let m=[],w=h;for(;w239?4:v>223?3:v>191?2:1;if(w+H<=f){let de,me,_e,Ae;switch(H){case 1:v<128&&(C=v);break;case 2:de=y[w+1],(de&192)===128&&(Ae=(v&31)<<6|de&63,Ae>127&&(C=Ae));break;case 3:de=y[w+1],me=y[w+2],(de&192)===128&&(me&192)===128&&(Ae=(v&15)<<12|(de&63)<<6|me&63,Ae>2047&&(Ae<55296||Ae>57343)&&(C=Ae));break;case 4:de=y[w+1],me=y[w+2],_e=y[w+3],(de&192)===128&&(me&192)===128&&(_e&192)===128&&(Ae=(v&15)<<18|(de&63)<<12|(me&63)<<6|_e&63,Ae>65535&&Ae<1114112&&(C=Ae))}}C===null?(C=65533,H=1):C>65535&&(C-=65536,m.push(C>>>10&1023|55296),C=56320|C&1023),m.push(C),w+=H}return re(m)}let ie=4096;function re(y){let h=y.length;if(h<=ie)return String.fromCharCode.apply(String,y);let f="",m=0;for(;mm)&&(f=m);let w="";for(let v=h;vf&&(y=f),h<0?(h+=f,h<0&&(h=0)):h>f&&(h=f),hf)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(y,h,f){y=y>>>0,h=h>>>0,f||fe(y,h,this.length);let m=this[y],w=1,v=0;for(;++v>>0,h=h>>>0,f||fe(y,h,this.length);let m=this[y+--h],w=1;for(;h>0&&(w*=256);)m+=this[y+--h]*w;return m},s.prototype.readUint8=s.prototype.readUInt8=function(y,h){return y=y>>>0,h||fe(y,1,this.length),this[y]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(y,h){return y=y>>>0,h||fe(y,2,this.length),this[y]|this[y+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(y,h){return y=y>>>0,h||fe(y,2,this.length),this[y]<<8|this[y+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(y,h){return y=y>>>0,h||fe(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(y,h){return y=y>>>0,h||fe(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},s.prototype.readBigUInt64LE=be(function(y){y=y>>>0,X(y,"offset");let h=this[y],f=this[y+7];(h===void 0||f===void 0)&&E(y,this.length-8);let m=h+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24,w=this[++y]+this[++y]*2**8+this[++y]*2**16+f*2**24;return BigInt(m)+(BigInt(w)<>>0,X(y,"offset");let h=this[y],f=this[y+7];(h===void 0||f===void 0)&&E(y,this.length-8);let m=h*2**24+this[++y]*2**16+this[++y]*2**8+this[++y],w=this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+f;return(BigInt(m)<>>0,h=h>>>0,f||fe(y,h,this.length);let m=this[y],w=1,v=0;for(;++v=w&&(m-=Math.pow(2,8*h)),m},s.prototype.readIntBE=function(y,h,f){y=y>>>0,h=h>>>0,f||fe(y,h,this.length);let m=h,w=1,v=this[y+--m];for(;m>0&&(w*=256);)v+=this[y+--m]*w;return w*=128,v>=w&&(v-=Math.pow(2,8*h)),v},s.prototype.readInt8=function(y,h){return y=y>>>0,h||fe(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},s.prototype.readInt16LE=function(y,h){y=y>>>0,h||fe(y,2,this.length);let f=this[y]|this[y+1]<<8;return f&32768?f|4294901760:f},s.prototype.readInt16BE=function(y,h){y=y>>>0,h||fe(y,2,this.length);let f=this[y+1]|this[y]<<8;return f&32768?f|4294901760:f},s.prototype.readInt32LE=function(y,h){return y=y>>>0,h||fe(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},s.prototype.readInt32BE=function(y,h){return y=y>>>0,h||fe(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},s.prototype.readBigInt64LE=be(function(y){y=y>>>0,X(y,"offset");let h=this[y],f=this[y+7];(h===void 0||f===void 0)&&E(y,this.length-8);let m=this[y+4]+this[y+5]*2**8+this[y+6]*2**16+(f<<24);return(BigInt(m)<>>0,X(y,"offset");let h=this[y],f=this[y+7];(h===void 0||f===void 0)&&E(y,this.length-8);let m=(h<<24)+this[++y]*2**16+this[++y]*2**8+this[++y];return(BigInt(m)<>>0,h||fe(y,4,this.length),t.read(this,y,!0,23,4)},s.prototype.readFloatBE=function(y,h){return y=y>>>0,h||fe(y,4,this.length),t.read(this,y,!1,23,4)},s.prototype.readDoubleLE=function(y,h){return y=y>>>0,h||fe(y,8,this.length),t.read(this,y,!0,52,8)},s.prototype.readDoubleBE=function(y,h){return y=y>>>0,h||fe(y,8,this.length),t.read(this,y,!1,52,8)};function pe(y,h,f,m,w,v){if(!s.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>w||hy.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(y,h,f,m){if(y=+y,h=h>>>0,f=f>>>0,!m){let C=Math.pow(2,8*f)-1;pe(this,y,h,f,C,0)}let w=1,v=0;for(this[h]=y&255;++v>>0,f=f>>>0,!m){let C=Math.pow(2,8*f)-1;pe(this,y,h,f,C,0)}let w=f-1,v=1;for(this[h+w]=y&255;--w>=0&&(v*=256);)this[h+w]=y/v&255;return h+f},s.prototype.writeUint8=s.prototype.writeUInt8=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,1,255,0),this[h]=y&255,h+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,2,65535,0),this[h]=y&255,this[h+1]=y>>>8,h+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,2,65535,0),this[h]=y>>>8,this[h+1]=y&255,h+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,4,4294967295,0),this[h+3]=y>>>24,this[h+2]=y>>>16,this[h+1]=y>>>8,this[h]=y&255,h+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,4,4294967295,0),this[h]=y>>>24,this[h+1]=y>>>16,this[h+2]=y>>>8,this[h+3]=y&255,h+4};function F(y,h,f,m,w){le(h,m,w,y,f,7);let v=Number(h&BigInt(4294967295));y[f++]=v,v=v>>8,y[f++]=v,v=v>>8,y[f++]=v,v=v>>8,y[f++]=v;let C=Number(h>>BigInt(32)&BigInt(4294967295));return y[f++]=C,C=C>>8,y[f++]=C,C=C>>8,y[f++]=C,C=C>>8,y[f++]=C,f}function ne(y,h,f,m,w){le(h,m,w,y,f,7);let v=Number(h&BigInt(4294967295));y[f+7]=v,v=v>>8,y[f+6]=v,v=v>>8,y[f+5]=v,v=v>>8,y[f+4]=v;let C=Number(h>>BigInt(32)&BigInt(4294967295));return y[f+3]=C,C=C>>8,y[f+2]=C,C=C>>8,y[f+1]=C,C=C>>8,y[f]=C,f+8}s.prototype.writeBigUInt64LE=be(function(y,h=0){return F(this,y,h,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=be(function(y,h=0){return ne(this,y,h,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(y,h,f,m){if(y=+y,h=h>>>0,!m){let H=Math.pow(2,8*f-1);pe(this,y,h,f,H-1,-H)}let w=0,v=1,C=0;for(this[h]=y&255;++w>0)-C&255;return h+f},s.prototype.writeIntBE=function(y,h,f,m){if(y=+y,h=h>>>0,!m){let H=Math.pow(2,8*f-1);pe(this,y,h,f,H-1,-H)}let w=f-1,v=1,C=0;for(this[h+w]=y&255;--w>=0&&(v*=256);)y<0&&C===0&&this[h+w+1]!==0&&(C=1),this[h+w]=(y/v>>0)-C&255;return h+f},s.prototype.writeInt8=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,1,127,-128),y<0&&(y=255+y+1),this[h]=y&255,h+1},s.prototype.writeInt16LE=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,2,32767,-32768),this[h]=y&255,this[h+1]=y>>>8,h+2},s.prototype.writeInt16BE=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,2,32767,-32768),this[h]=y>>>8,this[h+1]=y&255,h+2},s.prototype.writeInt32LE=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,4,2147483647,-2147483648),this[h]=y&255,this[h+1]=y>>>8,this[h+2]=y>>>16,this[h+3]=y>>>24,h+4},s.prototype.writeInt32BE=function(y,h,f){return y=+y,h=h>>>0,f||pe(this,y,h,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),this[h]=y>>>24,this[h+1]=y>>>16,this[h+2]=y>>>8,this[h+3]=y&255,h+4},s.prototype.writeBigInt64LE=be(function(y,h=0){return F(this,y,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=be(function(y,h=0){return ne(this,y,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ge(y,h,f,m,w,v){if(f+m>y.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function Se(y,h,f,m,w){return h=+h,f=f>>>0,w||ge(y,h,f,4),t.write(y,h,f,m,23,4),f+4}s.prototype.writeFloatLE=function(y,h,f){return Se(this,y,h,!0,f)},s.prototype.writeFloatBE=function(y,h,f){return Se(this,y,h,!1,f)};function ye(y,h,f,m,w){return h=+h,f=f>>>0,w||ge(y,h,f,8),t.write(y,h,f,m,52,8),f+8}s.prototype.writeDoubleLE=function(y,h,f){return ye(this,y,h,!0,f)},s.prototype.writeDoubleBE=function(y,h,f){return ye(this,y,h,!1,f)},s.prototype.copy=function(y,h,f,m){if(!s.isBuffer(y))throw new TypeError("argument should be a Buffer");if(f||(f=0),!m&&m!==0&&(m=this.length),h>=y.length&&(h=y.length),h||(h=0),m>0&&m=this.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("sourceEnd out of bounds");m>this.length&&(m=this.length),y.length-h>>0,f=f===void 0?this.length:f>>>0,y||(y=0);let w;if(typeof y=="number")for(w=h;w2**32?w=Z(String(f)):typeof f=="bigint"&&(w=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(w=Z(w)),w+="n"),m+=` It must be ${h}. Received ${w}`,m},RangeError);function Z(y){let h="",f=y.length,m=y[0]==="-"?1:0;for(;f>=m+4;f-=3)h=`_${y.slice(f-3,f)}${h}`;return`${y.slice(0,f)}${h}`}function ue(y,h,f){X(h,"offset"),(y[h]===void 0||y[h+f]===void 0)&&E(h,y.length-(f+1))}function le(y,h,f,m,w,v){if(y>f||y= 0${C} and < 2${C} ** ${(v+1)*8}${C}`:H=`>= -(2${C} ** ${(v+1)*8-1}${C}) and < 2 ** ${(v+1)*8-1}${C}`,new V.ERR_OUT_OF_RANGE("value",H,y)}ue(m,w,v)}function X(y,h){if(typeof y!="number")throw new V.ERR_INVALID_ARG_TYPE(h,"number",y)}function E(y,h,f){throw Math.floor(y)!==y?(X(y,f),new V.ERR_OUT_OF_RANGE("offset","an integer",y)):h<0?new V.ERR_BUFFER_OUT_OF_BOUNDS:new V.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${h}`,y)}let T=/[^+/0-9A-Za-z-_]/g;function S(y){if(y=y.split("=")[0],y=y.trim().replace(T,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function O(y,h){h=h||1/0;let f,m=y.length,w=null,v=[];for(let C=0;C55295&&f<57344){if(!w){if(f>56319){(h-=3)>-1&&v.push(239,191,189);continue}else if(C+1===m){(h-=3)>-1&&v.push(239,191,189);continue}w=f;continue}if(f<56320){(h-=3)>-1&&v.push(239,191,189),w=f;continue}f=(w-55296<<10|f-56320)+65536}else w&&(h-=3)>-1&&v.push(239,191,189);if(w=null,f<128){if((h-=1)<0)break;v.push(f)}else if(f<2048){if((h-=2)<0)break;v.push(f>>6|192,f&63|128)}else if(f<65536){if((h-=3)<0)break;v.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((h-=4)<0)break;v.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return v}function N(y){let h=[];for(let f=0;f>8,w=f%256,v.push(w),v.push(m);return v}function J(y){return e.toByteArray(S(y))}function D(y,h,f,m){let w;for(w=0;w=h.length||w>=y.length);++w)h[w+f]=y[w];return w}function K(y,h){return y instanceof h||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===h.name}function z(y){return y!==y}let ce=function(){let y="0123456789abcdef",h=new Array(256);for(let f=0;f<16;++f){let m=f*16;for(let w=0;w<16;++w)h[m+w]=y[f]+y[w]}return h}();function be(y){return typeof BigInt>"u"?Te:y}function Te(){throw new Error("BigInt not supported")}return Tn}var no,dh,cs,ph,Tn,gh,Yr,cl,kb,Nb,St=vt(()=>{we(),Ee(),ve(),no={},dh=!1,cs={},ph=!1,Tn={},gh=!1,Yr=GR(),Yr.Buffer,Yr.SlowBuffer,Yr.INSPECT_MAX_BYTES,Yr.kMaxLength,cl=Yr.Buffer,kb=Yr.INSPECT_MAX_BYTES,Nb=Yr.kMaxLength}),Ee=vt(()=>{St()}),QR=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(r){this.aliasToTopic={},this.max=r}put(r,n){return n===0||n>this.max?!1:(this.aliasToTopic[n]=r,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(r){return this.aliasToTopic[r]}clear(){this.aliasToTopic={}}};e.default=t}),pt=Oe((e,t)=>{we(),Ee(),ve(),t.exports={ArrayIsArray(r){return Array.isArray(r)},ArrayPrototypeIncludes(r,n){return r.includes(n)},ArrayPrototypeIndexOf(r,n){return r.indexOf(n)},ArrayPrototypeJoin(r,n){return r.join(n)},ArrayPrototypeMap(r,n){return r.map(n)},ArrayPrototypePop(r,n){return r.pop(n)},ArrayPrototypePush(r,n){return r.push(n)},ArrayPrototypeSlice(r,n,o){return r.slice(n,o)},Error,FunctionPrototypeCall(r,n,...o){return r.call(n,...o)},FunctionPrototypeSymbolHasInstance(r,n){return Function.prototype[Symbol.hasInstance].call(r,n)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(r,n){return Object.defineProperties(r,n)},ObjectDefineProperty(r,n,o){return Object.defineProperty(r,n,o)},ObjectGetOwnPropertyDescriptor(r,n){return Object.getOwnPropertyDescriptor(r,n)},ObjectKeys(r){return Object.keys(r)},ObjectSetPrototypeOf(r,n){return Object.setPrototypeOf(r,n)},Promise,PromisePrototypeCatch(r,n){return r.catch(n)},PromisePrototypeThen(r,n,o){return r.then(n,o)},PromiseReject(r){return Promise.reject(r)},ReflectApply:Reflect.apply,RegExpPrototypeTest(r,n){return r.test(n)},SafeSet:Set,String,StringPrototypeSlice(r,n,o){return r.slice(n,o)},StringPrototypeToLowerCase(r){return r.toLowerCase()},StringPrototypeToUpperCase(r){return r.toUpperCase()},StringPrototypeTrim(r){return r.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet(r,n,o){return r.set(n,o)},Uint8Array}}),ln=Oe((e,t)=>{we(),Ee(),ve();var r=(St(),ze(Et)),n=Object.getPrototypeOf(async function(){}).constructor,o=globalThis.Blob||r.Blob,i=typeof o<"u"?function(a){return a instanceof o}:function(a){return!1},s=class extends Error{constructor(a){if(!Array.isArray(a))throw new TypeError(`Expected input to be an Array, got ${typeof a}`);let l="";for(let u=0;u{a=u,l=c}),resolve:a,reject:l}},promisify(a){return new Promise((l,u)=>{a((c,...d)=>c?u(c):l(...d))})},debuglog(){return function(){}},format(a,...l){return a.replace(/%([sdifj])/g,function(...[u,c]){let d=l.shift();return c==="f"?d.toFixed(6):c==="j"?JSON.stringify(d):c==="s"&&typeof d=="object"?`${d.constructor!==Object?d.constructor.name:""} {}`.trim():d.toString()})},inspect(a){switch(typeof a){case"string":if(a.includes("'"))if(a.includes('"')){if(!a.includes("`")&&!a.includes("${"))return`\`${a}\``}else return`"${a}"`;return`'${a}'`;case"number":return isNaN(a)?"NaN":Object.is(a,-0)?String(a):a;case"bigint":return`${String(a)}n`;case"boolean":case"undefined":return String(a);case"object":return"{}"}},types:{isAsyncFunction(a){return a instanceof n},isArrayBufferView(a){return ArrayBuffer.isView(a)}},isBlob:i},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),Gd=Oe((e,t)=>{we(),Ee(),ve();var{AbortController:r,AbortSignal:n}=typeof self<"u"?self:typeof window<"u"?window:void 0;t.exports=r,t.exports.AbortSignal=n,t.exports.default=r}),Ht=Oe((e,t)=>{we(),Ee(),ve();var{format:r,inspect:n,AggregateError:o}=ln(),i=globalThis.AggregateError||o,s=Symbol("kIsNodeError"),a=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,u="__node_internal_",c={};function d(R,A){if(!R)throw new c.ERR_INTERNAL_ASSERTION(A)}function p(R){let A="",B=R.length,$=R[0]==="-"?1:0;for(;B>=$+4;B-=3)A=`_${R.slice(B-3,B)}${A}`;return`${R.slice(0,B)}${A}`}function g(R,A,B){if(typeof A=="function")return d(A.length<=B.length,`Code: ${R}; The provided arguments length (${B.length}) does not match the required ones (${A.length}).`),A(...B);let $=(A.match(/%[dfijoOs]/g)||[]).length;return d($===B.length,`Code: ${R}; The provided arguments length (${B.length}) does not match the required ones (${$}).`),B.length===0?A:r(A,...B)}function _(R,A,B){B||(B=Error);class $ extends B{constructor(...P){super(g(R,A,P))}toString(){return`${this.name} [${R}]: ${this.message}`}}Object.defineProperties($.prototype,{name:{value:B.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${R}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),$.prototype.code=R,$.prototype[s]=!0,c[R]=$}function b(R){let A=u+R.name;return Object.defineProperty(R,"name",{value:A}),R}function x(R,A){if(R&&A&&R!==A){if(Array.isArray(A.errors))return A.errors.push(R),A;let B=new i([A,R],A.message);return B.code=A.code,B}return R||A}var k=class extends Error{constructor(R="The operation was aborted",A=void 0){if(A!==void 0&&typeof A!="object")throw new c.ERR_INVALID_ARG_TYPE("options","Object",A);super(R,A),this.code="ABORT_ERR",this.name="AbortError"}};_("ERR_ASSERTION","%s",Error),_("ERR_INVALID_ARG_TYPE",(R,A,B)=>{d(typeof R=="string","'name' must be a string"),Array.isArray(A)||(A=[A]);let $="The ";R.endsWith(" argument")?$+=`${R} `:$+=`"${R}" ${R.includes(".")?"property":"argument"} `,$+="must be ";let I=[],P=[],W=[];for(let oe of A)d(typeof oe=="string","All expected entries have to be of type string"),a.includes(oe)?I.push(oe.toLowerCase()):l.test(oe)?P.push(oe):(d(oe!=="object",'The value "object" should be written as "Object"'),W.push(oe));if(P.length>0){let oe=I.indexOf("object");oe!==-1&&(I.splice(I,oe,1),P.push("Object"))}if(I.length>0){switch(I.length){case 1:$+=`of type ${I[0]}`;break;case 2:$+=`one of type ${I[0]} or ${I[1]}`;break;default:{let oe=I.pop();$+=`one of type ${I.join(", ")}, or ${oe}`}}(P.length>0||W.length>0)&&($+=" or ")}if(P.length>0){switch(P.length){case 1:$+=`an instance of ${P[0]}`;break;case 2:$+=`an instance of ${P[0]} or ${P[1]}`;break;default:{let oe=P.pop();$+=`an instance of ${P.join(", ")}, or ${oe}`}}W.length>0&&($+=" or ")}switch(W.length){case 0:break;case 1:W[0].toLowerCase()!==W[0]&&($+="an "),$+=`${W[0]}`;break;case 2:$+=`one of ${W[0]} or ${W[1]}`;break;default:{let oe=W.pop();$+=`one of ${W.join(", ")}, or ${oe}`}}if(B==null)$+=`. Received ${B}`;else if(typeof B=="function"&&B.name)$+=`. Received function ${B.name}`;else if(typeof B=="object"){var Y;if((Y=B.constructor)!==null&&Y!==void 0&&Y.name)$+=`. Received an instance of ${B.constructor.name}`;else{let oe=n(B,{depth:-1});$+=`. Received ${oe}`}}else{let oe=n(B,{colors:!1});oe.length>25&&(oe=`${oe.slice(0,25)}...`),$+=`. Received type ${typeof B} (${oe})`}return $},TypeError),_("ERR_INVALID_ARG_VALUE",(R,A,B="is invalid")=>{let $=n(A);return $.length>128&&($=$.slice(0,128)+"..."),`The ${R.includes(".")?"property":"argument"} '${R}' ${B}. Received ${$}`},TypeError),_("ERR_INVALID_RETURN_VALUE",(R,A,B)=>{var $;let I=B!=null&&($=B.constructor)!==null&&$!==void 0&&$.name?`instance of ${B.constructor.name}`:`type ${typeof B}`;return`Expected ${R} to be returned from the "${A}" function but got ${I}.`},TypeError),_("ERR_MISSING_ARGS",(...R)=>{d(R.length>0,"At least one arg needs to be specified");let A,B=R.length;switch(R=(Array.isArray(R)?R:[R]).map($=>`"${$}"`).join(" or "),B){case 1:A+=`The ${R[0]} argument`;break;case 2:A+=`The ${R[0]} and ${R[1]} arguments`;break;default:{let $=R.pop();A+=`The ${R.join(", ")}, and ${$} arguments`}break}return`${A} must be specified`},TypeError),_("ERR_OUT_OF_RANGE",(R,A,B)=>{d(A,'Missing "range" argument');let $;return Number.isInteger(B)&&Math.abs(B)>2**32?$=p(String(B)):typeof B=="bigint"?($=String(B),(B>2n**32n||B<-(2n**32n))&&($=p($)),$+="n"):$=n(B),`The value of "${R}" is out of range. It must be ${A}. Received ${$}`},RangeError),_("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),_("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),_("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),_("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),_("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),_("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),_("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),_("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),_("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),_("ERR_STREAM_WRITE_AFTER_END","write after end",Error),_("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:k,aggregateTwoErrors:b(x),hideStackFrames:b,codes:c}}),eu=Oe((e,t)=>{we(),Ee(),ve();var{ArrayIsArray:r,ArrayPrototypeIncludes:n,ArrayPrototypeJoin:o,ArrayPrototypeMap:i,NumberIsInteger:s,NumberIsNaN:a,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:u,NumberParseInt:c,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:p,String:g,StringPrototypeToUpperCase:_,StringPrototypeTrim:b}=pt(),{hideStackFrames:x,codes:{ERR_SOCKET_BAD_PORT:k,ERR_INVALID_ARG_TYPE:R,ERR_INVALID_ARG_VALUE:A,ERR_OUT_OF_RANGE:B,ERR_UNKNOWN_SIGNAL:$}}=Ht(),{normalizeEncoding:I}=ln(),{isAsyncFunction:P,isArrayBufferView:W}=ln().types,Y={};function oe(D){return D===(D|0)}function te(D){return D===D>>>0}var M=/^[0-7]+$/,L="must be a 32-bit unsigned integer or an octal string";function ie(D,K,z){if(typeof D>"u"&&(D=z),typeof D=="string"){if(p(M,D)===null)throw new A(K,D,L);D=c(D,8)}return se(D,K),D}var re=x((D,K,z=u,ce=l)=>{if(typeof D!="number")throw new R(K,"number",D);if(!s(D))throw new B(K,"an integer",D);if(Dce)throw new B(K,`>= ${z} && <= ${ce}`,D)}),ae=x((D,K,z=-2147483648,ce=2147483647)=>{if(typeof D!="number")throw new R(K,"number",D);if(!s(D))throw new B(K,"an integer",D);if(Dce)throw new B(K,`>= ${z} && <= ${ce}`,D)}),se=x((D,K,z=!1)=>{if(typeof D!="number")throw new R(K,"number",D);if(!s(D))throw new B(K,"an integer",D);let ce=z?1:0,be=4294967295;if(Dbe)throw new B(K,`>= ${ce} && <= ${be}`,D)});function Q(D,K){if(typeof D!="string")throw new R(K,"string",D)}function he(D,K,z=void 0,ce){if(typeof D!="number")throw new R(K,"number",D);if(z!=null&&Dce||(z!=null||ce!=null)&&a(D))throw new B(K,`${z!=null?`>= ${z}`:""}${z!=null&&ce!=null?" && ":""}${ce!=null?`<= ${ce}`:""}`,D)}var fe=x((D,K,z)=>{if(!n(z,D)){let ce="must be one of: "+o(i(z,be=>typeof be=="string"?`'${be}'`:g(be)),", ");throw new A(K,D,ce)}});function pe(D,K){if(typeof D!="boolean")throw new R(K,"boolean",D)}function F(D,K,z){return D==null||!d(D,K)?z:D[K]}var ne=x((D,K,z=null)=>{let ce=F(z,"allowArray",!1),be=F(z,"allowFunction",!1);if(!F(z,"nullable",!1)&&D===null||!ce&&r(D)||typeof D!="object"&&(!be||typeof D!="function"))throw new R(K,"Object",D)}),ge=x((D,K)=>{if(D!=null&&typeof D!="object"&&typeof D!="function")throw new R(K,"a dictionary",D)}),Se=x((D,K,z=0)=>{if(!r(D))throw new R(K,"Array",D);if(D.length{if(!W(D))throw new R(K,["Buffer","TypedArray","DataView"],D)});function ue(D,K){let z=I(K),ce=D.length;if(z==="hex"&&ce%2!==0)throw new A("encoding",K,`is invalid for data of length ${ce}`)}function le(D,K="Port",z=!0){if(typeof D!="number"&&typeof D!="string"||typeof D=="string"&&b(D).length===0||+D!==+D>>>0||D>65535||D===0&&!z)throw new k(K,D,z);return D|0}var X=x((D,K)=>{if(D!==void 0&&(D===null||typeof D!="object"||!("aborted"in D)))throw new R(K,"AbortSignal",D)}),E=x((D,K)=>{if(typeof D!="function")throw new R(K,"Function",D)}),T=x((D,K)=>{if(typeof D!="function"||P(D))throw new R(K,"Function",D)}),S=x((D,K)=>{if(D!==void 0)throw new R(K,"undefined",D)});function O(D,K,z){if(!n(z,D))throw new R(K,`('${o(z,"|")}')`,D)}var N=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function ee(D,K){if(typeof D>"u"||!p(N,D))throw new A(K,D,'must be an array or string of format "; rel=preload; as=style"')}function J(D){if(typeof D=="string")return ee(D,"hints"),D;if(r(D)){let K=D.length,z="";if(K===0)return z;for(let ce=0;ce; rel=preload; as=style"')}t.exports={isInt32:oe,isUint32:te,parseFileMode:ie,validateArray:Se,validateStringArray:ye,validateBooleanArray:V,validateBoolean:pe,validateBuffer:Z,validateDictionary:ge,validateEncoding:ue,validateFunction:E,validateInt32:ae,validateInteger:re,validateNumber:he,validateObject:ne,validateOneOf:fe,validatePlainFunction:T,validatePort:le,validateSignalName:j,validateString:Q,validateUint32:se,validateUndefined:S,validateUnion:O,validateAbortSignal:X,validateLinkHeaderValue:J}}),Ui=Oe((e,t)=>{we(),Ee(),ve();var r=t.exports={},n,o;function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=i}catch{n=i}try{typeof clearTimeout=="function"?o=clearTimeout:o=s}catch{o=s}})();function a(k){if(n===setTimeout)return setTimeout(k,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(k,0);try{return n(k,0)}catch{try{return n.call(null,k,0)}catch{return n.call(this,k,0)}}}function l(k){if(o===clearTimeout)return clearTimeout(k);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(k);try{return o(k)}catch{try{return o.call(null,k)}catch{return o.call(this,k)}}}var u=[],c=!1,d,p=-1;function g(){!c||!d||(c=!1,d.length?u=d.concat(u):p=-1,u.length&&_())}function _(){if(!c){var k=a(g);c=!0;for(var R=u.length;R;){for(d=u,u=[];++p1)for(var A=1;A{we(),Ee(),ve();var{Symbol:r,SymbolAsyncIterator:n,SymbolIterator:o,SymbolFor:i}=pt(),s=r("kDestroyed"),a=r("kIsErrored"),l=r("kIsReadable"),u=r("kIsDisturbed"),c=i("nodejs.webstream.isClosedPromise"),d=i("nodejs.webstream.controllerErrorFunction");function p(F,ne=!1){var ge;return!!(F&&typeof F.pipe=="function"&&typeof F.on=="function"&&(!ne||typeof F.pause=="function"&&typeof F.resume=="function")&&(!F._writableState||((ge=F._readableState)===null||ge===void 0?void 0:ge.readable)!==!1)&&(!F._writableState||F._readableState))}function g(F){var ne;return!!(F&&typeof F.write=="function"&&typeof F.on=="function"&&(!F._readableState||((ne=F._writableState)===null||ne===void 0?void 0:ne.writable)!==!1))}function _(F){return!!(F&&typeof F.pipe=="function"&&F._readableState&&typeof F.on=="function"&&typeof F.write=="function")}function b(F){return F&&(F._readableState||F._writableState||typeof F.write=="function"&&typeof F.on=="function"||typeof F.pipe=="function"&&typeof F.on=="function")}function x(F){return!!(F&&!b(F)&&typeof F.pipeThrough=="function"&&typeof F.getReader=="function"&&typeof F.cancel=="function")}function k(F){return!!(F&&!b(F)&&typeof F.getWriter=="function"&&typeof F.abort=="function")}function R(F){return!!(F&&!b(F)&&typeof F.readable=="object"&&typeof F.writable=="object")}function A(F){return x(F)||k(F)||R(F)}function B(F,ne){return F==null?!1:ne===!0?typeof F[n]=="function":ne===!1?typeof F[o]=="function":typeof F[n]=="function"||typeof F[o]=="function"}function $(F){if(!b(F))return null;let ne=F._writableState,ge=F._readableState,Se=ne||ge;return!!(F.destroyed||F[s]||Se!=null&&Se.destroyed)}function I(F){if(!g(F))return null;if(F.writableEnded===!0)return!0;let ne=F._writableState;return ne!=null&&ne.errored?!1:typeof(ne==null?void 0:ne.ended)!="boolean"?null:ne.ended}function P(F,ne){if(!g(F))return null;if(F.writableFinished===!0)return!0;let ge=F._writableState;return ge!=null&&ge.errored?!1:typeof(ge==null?void 0:ge.finished)!="boolean"?null:!!(ge.finished||ne===!1&&ge.ended===!0&&ge.length===0)}function W(F){if(!p(F))return null;if(F.readableEnded===!0)return!0;let ne=F._readableState;return!ne||ne.errored?!1:typeof(ne==null?void 0:ne.ended)!="boolean"?null:ne.ended}function Y(F,ne){if(!p(F))return null;let ge=F._readableState;return ge!=null&&ge.errored?!1:typeof(ge==null?void 0:ge.endEmitted)!="boolean"?null:!!(ge.endEmitted||ne===!1&&ge.ended===!0&&ge.length===0)}function oe(F){return F&&F[l]!=null?F[l]:typeof(F==null?void 0:F.readable)!="boolean"?null:$(F)?!1:p(F)&&F.readable&&!Y(F)}function te(F){return typeof(F==null?void 0:F.writable)!="boolean"?null:$(F)?!1:g(F)&&F.writable&&!I(F)}function M(F,ne){return b(F)?$(F)?!0:!((ne==null?void 0:ne.readable)!==!1&&oe(F)||(ne==null?void 0:ne.writable)!==!1&&te(F)):null}function L(F){var ne,ge;return b(F)?F.writableErrored?F.writableErrored:(ne=(ge=F._writableState)===null||ge===void 0?void 0:ge.errored)!==null&&ne!==void 0?ne:null:null}function ie(F){var ne,ge;return b(F)?F.readableErrored?F.readableErrored:(ne=(ge=F._readableState)===null||ge===void 0?void 0:ge.errored)!==null&&ne!==void 0?ne:null:null}function re(F){if(!b(F))return null;if(typeof F.closed=="boolean")return F.closed;let ne=F._writableState,ge=F._readableState;return typeof(ne==null?void 0:ne.closed)=="boolean"||typeof(ge==null?void 0:ge.closed)=="boolean"?(ne==null?void 0:ne.closed)||(ge==null?void 0:ge.closed):typeof F._closed=="boolean"&&ae(F)?F._closed:null}function ae(F){return typeof F._closed=="boolean"&&typeof F._defaultKeepAlive=="boolean"&&typeof F._removedConnection=="boolean"&&typeof F._removedContLen=="boolean"}function se(F){return typeof F._sent100=="boolean"&&ae(F)}function Q(F){var ne;return typeof F._consuming=="boolean"&&typeof F._dumped=="boolean"&&((ne=F.req)===null||ne===void 0?void 0:ne.upgradeOrConnect)===void 0}function he(F){if(!b(F))return null;let ne=F._writableState,ge=F._readableState,Se=ne||ge;return!Se&&se(F)||!!(Se&&Se.autoDestroy&&Se.emitClose&&Se.closed===!1)}function fe(F){var ne;return!!(F&&((ne=F[u])!==null&&ne!==void 0?ne:F.readableDidRead||F.readableAborted))}function pe(F){var ne,ge,Se,ye,V,j,Z,ue,le,X;return!!(F&&((ne=(ge=(Se=(ye=(V=(j=F[a])!==null&&j!==void 0?j:F.readableErrored)!==null&&V!==void 0?V:F.writableErrored)!==null&&ye!==void 0?ye:(Z=F._readableState)===null||Z===void 0?void 0:Z.errorEmitted)!==null&&Se!==void 0?Se:(ue=F._writableState)===null||ue===void 0?void 0:ue.errorEmitted)!==null&&ge!==void 0?ge:(le=F._readableState)===null||le===void 0?void 0:le.errored)!==null&&ne!==void 0?ne:!((X=F._writableState)===null||X===void 0)&&X.errored))}t.exports={kDestroyed:s,isDisturbed:fe,kIsDisturbed:u,isErrored:pe,kIsErrored:a,isReadable:oe,kIsReadable:l,kIsClosedPromise:c,kControllerErrorFunction:d,isClosed:re,isDestroyed:$,isDuplexNodeStream:_,isFinished:M,isIterable:B,isReadableNodeStream:p,isReadableStream:x,isReadableEnded:W,isReadableFinished:Y,isReadableErrored:ie,isNodeStream:b,isWebStream:A,isWritable:te,isWritableNodeStream:g,isWritableStream:k,isWritableEnded:I,isWritableFinished:P,isWritableErrored:L,isServerRequest:Q,isServerResponse:se,willEmitClose:he,isTransformStream:R}}),Kn=Oe((e,t)=>{we(),Ee(),ve();var r=Ui(),{AbortError:n,codes:o}=Ht(),{ERR_INVALID_ARG_TYPE:i,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:a,once:l}=ln(),{validateAbortSignal:u,validateFunction:c,validateObject:d,validateBoolean:p}=eu(),{Promise:g,PromisePrototypeThen:_}=pt(),{isClosed:b,isReadable:x,isReadableNodeStream:k,isReadableStream:R,isReadableFinished:A,isReadableErrored:B,isWritable:$,isWritableNodeStream:I,isWritableStream:P,isWritableFinished:W,isWritableErrored:Y,isNodeStream:oe,willEmitClose:te,kIsClosedPromise:M}=_n();function L(Q){return Q.setHeader&&typeof Q.abort=="function"}var ie=()=>{};function re(Q,he,fe){var pe,F;if(arguments.length===2?(fe=he,he=a):he==null?he=a:d(he,"options"),c(fe,"callback"),u(he.signal,"options.signal"),fe=l(fe),R(Q)||P(Q))return ae(Q,he,fe);if(!oe(Q))throw new i("stream",["ReadableStream","WritableStream","Stream"],Q);let ne=(pe=he.readable)!==null&&pe!==void 0?pe:k(Q),ge=(F=he.writable)!==null&&F!==void 0?F:I(Q),Se=Q._writableState,ye=Q._readableState,V=()=>{Q.writable||ue()},j=te(Q)&&k(Q)===ne&&I(Q)===ge,Z=W(Q,!1),ue=()=>{Z=!0,Q.destroyed&&(j=!1),!(j&&(!Q.readable||ne))&&(!ne||le)&&fe.call(Q)},le=A(Q,!1),X=()=>{le=!0,Q.destroyed&&(j=!1),!(j&&(!Q.writable||ge))&&(!ge||Z)&&fe.call(Q)},E=J=>{fe.call(Q,J)},T=b(Q),S=()=>{T=!0;let J=Y(Q)||B(Q);if(J&&typeof J!="boolean")return fe.call(Q,J);if(ne&&!le&&k(Q,!0)&&!A(Q,!1))return fe.call(Q,new s);if(ge&&!Z&&!W(Q,!1))return fe.call(Q,new s);fe.call(Q)},O=()=>{T=!0;let J=Y(Q)||B(Q);if(J&&typeof J!="boolean")return fe.call(Q,J);fe.call(Q)},N=()=>{Q.req.on("finish",ue)};L(Q)?(Q.on("complete",ue),j||Q.on("abort",S),Q.req?N():Q.on("request",N)):ge&&!Se&&(Q.on("end",V),Q.on("close",V)),!j&&typeof Q.aborted=="boolean"&&Q.on("aborted",S),Q.on("end",X),Q.on("finish",ue),he.error!==!1&&Q.on("error",E),Q.on("close",S),T?r.nextTick(S):Se!=null&&Se.errorEmitted||ye!=null&&ye.errorEmitted?j||r.nextTick(O):(!ne&&(!j||x(Q))&&(Z||$(Q)===!1)||!ge&&(!j||$(Q))&&(le||x(Q)===!1)||ye&&Q.req&&Q.aborted)&&r.nextTick(O);let ee=()=>{fe=ie,Q.removeListener("aborted",S),Q.removeListener("complete",ue),Q.removeListener("abort",S),Q.removeListener("request",N),Q.req&&Q.req.removeListener("finish",ue),Q.removeListener("end",V),Q.removeListener("close",V),Q.removeListener("finish",ue),Q.removeListener("end",X),Q.removeListener("error",E),Q.removeListener("close",S)};if(he.signal&&!T){let J=()=>{let D=fe;ee(),D.call(Q,new n(void 0,{cause:he.signal.reason}))};if(he.signal.aborted)r.nextTick(J);else{let D=fe;fe=l((...K)=>{he.signal.removeEventListener("abort",J),D.apply(Q,K)}),he.signal.addEventListener("abort",J)}}return ee}function ae(Q,he,fe){let pe=!1,F=ie;if(he.signal)if(F=()=>{pe=!0,fe.call(Q,new n(void 0,{cause:he.signal.reason}))},he.signal.aborted)r.nextTick(F);else{let ge=fe;fe=l((...Se)=>{he.signal.removeEventListener("abort",F),ge.apply(Q,Se)}),he.signal.addEventListener("abort",F)}let ne=(...ge)=>{pe||r.nextTick(()=>fe.apply(Q,ge))};return _(Q[M].promise,ne,ne),ie}function se(Q,he){var fe;let pe=!1;return he===null&&(he=a),(fe=he)!==null&&fe!==void 0&&fe.cleanup&&(p(he.cleanup,"cleanup"),pe=he.cleanup),new g((F,ne)=>{let ge=re(Q,he,Se=>{pe&&ge(),Se?ne(Se):F()})})}t.exports=re,t.exports.finished=se}),Wo=Oe((e,t)=>{we(),Ee(),ve();var r=Ui(),{aggregateTwoErrors:n,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:i}=Ht(),{Symbol:s}=pt(),{kDestroyed:a,isDestroyed:l,isFinished:u,isServerRequest:c}=_n(),d=s("kDestroy"),p=s("kConstruct");function g(M,L,ie){M&&(M.stack,L&&!L.errored&&(L.errored=M),ie&&!ie.errored&&(ie.errored=M))}function _(M,L){let ie=this._readableState,re=this._writableState,ae=re||ie;return re!=null&&re.destroyed||ie!=null&&ie.destroyed?(typeof L=="function"&&L(),this):(g(M,re,ie),re&&(re.destroyed=!0),ie&&(ie.destroyed=!0),ae.constructed?b(this,M,L):this.once(d,function(se){b(this,n(se,M),L)}),this)}function b(M,L,ie){let re=!1;function ae(se){if(re)return;re=!0;let Q=M._readableState,he=M._writableState;g(se,he,Q),he&&(he.closed=!0),Q&&(Q.closed=!0),typeof ie=="function"&&ie(se),se?r.nextTick(x,M,se):r.nextTick(k,M)}try{M._destroy(L||null,ae)}catch(se){ae(se)}}function x(M,L){R(M,L),k(M)}function k(M){let L=M._readableState,ie=M._writableState;ie&&(ie.closeEmitted=!0),L&&(L.closeEmitted=!0),(ie!=null&&ie.emitClose||L!=null&&L.emitClose)&&M.emit("close")}function R(M,L){let ie=M._readableState,re=M._writableState;re!=null&&re.errorEmitted||ie!=null&&ie.errorEmitted||(re&&(re.errorEmitted=!0),ie&&(ie.errorEmitted=!0),M.emit("error",L))}function A(){let M=this._readableState,L=this._writableState;M&&(M.constructed=!0,M.closed=!1,M.closeEmitted=!1,M.destroyed=!1,M.errored=null,M.errorEmitted=!1,M.reading=!1,M.ended=M.readable===!1,M.endEmitted=M.readable===!1),L&&(L.constructed=!0,L.destroyed=!1,L.closed=!1,L.closeEmitted=!1,L.errored=null,L.errorEmitted=!1,L.finalCalled=!1,L.prefinished=!1,L.ended=L.writable===!1,L.ending=L.writable===!1,L.finished=L.writable===!1)}function B(M,L,ie){let re=M._readableState,ae=M._writableState;if(ae!=null&&ae.destroyed||re!=null&&re.destroyed)return this;re!=null&&re.autoDestroy||ae!=null&&ae.autoDestroy?M.destroy(L):L&&(L.stack,ae&&!ae.errored&&(ae.errored=L),re&&!re.errored&&(re.errored=L),ie?r.nextTick(R,M,L):R(M,L))}function $(M,L){if(typeof M._construct!="function")return;let ie=M._readableState,re=M._writableState;ie&&(ie.constructed=!1),re&&(re.constructed=!1),M.once(p,L),!(M.listenerCount(p)>1)&&r.nextTick(I,M)}function I(M){let L=!1;function ie(re){if(L){B(M,re??new o);return}L=!0;let ae=M._readableState,se=M._writableState,Q=se||ae;ae&&(ae.constructed=!0),se&&(se.constructed=!0),Q.destroyed?M.emit(d,re):re?B(M,re,!0):r.nextTick(P,M)}try{M._construct(re=>{r.nextTick(ie,re)})}catch(re){r.nextTick(ie,re)}}function P(M){M.emit(p)}function W(M){return(M==null?void 0:M.setHeader)&&typeof M.abort=="function"}function Y(M){M.emit("close")}function oe(M,L){M.emit("error",L),r.nextTick(Y,M)}function te(M,L){!M||l(M)||(!L&&!u(M)&&(L=new i),c(M)?(M.socket=null,M.destroy(L)):W(M)?M.abort():W(M.req)?M.req.abort():typeof M.destroy=="function"?M.destroy(L):typeof M.close=="function"?M.close():L?r.nextTick(oe,M,L):r.nextTick(Y,M),M.destroyed||(M[a]=!0))}t.exports={construct:$,destroyer:te,destroy:_,undestroy:A,errorOrDestroy:B}});function Ke(){Ke.init.call(this)}function Ba(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function Mb(e){return e._maxListeners===void 0?Ke.defaultMaxListeners:e._maxListeners}function tm(e,t,r,n){var o,i,s,a;if(Ba(r),(i=e._events)===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),s===void 0)s=i[t]=r,++e._eventsCount;else if(typeof s=="function"?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=Mb(e))>0&&s.length>o&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a=l,console&&console.warn&&console.warn(a)}return e}function XR(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function rm(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=XR.bind(n);return o.listener=r,n.wrapFn=o,o}function nm(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?function(i){for(var s=new Array(i.length),a=0;a{we(),Ee(),ve(),Xn=typeof Reflect=="object"?Reflect:null,rc=Xn&&typeof Xn.apply=="function"?Xn.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},sm=Xn&&typeof Xn.ownKeys=="function"?Xn.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},nc=Number.isNaN||function(e){return e!=e},om=Ke,Ke.EventEmitter=Ke,Ke.prototype._events=void 0,Ke.prototype._eventsCount=0,Ke.prototype._maxListeners=void 0,ic=10,Object.defineProperty(Ke,"defaultMaxListeners",{enumerable:!0,get:function(){return ic},set:function(e){if(typeof e!="number"||e<0||nc(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");ic=e}}),Ke.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ke.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||nc(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},Ke.prototype.getMaxListeners=function(){return Mb(this)},Ke.prototype.emit=function(e){for(var t=[],r=1;r0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var a=o[e];if(a===void 0)return!1;if(typeof a=="function")rc(a,this,t);else{var l=a.length,u=Pb(a,l);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){s=r[i].listener,o=i;break}if(o<0)return this;o===0?r.shift():function(a,l){for(;l+1=0;n--)this.removeListener(e,t[n]);return this},Ke.prototype.listeners=function(e){return nm(this,e,!0)},Ke.prototype.rawListeners=function(e){return nm(this,e,!1)},Ke.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):im.call(e,t)},Ke.prototype.listenerCount=im,Ke.prototype.eventNames=function(){return this._eventsCount>0?sm(this._events):[]},Kt=om,Kt.EventEmitter,Kt.defaultMaxListeners,Kt.init,Kt.listenerCount,Kt.EventEmitter,Kt.defaultMaxListeners,Kt.init,Kt.listenerCount}),Fi={};$i(Fi,{EventEmitter:()=>Lb,default:()=>Kt,defaultMaxListeners:()=>Bb,init:()=>Db,listenerCount:()=>$b,on:()=>Ub,once:()=>Fb});var Lb,Bb,Db,$b,Ub,Fb,Ho=vt(()=>{we(),Ee(),ve(),am(),am(),Kt.once=function(e,t){return new Promise((r,n)=>{function o(...s){i!==void 0&&e.removeListener("error",i),r(s)}let i;t!=="error"&&(i=s=>{e.removeListener(name,o),n(s)},e.once("error",i)),e.once(t,o)})},Kt.on=function(e,t){let r=[],n=[],o=null,i=!1,s={async next(){let u=r.shift();if(u)return createIterResult(u,!1);if(o){let c=Promise.reject(o);return o=null,c}return i?createIterResult(void 0,!0):new Promise((c,d)=>n.push({resolve:c,reject:d}))},async return(){e.removeListener(t,a),e.removeListener("error",l),i=!0;for(let u of n)u.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(u){o=u,e.removeListener(t,a),e.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return e.on(t,a),e.on("error",l),s;function a(...u){let c=n.shift();c?c.resolve(createIterResult(u,!1)):r.push(u)}function l(u){i=!0;let c=n.shift();c?c.reject(u):o=u,s.return()}},{EventEmitter:Lb,defaultMaxListeners:Bb,init:Db,listenerCount:$b,on:Ub,once:Fb}=Kt}),Qd=Oe((e,t)=>{we(),Ee(),ve();var{ArrayIsArray:r,ObjectSetPrototypeOf:n}=pt(),{EventEmitter:o}=(Ho(),ze(Fi));function i(a){o.call(this,a)}n(i.prototype,o.prototype),n(i,o),i.prototype.pipe=function(a,l){let u=this;function c(k){a.writable&&a.write(k)===!1&&u.pause&&u.pause()}u.on("data",c);function d(){u.readable&&u.resume&&u.resume()}a.on("drain",d),!a._isStdio&&(!l||l.end!==!1)&&(u.on("end",g),u.on("close",_));let p=!1;function g(){p||(p=!0,a.end())}function _(){p||(p=!0,typeof a.destroy=="function"&&a.destroy())}function b(k){x(),o.listenerCount(this,"error")===0&&this.emit("error",k)}s(u,"error",b),s(a,"error",b);function x(){u.removeListener("data",c),a.removeListener("drain",d),u.removeListener("end",g),u.removeListener("close",_),u.removeListener("error",b),a.removeListener("error",b),u.removeListener("end",x),u.removeListener("close",x),a.removeListener("close",x)}return u.on("end",x),u.on("close",x),a.on("close",x),a.emit("pipe",u),a};function s(a,l,u){if(typeof a.prependListener=="function")return a.prependListener(l,u);!a._events||!a._events[l]?a.on(l,u):r(a._events[l])?a._events[l].unshift(u):a._events[l]=[u,a._events[l]]}t.exports={Stream:i,prependListener:s}}),tu=Oe((e,t)=>{we(),Ee(),ve();var{AbortError:r,codes:n}=Ht(),{isNodeStream:o,isWebStream:i,kControllerErrorFunction:s}=_n(),a=Kn(),{ERR_INVALID_ARG_TYPE:l}=n,u=(c,d)=>{if(typeof c!="object"||!("aborted"in c))throw new l(d,"AbortSignal",c)};t.exports.addAbortSignal=function(c,d){if(u(c,"signal"),!o(d)&&!i(d))throw new l("stream",["ReadableStream","WritableStream","Stream"],d);return t.exports.addAbortSignalNoValidate(c,d)},t.exports.addAbortSignalNoValidate=function(c,d){if(typeof c!="object"||!("aborted"in c))return d;let p=o(d)?()=>{d.destroy(new r(void 0,{cause:c.reason}))}:()=>{d[s](new r(void 0,{cause:c.reason}))};return c.aborted?p():(c.addEventListener("abort",p),a(d,()=>c.removeEventListener("abort",p))),d}}),JR=Oe((e,t)=>{we(),Ee(),ve();var{StringPrototypeSlice:r,SymbolIterator:n,TypedArrayPrototypeSet:o,Uint8Array:i}=pt(),{Buffer:s}=(St(),ze(Et)),{inspect:a}=ln();t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(l){let u={data:l,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length}unshift(l){let u={data:l,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length}shift(){if(this.length===0)return;let l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l}clear(){this.head=this.tail=null,this.length=0}join(l){if(this.length===0)return"";let u=this.head,c=""+u.data;for(;(u=u.next)!==null;)c+=l+u.data;return c}concat(l){if(this.length===0)return s.alloc(0);let u=s.allocUnsafe(l>>>0),c=this.head,d=0;for(;c;)o(u,c.data,d),d+=c.data.length,c=c.next;return u}consume(l,u){let c=this.head.data;if(lp.length)u+=p,l-=p.length;else{l===p.length?(u+=p,++d,c.next?this.head=c.next:this.head=this.tail=null):(u+=r(p,0,l),this.head=c,c.data=r(p,l));break}++d}while((c=c.next)!==null);return this.length-=d,u}_getBuffer(l){let u=s.allocUnsafe(l),c=l,d=this.head,p=0;do{let g=d.data;if(l>g.length)o(u,g,c-l),l-=g.length;else{l===g.length?(o(u,g,c-l),++p,d.next?this.head=d.next:this.head=this.tail=null):(o(u,new i(g.buffer,g.byteOffset,l),c-l),this.head=d,d.data=g.slice(l));break}++p}while((d=d.next)!==null);return this.length-=p,u}[Symbol.for("nodejs.util.inspect.custom")](l,u){return a(this,{...u,depth:0,customInspect:!1})}}}),Xd=Oe((e,t)=>{we(),Ee(),ve();var{MathFloor:r,NumberIsInteger:n}=pt(),{ERR_INVALID_ARG_VALUE:o}=Ht().codes;function i(l,u,c){return l.highWaterMark!=null?l.highWaterMark:u?l[c]:null}function s(l){return l?16:16*1024}function a(l,u,c,d){let p=i(u,d,c);if(p!=null){if(!n(p)||p<0){let g=d?`options.${c}`:"options.highWaterMark";throw new o(g,p)}return r(p)}return s(l.objectMode)}t.exports={getHighWaterMark:a,getDefaultHighWaterMark:s}});function lm(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return r===-1&&(r=t),[r,r===t?0:4-r%4]}function ZR(e,t,r){for(var n,o,i=[],s=t;s>18&63]+hr[o>>12&63]+hr[o>>6&63]+hr[63&o]);return i.join("")}function Xr(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,xe.prototype),t}function xe(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return mh(e)}return jb(e,t,r)}function jb(e,t,r){if(typeof e=="string")return function(i,s){if(typeof s=="string"&&s!==""||(s="utf8"),!xe.isEncoding(s))throw new TypeError("Unknown encoding: "+s);var a=0|Hb(i,s),l=Xr(a),u=l.write(i,s);return u!==a&&(l=l.slice(0,u)),l}(e,t);if(ArrayBuffer.isView(e))return oc(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Jr(e,ArrayBuffer)||e&&Jr(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Jr(e,SharedArrayBuffer)||e&&Jr(e.buffer,SharedArrayBuffer)))return eO(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return xe.from(n,t,r);var o=function(i){if(xe.isBuffer(i)){var s=0|Jd(i.length),a=Xr(s);return a.length===0||i.copy(a,0,0,s),a}if(i.length!==void 0)return typeof i.length!="number"||Zd(i.length)?Xr(0):oc(i);if(i.type==="Buffer"&&Array.isArray(i.data))return oc(i.data)}(e);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return xe.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function Wb(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function mh(e){return Wb(e),Xr(e<0?0:0|Jd(e))}function oc(e){for(var t=e.length<0?0:0|Jd(e.length),r=Xr(t),n=0;n=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function Hb(e,t){if(xe.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Jr(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return yh(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Yb(e).length;default:if(o)return n?-1:yh(e).length;t=(""+t).toLowerCase(),o=!0}}function tO(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return cO(this,t,r);case"utf8":case"utf-8":return qb(this,t,r);case"ascii":return lO(this,t,r);case"latin1":case"binary":return uO(this,t,r);case"base64":return aO(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fO(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Jn(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function um(e,t,r,n,o){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Zd(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if(typeof t=="string"&&(t=xe.from(t,n)),xe.isBuffer(t))return t.length===0?-1:cm(e,t,r,n,o);if(typeof t=="number")return t&=255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):cm(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function cm(e,t,r,n,o){var i,s=1,a=e.length,l=t.length;if(n!==void 0&&((n=String(n).toLowerCase())==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,r/=2}function u(g,_){return s===1?g[_]:g.readUInt16BE(_*s)}if(o){var c=-1;for(i=r;ia&&(r=a-l),i=r;i>=0;i--){for(var d=!0,p=0;po&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var s=0;s>8,l=s%256,u.push(l),u.push(a);return u}(t,e.length-r),e,r,n)}function aO(e,t,r){return t===0&&r===e.length?fl.fromByteArray(e):fl.fromByteArray(e.slice(t,r))}function qb(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o239?4:u>223?3:u>191?2:1;if(o+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[o+1],s=e[o+2],(192&i)==128&&(192&s)==128&&(l=(15&u)<<12|(63&i)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}c===null?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=d}return function(p){var g=p.length;if(g<=4096)return String.fromCharCode.apply(String,p);for(var _="",b=0;bn)&&(r=n);for(var o="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function Bt(e,t,r,n,o,i){if(!xe.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function Kb(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function fm(e,t,r,n,o){return t=+t,r>>>=0,o||Kb(e,0,r,4),ci.write(e,t,r,n,23,4),r+4}function hm(e,t,r,n,o){return t=+t,r>>>=0,o||Kb(e,0,r,8),ci.write(e,t,r,n,52,8),r+8}function yh(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],s=0;s55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Yb(e){return fl.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(zb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function ru(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Jr(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Zd(e){return e!=e}function dm(e,t){for(var r in e)t[r]=e[r]}function Zn(e,t,r){return ur(e,t,r)}function Zo(e){var t;switch(this.encoding=function(r){var n=function(o){if(!o)return"utf8";for(var i;;)switch(o){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return o;default:if(i)return;o=(""+o).toLowerCase(),i=!0}}(r);if(typeof n!="string"&&(hl.isEncoding===_h||!_h(r)))throw new Error("Unknown encoding: "+r);return n||r}(e),this.encoding){case"utf16le":this.text=dO,this.end=pO,t=4;break;case"utf8":this.fillLast=hO,t=4;break;case"base64":this.text=gO,this.end=mO,t=3;break;default:return this.write=yO,this.end=_O,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=hl.allocUnsafe(t)}function sc(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function hO(e){var t=this.lastTotal-this.lastNeed,r=function(n,o,i){if((192&o[0])!=128)return n.lastNeed=0,"�";if(n.lastNeed>1&&o.length>1){if((192&o[1])!=128)return n.lastNeed=1,"�";if(n.lastNeed>2&&o.length>2&&(192&o[2])!=128)return n.lastNeed=2,"�"}}(this,e);return r!==void 0?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length,void 0)}function dO(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function pO(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function gO(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function mO(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function yO(e){return e.toString(this.encoding)}function _O(e){return e&&e.length?this.write(e):""}var pm,hr,qt,gm,fa,ei,mm,ym,Sr,fl,ci,ac,zb,Gb,es,ts,ur,_m,ao,hl,_h,bm=vt(()=>{for(we(),Ee(),ve(),pm={byteLength:function(e){var t=lm(e),r=t[0],n=t[1];return 3*(r+n)/4-n},toByteArray:function(e){var t,r,n=lm(e),o=n[0],i=n[1],s=new gm(function(u,c,d){return 3*(c+d)/4-d}(0,o,i)),a=0,l=i>0?o-4:o;for(r=0;r>16&255,s[a++]=t>>8&255,s[a++]=255&t;return i===2&&(t=qt[e.charCodeAt(r)]<<2|qt[e.charCodeAt(r+1)]>>4,s[a++]=255&t),i===1&&(t=qt[e.charCodeAt(r)]<<10|qt[e.charCodeAt(r+1)]<<4|qt[e.charCodeAt(r+2)]>>2,s[a++]=t>>8&255,s[a++]=255&t),s},fromByteArray:function(e){for(var t,r=e.length,n=r%3,o=[],i=0,s=r-n;is?s:i+16383));return n===1?(t=e[r-1],o.push(hr[t>>2]+hr[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(hr[t>>10]+hr[t>>4&63]+hr[t<<2&63]+"=")),o.join("")}},hr=[],qt=[],gm=typeof Uint8Array<"u"?Uint8Array:Array,fa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ei=0,mm=fa.length;ei>1,c=-7,d=r?o-1:0,p=r?-1:1,g=e[t+d];for(d+=p,i=g&(1<<-c)-1,g>>=-c,c+=a;c>0;i=256*i+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+e[t+d],d+=p,c-=8);if(i===0)i=1-u;else{if(i===l)return s?NaN:1/0*(g?-1:1);s+=Math.pow(2,n),i-=u}return(g?-1:1)*s*Math.pow(2,i-n)},write:function(e,t,r,n,o,i){var s,a,l,u=8*i-o-1,c=(1<>1,p=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:i-1,_=n?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,o),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[r+g]=255&a,g+=_,a/=256,o-=8);for(s=s<0;e[r+g]=255&s,g+=_,s/=256,u-=8);e[r+g-_]|=128*b}},Sr={},fl=pm,ci=ym,ac=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null,Sr.Buffer=xe,Sr.SlowBuffer=function(e){return+e!=e&&(e=0),xe.alloc(+e)},Sr.INSPECT_MAX_BYTES=50,Sr.kMaxLength=2147483647,xe.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}(),xe.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(xe.prototype,"parent",{enumerable:!0,get:function(){if(xe.isBuffer(this))return this.buffer}}),Object.defineProperty(xe.prototype,"offset",{enumerable:!0,get:function(){if(xe.isBuffer(this))return this.byteOffset}}),xe.poolSize=8192,xe.from=function(e,t,r){return jb(e,t,r)},Object.setPrototypeOf(xe.prototype,Uint8Array.prototype),Object.setPrototypeOf(xe,Uint8Array),xe.alloc=function(e,t,r){return function(n,o,i){return Wb(n),n<=0?Xr(n):o!==void 0?typeof i=="string"?Xr(n).fill(o,i):Xr(n).fill(o):Xr(n)}(e,t,r)},xe.allocUnsafe=function(e){return mh(e)},xe.allocUnsafeSlow=function(e){return mh(e)},xe.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==xe.prototype},xe.compare=function(e,t){if(Jr(e,Uint8Array)&&(e=xe.from(e,e.offset,e.byteLength)),Jr(t,Uint8Array)&&(t=xe.from(t,t.offset,t.byteLength)),!xe.isBuffer(e)||!xe.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);ot&&(e+=" ... "),""},ac&&(xe.prototype[ac]=xe.prototype.inspect),xe.prototype.compare=function(e,t,r,n,o){if(Jr(e,Uint8Array)&&(e=xe.from(e,e.offset,e.byteLength)),!xe.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),r===void 0&&(r=e?e.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(i,s),l=this.slice(n,o),u=e.slice(t,r),c=0;c>>=0,isFinite(r)?(r>>>=0,n===void 0&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((r===void 0||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return rO(this,e,t,r);case"utf8":case"utf-8":return nO(this,e,t,r);case"ascii":return Vb(this,e,t,r);case"latin1":case"binary":return iO(this,e,t,r);case"base64":return oO(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return sO(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},xe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},xe.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||yt(e,t,this.length);for(var n=this[e],o=1,i=0;++i>>=0,t>>>=0,r||yt(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},xe.prototype.readUInt8=function(e,t){return e>>>=0,t||yt(e,1,this.length),this[e]},xe.prototype.readUInt16LE=function(e,t){return e>>>=0,t||yt(e,2,this.length),this[e]|this[e+1]<<8},xe.prototype.readUInt16BE=function(e,t){return e>>>=0,t||yt(e,2,this.length),this[e]<<8|this[e+1]},xe.prototype.readUInt32LE=function(e,t){return e>>>=0,t||yt(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},xe.prototype.readUInt32BE=function(e,t){return e>>>=0,t||yt(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},xe.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||yt(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},xe.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||yt(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},xe.prototype.readInt8=function(e,t){return e>>>=0,t||yt(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},xe.prototype.readInt16LE=function(e,t){e>>>=0,t||yt(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},xe.prototype.readInt16BE=function(e,t){e>>>=0,t||yt(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},xe.prototype.readInt32LE=function(e,t){return e>>>=0,t||yt(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},xe.prototype.readInt32BE=function(e,t){return e>>>=0,t||yt(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},xe.prototype.readFloatLE=function(e,t){return e>>>=0,t||yt(e,4,this.length),ci.read(this,e,!0,23,4)},xe.prototype.readFloatBE=function(e,t){return e>>>=0,t||yt(e,4,this.length),ci.read(this,e,!1,23,4)},xe.prototype.readDoubleLE=function(e,t){return e>>>=0,t||yt(e,8,this.length),ci.read(this,e,!0,52,8)},xe.prototype.readDoubleBE=function(e,t){return e>>>=0,t||yt(e,8,this.length),ci.read(this,e,!1,52,8)},xe.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||Bt(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i>>=0,r>>>=0,n||Bt(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},xe.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,1,255,0),this[t]=255&e,t+1},xe.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},xe.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},xe.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},xe.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},xe.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);Bt(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+r},xe.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);Bt(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&a===0&&this[t+i+1]!==0&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},xe.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},xe.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},xe.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},xe.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},xe.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||Bt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},xe.prototype.writeFloatLE=function(e,t,r){return fm(this,e,t,!0,r)},xe.prototype.writeFloatBE=function(e,t,r){return fm(this,e,t,!1,r)},xe.prototype.writeDoubleLE=function(e,t,r){return hm(this,e,t,!0,r)},xe.prototype.writeDoubleBE=function(e,t,r){return hm(this,e,t,!1,r)},xe.prototype.copy=function(e,t,r,n){if(!xe.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||n===0||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},xe.prototype.fill=function(e,t,r,n){if(typeof e=="string"){if(typeof t=="string"?(n=t,t=0,r=this.length):typeof r=="string"&&(n=r,r=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!xe.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(e.length===1){var o=e.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(e=o)}}else typeof e=="number"?e&=255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length>>=0,r=r===void 0?this.length:r>>>0,e||(e=0),typeof e=="number")for(i=t;i=0?(l>0&&(o.lastNeed=l-1),l):--a=0?(l>0&&(o.lastNeed=l-2),l):--a=0?(l>0&&(l===2?l=0:o.lastNeed=l-3),l):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},Zo.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},ao.StringDecoder,ao.StringDecoder}),Qb={};$i(Qb,{StringDecoder:()=>Xb,default:()=>ao});var Xb,bO=vt(()=>{we(),Ee(),ve(),bm(),bm(),Xb=ao.StringDecoder}),Jb=Oe((e,t)=>{we(),Ee(),ve();var r=Ui(),{PromisePrototypeThen:n,SymbolAsyncIterator:o,SymbolIterator:i}=pt(),{Buffer:s}=(St(),ze(Et)),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_NULL_VALUES:l}=Ht().codes;function u(c,d,p){let g;if(typeof d=="string"||d instanceof s)return new c({objectMode:!0,...p,read(){this.push(d),this.push(null)}});let _;if(d&&d[o])_=!0,g=d[o]();else if(d&&d[i])_=!1,g=d[i]();else throw new a("iterable",["Iterable"],d);let b=new c({objectMode:!0,highWaterMark:1,...p}),x=!1;b._read=function(){x||(x=!0,R())},b._destroy=function(A,B){n(k(A),()=>r.nextTick(B,A),$=>r.nextTick(B,$||A))};async function k(A){let B=A!=null,$=typeof g.throw=="function";if(B&&$){let{value:I,done:P}=await g.throw(A);if(await I,P)return}if(typeof g.return=="function"){let{value:I}=await g.return();await I}}async function R(){for(;;){try{let{value:A,done:B}=_?await g.next():g.next();if(B)b.push(null);else{let $=A&&typeof A.then=="function"?await A:A;if($===null)throw x=!1,new l;if(b.push($))continue;x=!1}}catch(A){b.destroy(A)}break}}return b}t.exports=u}),nu=Oe((e,t)=>{we(),Ee(),ve();var r=Ui(),{ArrayPrototypeIndexOf:n,NumberIsInteger:o,NumberIsNaN:i,NumberParseInt:s,ObjectDefineProperties:a,ObjectKeys:l,ObjectSetPrototypeOf:u,Promise:c,SafeSet:d,SymbolAsyncIterator:p,Symbol:g}=pt();t.exports=F,F.ReadableState=pe;var{EventEmitter:_}=(Ho(),ze(Fi)),{Stream:b,prependListener:x}=Qd(),{Buffer:k}=(St(),ze(Et)),{addAbortSignal:R}=tu(),A=Kn(),B=ln().debuglog("stream",h=>{B=h}),$=JR(),I=Wo(),{getHighWaterMark:P,getDefaultHighWaterMark:W}=Xd(),{aggregateTwoErrors:Y,codes:{ERR_INVALID_ARG_TYPE:oe,ERR_METHOD_NOT_IMPLEMENTED:te,ERR_OUT_OF_RANGE:M,ERR_STREAM_PUSH_AFTER_EOF:L,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:ie}}=Ht(),{validateObject:re}=eu(),ae=g("kPaused"),{StringDecoder:se}=(bO(),ze(Qb)),Q=Jb();u(F.prototype,b.prototype),u(F,b);var he=()=>{},{errorOrDestroy:fe}=I;function pe(h,f,m){typeof m!="boolean"&&(m=f instanceof un()),this.objectMode=!!(h&&h.objectMode),m&&(this.objectMode=this.objectMode||!!(h&&h.readableObjectMode)),this.highWaterMark=h?P(this,h,"readableHighWaterMark",m):W(!1),this.buffer=new $,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[ae]=null,this.errorEmitted=!1,this.emitClose=!h||h.emitClose!==!1,this.autoDestroy=!h||h.autoDestroy!==!1,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=h&&h.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,h&&h.encoding&&(this.decoder=new se(h.encoding),this.encoding=h.encoding)}function F(h){if(!(this instanceof F))return new F(h);let f=this instanceof un();this._readableState=new pe(h,this,f),h&&(typeof h.read=="function"&&(this._read=h.read),typeof h.destroy=="function"&&(this._destroy=h.destroy),typeof h.construct=="function"&&(this._construct=h.construct),h.signal&&!f&&R(h.signal,this)),b.call(this,h),I.construct(this,()=>{this._readableState.needReadable&&le(this,this._readableState)})}F.prototype.destroy=I.destroy,F.prototype._undestroy=I.undestroy,F.prototype._destroy=function(h,f){f(h)},F.prototype[_.captureRejectionSymbol]=function(h){this.destroy(h)},F.prototype.push=function(h,f){return ne(this,h,f,!1)},F.prototype.unshift=function(h,f){return ne(this,h,f,!0)};function ne(h,f,m,w){B("readableAddChunk",f);let v=h._readableState,C;if(v.objectMode||(typeof f=="string"?(m=m||v.defaultEncoding,v.encoding!==m&&(w&&v.encoding?f=k.from(f,m).toString(v.encoding):(f=k.from(f,m),m=""))):f instanceof k?m="":b._isUint8Array(f)?(f=b._uint8ArrayToBuffer(f),m=""):f!=null&&(C=new oe("chunk",["string","Buffer","Uint8Array"],f))),C)fe(h,C);else if(f===null)v.reading=!1,j(h,v);else if(v.objectMode||f&&f.length>0)if(w)if(v.endEmitted)fe(h,new ie);else{if(v.destroyed||v.errored)return!1;ge(h,v,f,!0)}else if(v.ended)fe(h,new L);else{if(v.destroyed||v.errored)return!1;v.reading=!1,v.decoder&&!m?(f=v.decoder.write(f),v.objectMode||f.length!==0?ge(h,v,f,!1):le(h,v)):ge(h,v,f,!1)}else w||(v.reading=!1,le(h,v));return!v.ended&&(v.length0?(f.multiAwaitDrain?f.awaitDrainWriters.clear():f.awaitDrainWriters=null,f.dataEmitted=!0,h.emit("data",m)):(f.length+=f.objectMode?1:m.length,w?f.buffer.unshift(m):f.buffer.push(m),f.needReadable&&Z(h)),le(h,f)}F.prototype.isPaused=function(){let h=this._readableState;return h[ae]===!0||h.flowing===!1},F.prototype.setEncoding=function(h){let f=new se(h);this._readableState.decoder=f,this._readableState.encoding=this._readableState.decoder.encoding;let m=this._readableState.buffer,w="";for(let v of m)w+=f.write(v);return m.clear(),w!==""&&m.push(w),this._readableState.length=w.length,this};var Se=1073741824;function ye(h){if(h>Se)throw new M("size","<= 1GiB",h);return h--,h|=h>>>1,h|=h>>>2,h|=h>>>4,h|=h>>>8,h|=h>>>16,h++,h}function V(h,f){return h<=0||f.length===0&&f.ended?0:f.objectMode?1:i(h)?f.flowing&&f.length?f.buffer.first().length:f.length:h<=f.length?h:f.ended?f.length:0}F.prototype.read=function(h){B("read",h),h===void 0?h=NaN:o(h)||(h=s(h,10));let f=this._readableState,m=h;if(h>f.highWaterMark&&(f.highWaterMark=ye(h)),h!==0&&(f.emittedReadable=!1),h===0&&f.needReadable&&((f.highWaterMark!==0?f.length>=f.highWaterMark:f.length>0)||f.ended))return B("read: emitReadable",f.length,f.ended),f.length===0&&f.ended?z(this):Z(this),null;if(h=V(h,f),h===0&&f.ended)return f.length===0&&z(this),null;let w=f.needReadable;if(B("need readable",w),(f.length===0||f.length-h0?v=K(h,f):v=null,v===null?(f.needReadable=f.length<=f.highWaterMark,h=0):(f.length-=h,f.multiAwaitDrain?f.awaitDrainWriters.clear():f.awaitDrainWriters=null),f.length===0&&(f.ended||(f.needReadable=!0),m!==h&&f.ended&&z(this)),v!==null&&!f.errorEmitted&&!f.closeEmitted&&(f.dataEmitted=!0,this.emit("data",v)),v};function j(h,f){if(B("onEofChunk"),!f.ended){if(f.decoder){let m=f.decoder.end();m&&m.length&&(f.buffer.push(m),f.length+=f.objectMode?1:m.length)}f.ended=!0,f.sync?Z(h):(f.needReadable=!1,f.emittedReadable=!0,ue(h))}}function Z(h){let f=h._readableState;B("emitReadable",f.needReadable,f.emittedReadable),f.needReadable=!1,f.emittedReadable||(B("emitReadable",f.flowing),f.emittedReadable=!0,r.nextTick(ue,h))}function ue(h){let f=h._readableState;B("emitReadable_",f.destroyed,f.length,f.ended),!f.destroyed&&!f.errored&&(f.length||f.ended)&&(h.emit("readable"),f.emittedReadable=!1),f.needReadable=!f.flowing&&!f.ended&&f.length<=f.highWaterMark,ee(h)}function le(h,f){!f.readingMore&&f.constructed&&(f.readingMore=!0,r.nextTick(X,h,f))}function X(h,f){for(;!f.reading&&!f.ended&&(f.length1&&w.pipes.includes(h)&&(B("false write response, pause",w.awaitDrainWriters.size),w.awaitDrainWriters.add(h)),m.pause()),de||(de=E(m,h),h.on("drain",de))}m.on("data",ke);function ke(st){B("ondata");let at=h.write(st);B("dest.write",at),at===!1&&Ae()}function Ze(st){if(B("onerror",st),mt(),h.removeListener("error",Ze),h.listenerCount("error")===0){let at=h._writableState||h._readableState;at&&!at.errorEmitted?fe(h,st):h.emit("error",st)}}x(h,"error",Ze);function Tt(){h.removeListener("finish",He),mt()}h.once("close",Tt);function He(){B("onfinish"),h.removeListener("close",Tt),mt()}h.once("finish",He);function mt(){B("unpipe"),m.unpipe(h)}return h.emit("pipe",m),h.writableNeedDrain===!0?w.flowing&&Ae():w.flowing||(B("pipe resume"),m.resume()),h};function E(h,f){return function(){let m=h._readableState;m.awaitDrainWriters===f?(B("pipeOnDrain",1),m.awaitDrainWriters=null):m.multiAwaitDrain&&(B("pipeOnDrain",m.awaitDrainWriters.size),m.awaitDrainWriters.delete(f)),(!m.awaitDrainWriters||m.awaitDrainWriters.size===0)&&h.listenerCount("data")&&h.resume()}}F.prototype.unpipe=function(h){let f=this._readableState,m={hasUnpiped:!1};if(f.pipes.length===0)return this;if(!h){let v=f.pipes;f.pipes=[],this.pause();for(let C=0;C0,w.flowing!==!1&&this.resume()):h==="readable"&&!w.endEmitted&&!w.readableListening&&(w.readableListening=w.needReadable=!0,w.flowing=!1,w.emittedReadable=!1,B("on readable",w.length,w.reading),w.length?Z(this):w.reading||r.nextTick(S,this)),m},F.prototype.addListener=F.prototype.on,F.prototype.removeListener=function(h,f){let m=b.prototype.removeListener.call(this,h,f);return h==="readable"&&r.nextTick(T,this),m},F.prototype.off=F.prototype.removeListener,F.prototype.removeAllListeners=function(h){let f=b.prototype.removeAllListeners.apply(this,arguments);return(h==="readable"||h===void 0)&&r.nextTick(T,this),f};function T(h){let f=h._readableState;f.readableListening=h.listenerCount("readable")>0,f.resumeScheduled&&f[ae]===!1?f.flowing=!0:h.listenerCount("data")>0?h.resume():f.readableListening||(f.flowing=null)}function S(h){B("readable nexttick read 0"),h.read(0)}F.prototype.resume=function(){let h=this._readableState;return h.flowing||(B("resume"),h.flowing=!h.readableListening,O(this,h)),h[ae]=!1,this};function O(h,f){f.resumeScheduled||(f.resumeScheduled=!0,r.nextTick(N,h,f))}function N(h,f){B("resume",f.reading),f.reading||h.read(0),f.resumeScheduled=!1,h.emit("resume"),ee(h),f.flowing&&!f.reading&&h.read(0)}F.prototype.pause=function(){return B("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(B("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[ae]=!0,this};function ee(h){let f=h._readableState;for(B("flow",f.flowing);f.flowing&&h.read()!==null;);}F.prototype.wrap=function(h){let f=!1;h.on("data",w=>{!this.push(w)&&h.pause&&(f=!0,h.pause())}),h.on("end",()=>{this.push(null)}),h.on("error",w=>{fe(this,w)}),h.on("close",()=>{this.destroy()}),h.on("destroy",()=>{this.destroy()}),this._read=()=>{f&&h.resume&&(f=!1,h.resume())};let m=l(h);for(let w=1;w{v=H?Y(v,H):null,m(),m=he});try{for(;;){let H=h.destroyed?null:h.read();if(H!==null)yield H;else{if(v)throw v;if(v===null)return;await new c(w)}}}catch(H){throw v=Y(v,H),v}finally{(v||(f==null?void 0:f.destroyOnReturn)!==!1)&&(v===void 0||h._readableState.autoDestroy)?I.destroyer(h,null):(h.off("readable",w),C())}}a(F.prototype,{readable:{__proto__:null,get(){let h=this._readableState;return!!h&&h.readable!==!1&&!h.destroyed&&!h.errorEmitted&&!h.endEmitted},set(h){this._readableState&&(this._readableState.readable=!!h)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(h){this._readableState&&(this._readableState.flowing=h)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(h){this._readableState&&(this._readableState.destroyed=h)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),a(pe.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[ae]!==!1},set(h){this[ae]=!!h}}}),F._fromList=K;function K(h,f){if(f.length===0)return null;let m;return f.objectMode?m=f.buffer.shift():!h||h>=f.length?(f.decoder?m=f.buffer.join(""):f.buffer.length===1?m=f.buffer.first():m=f.buffer.concat(f.length),f.buffer.clear()):m=f.buffer.consume(h,f.decoder),m}function z(h){let f=h._readableState;B("endReadable",f.endEmitted),f.endEmitted||(f.ended=!0,r.nextTick(ce,f,h))}function ce(h,f){if(B("endReadableNT",h.endEmitted,h.length),!h.errored&&!h.closeEmitted&&!h.endEmitted&&h.length===0){if(h.endEmitted=!0,f.emit("end"),f.writable&&f.allowHalfOpen===!1)r.nextTick(be,f);else if(h.autoDestroy){let m=f._writableState;(!m||m.autoDestroy&&(m.finished||m.writable===!1))&&f.destroy()}}}function be(h){h.writable&&!h.writableEnded&&!h.destroyed&&h.end()}F.from=function(h,f){return Q(F,h,f)};var Te;function y(){return Te===void 0&&(Te={}),Te}F.fromWeb=function(h,f){return y().newStreamReadableFromReadableStream(h,f)},F.toWeb=function(h,f){return y().newReadableStreamFromStreamReadable(h,f)},F.wrap=function(h,f){var m,w;return new F({objectMode:(m=(w=h.readableObjectMode)!==null&&w!==void 0?w:h.objectMode)!==null&&m!==void 0?m:!0,...f,destroy(v,C){I.destroyer(h,v),C(v)}}).wrap(h)}}),Zb=Oe((e,t)=>{we(),Ee(),ve();var r=Ui(),{ArrayPrototypeSlice:n,Error:o,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:s,ObjectDefineProperties:a,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:u,Symbol:c,SymbolHasInstance:d}=pt();t.exports=se,se.WritableState=re;var{EventEmitter:p}=(Ho(),ze(Fi)),g=Qd().Stream,{Buffer:_}=(St(),ze(Et)),b=Wo(),{addAbortSignal:x}=tu(),{getHighWaterMark:k,getDefaultHighWaterMark:R}=Xd(),{ERR_INVALID_ARG_TYPE:A,ERR_METHOD_NOT_IMPLEMENTED:B,ERR_MULTIPLE_CALLBACK:$,ERR_STREAM_CANNOT_PIPE:I,ERR_STREAM_DESTROYED:P,ERR_STREAM_ALREADY_FINISHED:W,ERR_STREAM_NULL_VALUES:Y,ERR_STREAM_WRITE_AFTER_END:oe,ERR_UNKNOWN_ENCODING:te}=Ht().codes,{errorOrDestroy:M}=b;l(se.prototype,g.prototype),l(se,g);function L(){}var ie=c("kOnFinished");function re(S,O,N){typeof N!="boolean"&&(N=O instanceof un()),this.objectMode=!!(S&&S.objectMode),N&&(this.objectMode=this.objectMode||!!(S&&S.writableObjectMode)),this.highWaterMark=S?k(this,S,"writableHighWaterMark",N):R(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let ee=!!(S&&S.decodeStrings===!1);this.decodeStrings=!ee,this.defaultEncoding=S&&S.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=F.bind(void 0,O),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ae(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!S||S.emitClose!==!1,this.autoDestroy=!S||S.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[ie]=[]}function ae(S){S.buffered=[],S.bufferedIndex=0,S.allBuffers=!0,S.allNoop=!0}re.prototype.getBuffer=function(){return n(this.buffered,this.bufferedIndex)},s(re.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function se(S){let O=this instanceof un();if(!O&&!i(se,this))return new se(S);this._writableState=new re(S,this,O),S&&(typeof S.write=="function"&&(this._write=S.write),typeof S.writev=="function"&&(this._writev=S.writev),typeof S.destroy=="function"&&(this._destroy=S.destroy),typeof S.final=="function"&&(this._final=S.final),typeof S.construct=="function"&&(this._construct=S.construct),S.signal&&x(S.signal,this)),g.call(this,S),b.construct(this,()=>{let N=this._writableState;N.writing||ye(this,N),ue(this,N)})}s(se,d,{__proto__:null,value:function(S){return i(this,S)?!0:this!==se?!1:S&&S._writableState instanceof re}}),se.prototype.pipe=function(){M(this,new I)};function Q(S,O,N,ee){let J=S._writableState;if(typeof N=="function")ee=N,N=J.defaultEncoding;else{if(!N)N=J.defaultEncoding;else if(N!=="buffer"&&!_.isEncoding(N))throw new te(N);typeof ee!="function"&&(ee=L)}if(O===null)throw new Y;if(!J.objectMode)if(typeof O=="string")J.decodeStrings!==!1&&(O=_.from(O,N),N="buffer");else if(O instanceof _)N="buffer";else if(g._isUint8Array(O))O=g._uint8ArrayToBuffer(O),N="buffer";else throw new A("chunk",["string","Buffer","Uint8Array"],O);let D;return J.ending?D=new oe:J.destroyed&&(D=new P("write")),D?(r.nextTick(ee,D),M(S,D,!0),D):(J.pendingcb++,he(S,J,O,N,ee))}se.prototype.write=function(S,O,N){return Q(this,S,O,N)===!0},se.prototype.cork=function(){this._writableState.corked++},se.prototype.uncork=function(){let S=this._writableState;S.corked&&(S.corked--,S.writing||ye(this,S))},se.prototype.setDefaultEncoding=function(S){if(typeof S=="string"&&(S=u(S)),!_.isEncoding(S))throw new te(S);return this._writableState.defaultEncoding=S,this};function he(S,O,N,ee,J){let D=O.objectMode?1:N.length;O.length+=D;let K=O.lengthN.bufferedIndex&&ye(S,N),ee?N.afterWriteTickInfo!==null&&N.afterWriteTickInfo.cb===J?N.afterWriteTickInfo.count++:(N.afterWriteTickInfo={count:1,cb:J,stream:S,state:N},r.nextTick(ne,N.afterWriteTickInfo)):ge(S,N,1,J))}function ne({stream:S,state:O,count:N,cb:ee}){return O.afterWriteTickInfo=null,ge(S,O,N,ee)}function ge(S,O,N,ee){for(!O.ending&&!S.destroyed&&O.length===0&&O.needDrain&&(O.needDrain=!1,S.emit("drain"));N-- >0;)O.pendingcb--,ee();O.destroyed&&Se(O),ue(S,O)}function Se(S){if(S.writing)return;for(let J=S.bufferedIndex;J1&&S._writev){O.pendingcb-=D-1;let z=O.allNoop?L:be=>{for(let Te=K;Te256?(N.splice(0,K),O.bufferedIndex=0):O.bufferedIndex=K}O.bufferProcessing=!1}se.prototype._write=function(S,O,N){if(this._writev)this._writev([{chunk:S,encoding:O}],N);else throw new B("_write()")},se.prototype._writev=null,se.prototype.end=function(S,O,N){let ee=this._writableState;typeof S=="function"?(N=S,S=null,O=null):typeof O=="function"&&(N=O,O=null);let J;if(S!=null){let D=Q(this,S,O);D instanceof o&&(J=D)}return ee.corked&&(ee.corked=1,this.uncork()),J||(!ee.errored&&!ee.ending?(ee.ending=!0,ue(this,ee,!0),ee.ended=!0):ee.finished?J=new W("end"):ee.destroyed&&(J=new P("end"))),typeof N=="function"&&(J||ee.finished?r.nextTick(N,J):ee[ie].push(N)),this};function V(S){return S.ending&&!S.destroyed&&S.constructed&&S.length===0&&!S.errored&&S.buffered.length===0&&!S.finished&&!S.writing&&!S.errorEmitted&&!S.closeEmitted}function j(S,O){let N=!1;function ee(J){if(N){M(S,J??$());return}if(N=!0,O.pendingcb--,J){let D=O[ie].splice(0);for(let K=0;K{V(J)?le(ee,J):J.pendingcb--},S,O)):V(O)&&(O.pendingcb++,le(S,O))))}function le(S,O){O.pendingcb--,O.finished=!0;let N=O[ie].splice(0);for(let ee=0;ee{we(),Ee(),ve();var r=Ui(),n=(St(),ze(Et)),{isReadable:o,isWritable:i,isIterable:s,isNodeStream:a,isReadableNodeStream:l,isWritableNodeStream:u,isDuplexNodeStream:c}=_n(),d=Kn(),{AbortError:p,codes:{ERR_INVALID_ARG_TYPE:g,ERR_INVALID_RETURN_VALUE:_}}=Ht(),{destroyer:b}=Wo(),x=un(),k=nu(),{createDeferredPromise:R}=ln(),A=Jb(),B=globalThis.Blob||n.Blob,$=typeof B<"u"?function(te){return te instanceof B}:function(te){return!1},I=globalThis.AbortController||Gd().AbortController,{FunctionPrototypeCall:P}=pt(),W=class extends x{constructor(te){super(te),(te==null?void 0:te.readable)===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),(te==null?void 0:te.writable)===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};t.exports=function te(M,L){if(c(M))return M;if(l(M))return oe({readable:M});if(u(M))return oe({writable:M});if(a(M))return oe({writable:!1,readable:!1});if(typeof M=="function"){let{value:re,write:ae,final:se,destroy:Q}=Y(M);if(s(re))return A(W,re,{objectMode:!0,write:ae,final:se,destroy:Q});let he=re==null?void 0:re.then;if(typeof he=="function"){let fe,pe=P(he,re,F=>{if(F!=null)throw new _("nully","body",F)},F=>{b(fe,F)});return fe=new W({objectMode:!0,readable:!1,write:ae,final(F){se(async()=>{try{await pe,r.nextTick(F,null)}catch(ne){r.nextTick(F,ne)}})},destroy:Q})}throw new _("Iterable, AsyncIterable or AsyncFunction",L,re)}if($(M))return te(M.arrayBuffer());if(s(M))return A(W,M,{objectMode:!0,writable:!1});if(typeof(M==null?void 0:M.writable)=="object"||typeof(M==null?void 0:M.readable)=="object"){let re=M!=null&&M.readable?l(M==null?void 0:M.readable)?M==null?void 0:M.readable:te(M.readable):void 0,ae=M!=null&&M.writable?u(M==null?void 0:M.writable)?M==null?void 0:M.writable:te(M.writable):void 0;return oe({readable:re,writable:ae})}let ie=M==null?void 0:M.then;if(typeof ie=="function"){let re;return P(ie,M,ae=>{ae!=null&&re.push(ae),re.push(null)},ae=>{b(re,ae)}),re=new W({objectMode:!0,writable:!1,read(){}})}throw new g(L,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],M)};function Y(te){let{promise:M,resolve:L}=R(),ie=new I,re=ie.signal;return{value:te(async function*(){for(;;){let ae=M;M=null;let{chunk:se,done:Q,cb:he}=await ae;if(r.nextTick(he),Q)return;if(re.aborted)throw new p(void 0,{cause:re.reason});({promise:M,resolve:L}=R()),yield se}}(),{signal:re}),write(ae,se,Q){let he=L;L=null,he({chunk:ae,done:!1,cb:Q})},final(ae){let se=L;L=null,se({done:!0,cb:ae})},destroy(ae,se){ie.abort(),se(ae)}}}function oe(te){let M=te.readable&&typeof te.readable.read!="function"?k.wrap(te.readable):te.readable,L=te.writable,ie=!!o(M),re=!!i(L),ae,se,Q,he,fe;function pe(F){let ne=he;he=null,ne?ne(F):F&&fe.destroy(F)}return fe=new W({readableObjectMode:!!(M!=null&&M.readableObjectMode),writableObjectMode:!!(L!=null&&L.writableObjectMode),readable:ie,writable:re}),re&&(d(L,F=>{re=!1,F&&b(M,F),pe(F)}),fe._write=function(F,ne,ge){L.write(F,ne)?ge():ae=ge},fe._final=function(F){L.end(),se=F},L.on("drain",function(){if(ae){let F=ae;ae=null,F()}}),L.on("finish",function(){if(se){let F=se;se=null,F()}})),ie&&(d(M,F=>{ie=!1,F&&b(M,F),pe(F)}),M.on("readable",function(){if(Q){let F=Q;Q=null,F()}}),M.on("end",function(){fe.push(null)}),fe._read=function(){for(;;){let F=M.read();if(F===null){Q=fe._read;return}if(!fe.push(F))return}}),fe._destroy=function(F,ne){!F&&he!==null&&(F=new p),Q=null,ae=null,se=null,he===null?ne(F):(he=ne,b(L,F),b(M,F))},fe}}),un=Oe((e,t)=>{we(),Ee(),ve();var{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:n,ObjectKeys:o,ObjectSetPrototypeOf:i}=pt();t.exports=l;var s=nu(),a=Zb();i(l.prototype,s.prototype),i(l,s);{let p=o(a.prototype);for(let g=0;g{we(),Ee(),ve();var{ObjectSetPrototypeOf:r,Symbol:n}=pt();t.exports=l;var{ERR_METHOD_NOT_IMPLEMENTED:o}=Ht().codes,i=un(),{getHighWaterMark:s}=Xd();r(l.prototype,i.prototype),r(l,i);var a=n("kCallback");function l(d){if(!(this instanceof l))return new l(d);let p=d?s(this,d,"readableHighWaterMark",!0):null;p===0&&(d={...d,highWaterMark:null,readableHighWaterMark:p,writableHighWaterMark:d.writableHighWaterMark||0}),i.call(this,d),this._readableState.sync=!1,this[a]=null,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",c)}function u(d){typeof this._flush=="function"&&!this.destroyed?this._flush((p,g)=>{if(p){d?d(p):this.destroy(p);return}g!=null&&this.push(g),this.push(null),d&&d()}):(this.push(null),d&&d())}function c(){this._final!==u&&u.call(this)}l.prototype._final=u,l.prototype._transform=function(d,p,g){throw new o("_transform()")},l.prototype._write=function(d,p,g){let _=this._readableState,b=this._writableState,x=_.length;this._transform(d,p,(k,R)=>{if(k){g(k);return}R!=null&&this.push(R),b.ended||x===_.length||_.length<_.highWaterMark?g():this[a]=g})},l.prototype._read=function(){if(this[a]){let d=this[a];this[a]=null,d()}}}),tw=Oe((e,t)=>{we(),Ee(),ve();var{ObjectSetPrototypeOf:r}=pt();t.exports=o;var n=ew();r(o.prototype,n.prototype),r(o,n);function o(i){if(!(this instanceof o))return new o(i);n.call(this,i)}o.prototype._transform=function(i,s,a){a(null,i)}}),ep=Oe((e,t)=>{we(),Ee(),ve();var r=Ui(),{ArrayIsArray:n,Promise:o,SymbolAsyncIterator:i}=pt(),s=Kn(),{once:a}=ln(),l=Wo(),u=un(),{aggregateTwoErrors:c,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:p,ERR_MISSING_ARGS:g,ERR_STREAM_DESTROYED:_,ERR_STREAM_PREMATURE_CLOSE:b},AbortError:x}=Ht(),{validateFunction:k,validateAbortSignal:R}=eu(),{isIterable:A,isReadable:B,isReadableNodeStream:$,isNodeStream:I,isTransformStream:P,isWebStream:W,isReadableStream:Y,isReadableEnded:oe}=_n(),te=globalThis.AbortController||Gd().AbortController,M,L;function ie(ne,ge,Se){let ye=!1;ne.on("close",()=>{ye=!0});let V=s(ne,{readable:ge,writable:Se},j=>{ye=!j});return{destroy:j=>{ye||(ye=!0,l.destroyer(ne,j||new _("pipe")))},cleanup:V}}function re(ne){return k(ne[ne.length-1],"streams[stream.length - 1]"),ne.pop()}function ae(ne){if(A(ne))return ne;if($(ne))return se(ne);throw new d("val",["Readable","Iterable","AsyncIterable"],ne)}async function*se(ne){L||(L=nu()),yield*L.prototype[i].call(ne)}async function Q(ne,ge,Se,{end:ye}){let V,j=null,Z=X=>{if(X&&(V=X),j){let E=j;j=null,E()}},ue=()=>new o((X,E)=>{V?E(V):j=()=>{V?E(V):X()}});ge.on("drain",Z);let le=s(ge,{readable:!1},Z);try{ge.writableNeedDrain&&await ue();for await(let X of ne)ge.write(X)||await ue();ye&&ge.end(),await ue(),Se()}catch(X){Se(V!==X?c(V,X):X)}finally{le(),ge.off("drain",Z)}}async function he(ne,ge,Se,{end:ye}){P(ge)&&(ge=ge.writable);let V=ge.getWriter();try{for await(let j of ne)await V.ready,V.write(j).catch(()=>{});await V.ready,ye&&await V.close(),Se()}catch(j){try{await V.abort(j),Se(j)}catch(Z){Se(Z)}}}function fe(...ne){return pe(ne,a(re(ne)))}function pe(ne,ge,Se){if(ne.length===1&&n(ne[0])&&(ne=ne[0]),ne.length<2)throw new g("streams");let ye=new te,V=ye.signal,j=Se==null?void 0:Se.signal,Z=[];R(j,"options.signal");function ue(){O(new x)}j==null||j.addEventListener("abort",ue);let le,X,E=[],T=0;function S(D){O(D,--T===0)}function O(D,K){if(D&&(!le||le.code==="ERR_STREAM_PREMATURE_CLOSE")&&(le=D),!(!le&&!K)){for(;E.length;)E.shift()(le);j==null||j.removeEventListener("abort",ue),ye.abort(),K&&(le||Z.forEach(z=>z()),r.nextTick(ge,le,X))}}let N;for(let D=0;D0,be=z||(Se==null?void 0:Se.end)!==!1,Te=D===ne.length-1;if(I(K)){let y=function(h){h&&h.name!=="AbortError"&&h.code!=="ERR_STREAM_PREMATURE_CLOSE"&&S(h)};if(be){let{destroy:h,cleanup:f}=ie(K,z,ce);E.push(h),B(K)&&Te&&Z.push(f)}K.on("error",y),B(K)&&Te&&Z.push(()=>{K.removeListener("error",y)})}if(D===0)if(typeof K=="function"){if(N=K({signal:V}),!A(N))throw new p("Iterable, AsyncIterable or Stream","source",N)}else A(K)||$(K)||P(K)?N=K:N=u.from(K);else if(typeof K=="function"){if(P(N)){var ee;N=ae((ee=N)===null||ee===void 0?void 0:ee.readable)}else N=ae(N);if(N=K(N,{signal:V}),z){if(!A(N,!0))throw new p("AsyncIterable",`transform[${D-1}]`,N)}else{var J;M||(M=tw());let y=new M({objectMode:!0}),h=(J=N)===null||J===void 0?void 0:J.then;if(typeof h=="function")T++,h.call(N,w=>{X=w,w!=null&&y.write(w),be&&y.end(),r.nextTick(S)},w=>{y.destroy(w),r.nextTick(S,w)});else if(A(N,!0))T++,Q(N,y,S,{end:be});else if(Y(N)||P(N)){let w=N.readable||N;T++,Q(w,y,S,{end:be})}else throw new p("AsyncIterable or Promise","destination",N);N=y;let{destroy:f,cleanup:m}=ie(N,!1,!0);E.push(f),Te&&Z.push(m)}}else if(I(K)){if($(N)){T+=2;let y=F(N,K,S,{end:be});B(K)&&Te&&Z.push(y)}else if(P(N)||Y(N)){let y=N.readable||N;T++,Q(y,K,S,{end:be})}else if(A(N))T++,Q(N,K,S,{end:be});else throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N);N=K}else if(W(K)){if($(N))T++,he(ae(N),K,S,{end:be});else if(Y(N)||A(N))T++,he(N,K,S,{end:be});else if(P(N))T++,he(N.readable,K,S,{end:be});else throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N);N=K}else N=u.from(K)}return(V!=null&&V.aborted||j!=null&&j.aborted)&&r.nextTick(ue),N}function F(ne,ge,Se,{end:ye}){let V=!1;if(ge.on("close",()=>{V||Se(new b)}),ne.pipe(ge,{end:!1}),ye){let j=function(){V=!0,ge.end()};oe(ne)?r.nextTick(j):ne.once("end",j)}else Se();return s(ne,{readable:!0,writable:!1},j=>{let Z=ne._readableState;j&&j.code==="ERR_STREAM_PREMATURE_CLOSE"&&Z&&Z.ended&&!Z.errored&&!Z.errorEmitted?ne.once("end",Se).once("error",Se):Se(j)}),s(ge,{readable:!1,writable:!0},Se)}t.exports={pipelineImpl:pe,pipeline:fe}}),rw=Oe((e,t)=>{we(),Ee(),ve();var{pipeline:r}=ep(),n=un(),{destroyer:o}=Wo(),{isNodeStream:i,isReadable:s,isWritable:a,isWebStream:l,isTransformStream:u,isWritableStream:c,isReadableStream:d}=_n(),{AbortError:p,codes:{ERR_INVALID_ARG_VALUE:g,ERR_MISSING_ARGS:_}}=Ht(),b=Kn();t.exports=function(...x){if(x.length===0)throw new _("streams");if(x.length===1)return n.from(x[0]);let k=[...x];if(typeof x[0]=="function"&&(x[0]=n.from(x[0])),typeof x[x.length-1]=="function"){let M=x.length-1;x[M]=n.from(x[M])}for(let M=0;M0&&!(a(x[M])||c(x[M])||u(x[M])))throw new g(`streams[${M}]`,k[M],"must be writable")}let R,A,B,$,I;function P(M){let L=$;$=null,L?L(M):M?I.destroy(M):!te&&!oe&&I.destroy()}let W=x[0],Y=r(x,P),oe=!!(a(W)||c(W)||u(W)),te=!!(s(Y)||d(Y)||u(Y));if(I=new n({writableObjectMode:!!(W!=null&&W.writableObjectMode),readableObjectMode:!!(Y!=null&&Y.writableObjectMode),writable:oe,readable:te}),oe){if(i(W))I._write=function(L,ie,re){W.write(L,ie)?re():R=re},I._final=function(L){W.end(),A=L},W.on("drain",function(){if(R){let L=R;R=null,L()}});else if(l(W)){let L=(u(W)?W.writable:W).getWriter();I._write=async function(ie,re,ae){try{await L.ready,L.write(ie).catch(()=>{}),ae()}catch(se){ae(se)}},I._final=async function(ie){try{await L.ready,L.close().catch(()=>{}),A=ie}catch(re){ie(re)}}}let M=u(Y)?Y.readable:Y;b(M,()=>{if(A){let L=A;A=null,L()}})}if(te){if(i(Y))Y.on("readable",function(){if(B){let M=B;B=null,M()}}),Y.on("end",function(){I.push(null)}),I._read=function(){for(;;){let M=Y.read();if(M===null){B=I._read;return}if(!I.push(M))return}};else if(l(Y)){let M=(u(Y)?Y.readable:Y).getReader();I._read=async function(){for(;;)try{let{value:L,done:ie}=await M.read();if(!I.push(L))return;if(ie){I.push(null);return}}catch{return}}}}return I._destroy=function(M,L){!M&&$!==null&&(M=new p),B=null,R=null,A=null,$===null?L(M):($=L,i(Y)&&o(Y,M))},I}}),vO=Oe((e,t)=>{we(),Ee(),ve();var r=globalThis.AbortController||Gd().AbortController,{codes:{ERR_INVALID_ARG_VALUE:n,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:i,ERR_OUT_OF_RANGE:s},AbortError:a}=Ht(),{validateAbortSignal:l,validateInteger:u,validateObject:c}=eu(),d=pt().Symbol("kWeak"),{finished:p}=Kn(),g=rw(),{addAbortSignalNoValidate:_}=tu(),{isWritable:b,isNodeStream:x}=_n(),{ArrayPrototypePush:k,MathFloor:R,Number:A,NumberIsNaN:B,Promise:$,PromiseReject:I,PromisePrototypeThen:P,Symbol:W}=pt(),Y=W("kEmpty"),oe=W("kEof");function te(ye,V){if(V!=null&&c(V,"options"),(V==null?void 0:V.signal)!=null&&l(V.signal,"options.signal"),x(ye)&&!b(ye))throw new n("stream",ye,"must be writable");let j=g(this,ye);return V!=null&&V.signal&&_(V.signal,j),j}function M(ye,V){if(typeof ye!="function")throw new o("fn",["Function","AsyncFunction"],ye);V!=null&&c(V,"options"),(V==null?void 0:V.signal)!=null&&l(V.signal,"options.signal");let j=1;return(V==null?void 0:V.concurrency)!=null&&(j=R(V.concurrency)),u(j,"concurrency",1),(async function*(){var Z,ue;let le=new r,X=this,E=[],T=le.signal,S={signal:T},O=()=>le.abort();V!=null&&(Z=V.signal)!==null&&Z!==void 0&&Z.aborted&&O(),V==null||(ue=V.signal)===null||ue===void 0||ue.addEventListener("abort",O);let N,ee,J=!1;function D(){J=!0}async function K(){try{for await(let be of X){var z;if(J)return;if(T.aborted)throw new a;try{be=ye(be,S)}catch(Te){be=I(Te)}be!==Y&&(typeof((z=be)===null||z===void 0?void 0:z.catch)=="function"&&be.catch(D),E.push(be),N&&(N(),N=null),!J&&E.length&&E.length>=j&&await new $(Te=>{ee=Te}))}E.push(oe)}catch(be){let Te=I(be);P(Te,void 0,D),E.push(Te)}finally{var ce;J=!0,N&&(N(),N=null),V==null||(ce=V.signal)===null||ce===void 0||ce.removeEventListener("abort",O)}}K();try{for(;;){for(;E.length>0;){let z=await E[0];if(z===oe)return;if(T.aborted)throw new a;z!==Y&&(yield z),E.shift(),ee&&(ee(),ee=null)}await new $(z=>{N=z})}}finally{le.abort(),J=!0,ee&&(ee(),ee=null)}}).call(this)}function L(ye=void 0){return ye!=null&&c(ye,"options"),(ye==null?void 0:ye.signal)!=null&&l(ye.signal,"options.signal"),(async function*(){let V=0;for await(let Z of this){var j;if(ye!=null&&(j=ye.signal)!==null&&j!==void 0&&j.aborted)throw new a({cause:ye.signal.reason});yield[V++,Z]}}).call(this)}async function ie(ye,V=void 0){for await(let j of Q.call(this,ye,V))return!0;return!1}async function re(ye,V=void 0){if(typeof ye!="function")throw new o("fn",["Function","AsyncFunction"],ye);return!await ie.call(this,async(...j)=>!await ye(...j),V)}async function ae(ye,V){for await(let j of Q.call(this,ye,V))return j}async function se(ye,V){if(typeof ye!="function")throw new o("fn",["Function","AsyncFunction"],ye);async function j(Z,ue){return await ye(Z,ue),Y}for await(let Z of M.call(this,j,V));}function Q(ye,V){if(typeof ye!="function")throw new o("fn",["Function","AsyncFunction"],ye);async function j(Z,ue){return await ye(Z,ue)?Z:Y}return M.call(this,j,V)}var he=class extends i{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function fe(ye,V,j){var Z;if(typeof ye!="function")throw new o("reducer",["Function","AsyncFunction"],ye);j!=null&&c(j,"options"),(j==null?void 0:j.signal)!=null&&l(j.signal,"options.signal");let ue=arguments.length>1;if(j!=null&&(Z=j.signal)!==null&&Z!==void 0&&Z.aborted){let S=new a(void 0,{cause:j.signal.reason});throw this.once("error",()=>{}),await p(this.destroy(S)),S}let le=new r,X=le.signal;if(j!=null&&j.signal){let S={once:!0,[d]:this};j.signal.addEventListener("abort",()=>le.abort(),S)}let E=!1;try{for await(let S of this){var T;if(E=!0,j!=null&&(T=j.signal)!==null&&T!==void 0&&T.aborted)throw new a;ue?V=await ye(V,S,{signal:X}):(V=S,ue=!0)}if(!E&&!ue)throw new he}finally{le.abort()}return V}async function pe(ye){ye!=null&&c(ye,"options"),(ye==null?void 0:ye.signal)!=null&&l(ye.signal,"options.signal");let V=[];for await(let Z of this){var j;if(ye!=null&&(j=ye.signal)!==null&&j!==void 0&&j.aborted)throw new a(void 0,{cause:ye.signal.reason});k(V,Z)}return V}function F(ye,V){let j=M.call(this,ye,V);return(async function*(){for await(let Z of j)yield*Z}).call(this)}function ne(ye){if(ye=A(ye),B(ye))return 0;if(ye<0)throw new s("number",">= 0",ye);return ye}function ge(ye,V=void 0){return V!=null&&c(V,"options"),(V==null?void 0:V.signal)!=null&&l(V.signal,"options.signal"),ye=ne(ye),(async function*(){var j;if(V!=null&&(j=V.signal)!==null&&j!==void 0&&j.aborted)throw new a;for await(let ue of this){var Z;if(V!=null&&(Z=V.signal)!==null&&Z!==void 0&&Z.aborted)throw new a;ye--<=0&&(yield ue)}}).call(this)}function Se(ye,V=void 0){return V!=null&&c(V,"options"),(V==null?void 0:V.signal)!=null&&l(V.signal,"options.signal"),ye=ne(ye),(async function*(){var j;if(V!=null&&(j=V.signal)!==null&&j!==void 0&&j.aborted)throw new a;for await(let ue of this){var Z;if(V!=null&&(Z=V.signal)!==null&&Z!==void 0&&Z.aborted)throw new a;if(ye-- >0)yield ue;else return}}).call(this)}t.exports.streamReturningOperators={asIndexedPairs:L,drop:ge,filter:Q,flatMap:F,map:M,take:Se,compose:te},t.exports.promiseReturningOperators={every:re,forEach:se,reduce:fe,toArray:pe,some:ie,find:ae}}),nw=Oe((e,t)=>{we(),Ee(),ve();var{ArrayPrototypePop:r,Promise:n}=pt(),{isIterable:o,isNodeStream:i,isWebStream:s}=_n(),{pipelineImpl:a}=ep(),{finished:l}=Kn();iw();function u(...c){return new n((d,p)=>{let g,_,b=c[c.length-1];if(b&&typeof b=="object"&&!i(b)&&!o(b)&&!s(b)){let x=r(c);g=x.signal,_=x.end}a(c,(x,k)=>{x?p(x):d(k)},{signal:g,end:_})})}t.exports={finished:l,pipeline:u}}),iw=Oe((e,t)=>{we(),Ee(),ve();var{Buffer:r}=(St(),ze(Et)),{ObjectDefineProperty:n,ObjectKeys:o,ReflectApply:i}=pt(),{promisify:{custom:s}}=ln(),{streamReturningOperators:a,promiseReturningOperators:l}=vO(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:u}}=Ht(),c=rw(),{pipeline:d}=ep(),{destroyer:p}=Wo(),g=Kn(),_=nw(),b=_n(),x=t.exports=Qd().Stream;x.isDisturbed=b.isDisturbed,x.isErrored=b.isErrored,x.isReadable=b.isReadable,x.Readable=nu();for(let R of o(a)){let A=function(...$){if(new.target)throw u();return x.Readable.from(i(B,this,$))},B=a[R];n(A,"name",{__proto__:null,value:B.name}),n(A,"length",{__proto__:null,value:B.length}),n(x.Readable.prototype,R,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}for(let R of o(l)){let A=function(...$){if(new.target)throw u();return i(B,this,$)},B=l[R];n(A,"name",{__proto__:null,value:B.name}),n(A,"length",{__proto__:null,value:B.length}),n(x.Readable.prototype,R,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}x.Writable=Zb(),x.Duplex=un(),x.Transform=ew(),x.PassThrough=tw(),x.pipeline=d;var{addAbortSignal:k}=tu();x.addAbortSignal=k,x.finished=g,x.destroy=p,x.compose=c,n(x,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return _}}),n(d,s,{__proto__:null,enumerable:!0,get(){return _.pipeline}}),n(g,s,{__proto__:null,enumerable:!0,get(){return _.finished}}),x.Stream=x,x._isUint8Array=function(R){return R instanceof Uint8Array},x._uint8ArrayToBuffer=function(R){return r.from(R.buffer,R.byteOffset,R.byteLength)}}),ji=Oe((e,t)=>{we(),Ee(),ve();var r=iw(),n=nw(),o=r.Readable.destroy;t.exports=r.Readable,t.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,t.exports._isUint8Array=r._isUint8Array,t.exports.isDisturbed=r.isDisturbed,t.exports.isErrored=r.isErrored,t.exports.isReadable=r.isReadable,t.exports.Readable=r.Readable,t.exports.Writable=r.Writable,t.exports.Duplex=r.Duplex,t.exports.Transform=r.Transform,t.exports.PassThrough=r.PassThrough,t.exports.addAbortSignal=r.addAbortSignal,t.exports.finished=r.finished,t.exports.destroy=r.destroy,t.exports.destroy=o,t.exports.pipeline=r.pipeline,t.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return n}}),t.exports.Stream=r.Stream,t.exports.default=t.exports}),EO=Oe((e,t)=>{we(),Ee(),ve(),typeof Object.create=="function"?t.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,n){if(n){r.super_=n;var o=function(){};o.prototype=n.prototype,r.prototype=new o,r.prototype.constructor=r}}}),SO=Oe((e,t)=>{we(),Ee(),ve();var{Buffer:r}=(St(),ze(Et)),n=Symbol.for("BufferList");function o(i){if(!(this instanceof o))return new o(i);o._init.call(this,i)}o._init=function(i){Object.defineProperty(this,n,{value:!0}),this._bufs=[],this.length=0,i&&this.append(i)},o.prototype._new=function(i){return new o(i)},o.prototype._offset=function(i){if(i===0)return[0,0];let s=0;for(let a=0;athis.length||i<0)return;let s=this._offset(i);return this._bufs[s[0]][s[1]]},o.prototype.slice=function(i,s){return typeof i=="number"&&i<0&&(i+=this.length),typeof s=="number"&&s<0&&(s+=this.length),this.copy(null,0,i,s)},o.prototype.copy=function(i,s,a,l){if((typeof a!="number"||a<0)&&(a=0),(typeof l!="number"||l>this.length)&&(l=this.length),a>=this.length||l<=0)return i||r.alloc(0);let u=!!i,c=this._offset(a),d=l-a,p=d,g=u&&s||0,_=c[1];if(a===0&&l===this.length){if(!u)return this._bufs.length===1?this._bufs[0]:r.concat(this._bufs,this.length);for(let b=0;bx)this._bufs[b].copy(i,g,_),g+=x;else{this._bufs[b].copy(i,g,_,_+p),g+=x;break}p-=x,_&&(_=0)}return i.length>g?i.slice(0,g):i},o.prototype.shallowSlice=function(i,s){if(i=i||0,s=typeof s!="number"?this.length:s,i<0&&(i+=this.length),s<0&&(s+=this.length),i===s)return this._new();let a=this._offset(i),l=this._offset(s),u=this._bufs.slice(a[0],l[0]+1);return l[1]===0?u.pop():u[u.length-1]=u[u.length-1].slice(0,l[1]),a[1]!==0&&(u[0]=u[0].slice(a[1])),this._new(u)},o.prototype.toString=function(i,s,a){return this.slice(s,a).toString(i)},o.prototype.consume=function(i){if(i=Math.trunc(i),Number.isNaN(i)||i<=0)return this;for(;this._bufs.length;)if(i>=this._bufs[0].length)i-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(i),this.length-=i;break}return this},o.prototype.duplicate=function(){let i=this._new();for(let s=0;sthis.length?this.length:s;let l=this._offset(s),u=l[0],c=l[1];for(;u=i.length){let p=d.indexOf(i,c);if(p!==-1)return this._reverseOffset([u,p]);c=d.length-i.length+1}else{let p=this._reverseOffset([u,c]);if(this._match(p,i))return p;c++}c=0}return-1},o.prototype._match=function(i,s){if(this.length-i{we(),Ee(),ve();var r=ji().Duplex,n=EO(),o=SO();function i(s){if(!(this instanceof i))return new i(s);if(typeof s=="function"){this._callback=s;let a=(function(l){this._callback&&(this._callback(l),this._callback=null)}).bind(this);this.on("pipe",function(l){l.on("error",a)}),this.on("unpipe",function(l){l.removeListener("error",a)}),s=null}o._init.call(this,s),r.call(this)}n(i,r),Object.assign(i.prototype,o.prototype),i.prototype._new=function(s){return new i(s)},i.prototype._write=function(s,a,l){this._appendBuffer(s),typeof l=="function"&&l()},i.prototype._read=function(s){if(!this.length)return this.push(null);s=Math.min(s,this.length),this.push(this.slice(0,s)),this.consume(s)},i.prototype.end=function(s){r.prototype.end.call(this,s),this._callback&&(this._callback(null,this.slice()),this._callback=null)},i.prototype._destroy=function(s,a){this._bufs.length=0,this.length=0,a(s)},i.prototype._isBufferList=function(s){return s instanceof i||s instanceof o||i.isBufferList(s)},i.isBufferList=o.isBufferList,t.exports=i,t.exports.BufferListStream=i,t.exports.BufferList=o}),TO=Oe((e,t)=>{we(),Ee(),ve();var r=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}};t.exports=r}),ow=Oe((e,t)=>{we(),Ee(),ve();var r=t.exports,{Buffer:n}=(St(),ze(Et));r.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},r.requiredHeaderFlags={1:0,2:0,4:0,5:0,6:2,7:0,8:2,9:0,10:2,11:0,12:0,13:0,14:0,15:0},r.requiredHeaderFlagsErrors={};for(let i in r.requiredHeaderFlags){let s=r.requiredHeaderFlags[i];r.requiredHeaderFlagsErrors[i]="Invalid header flag bits, must be 0x"+s.toString(16)+" for "+r.types[i]+" packet"}r.codes={};for(let i in r.types){let s=r.types[i];r.codes[s]=i}r.CMD_SHIFT=4,r.CMD_MASK=240,r.DUP_MASK=8,r.QOS_MASK=3,r.QOS_SHIFT=1,r.RETAIN_MASK=1,r.VARBYTEINT_MASK=127,r.VARBYTEINT_FIN_MASK=128,r.VARBYTEINT_MAX=268435455,r.SESSIONPRESENT_MASK=1,r.SESSIONPRESENT_HEADER=n.from([r.SESSIONPRESENT_MASK]),r.CONNACK_HEADER=n.from([r.codes.connack<[0,1].map(a=>[0,1].map(l=>{let u=n.alloc(1);return u.writeUInt8(r.codes[i]<n.from([i])),r.EMPTY={pingreq:n.from([r.codes.pingreq<<4,0]),pingresp:n.from([r.codes.pingresp<<4,0]),disconnect:n.from([r.codes.disconnect<<4,0])},r.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},r.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},r.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},r.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}}),xO=Oe((e,t)=>{we(),Ee(),ve();var r=1e3,n=r*60,o=n*60,i=o*24,s=i*7,a=i*365.25;t.exports=function(p,g){g=g||{};var _=typeof p;if(_==="string"&&p.length>0)return l(p);if(_==="number"&&isFinite(p))return g.long?c(p):u(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function l(p){if(p=String(p),!(p.length>100)){var g=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(g){var _=parseFloat(g[1]),b=(g[2]||"ms").toLowerCase();switch(b){case"years":case"year":case"yrs":case"yr":case"y":return _*a;case"weeks":case"week":case"w":return _*s;case"days":case"day":case"d":return _*i;case"hours":case"hour":case"hrs":case"hr":case"h":return _*o;case"minutes":case"minute":case"mins":case"min":case"m":return _*n;case"seconds":case"second":case"secs":case"sec":case"s":return _*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return _;default:return}}}}function u(p){var g=Math.abs(p);return g>=i?Math.round(p/i)+"d":g>=o?Math.round(p/o)+"h":g>=n?Math.round(p/n)+"m":g>=r?Math.round(p/r)+"s":p+"ms"}function c(p){var g=Math.abs(p);return g>=i?d(p,g,i,"day"):g>=o?d(p,g,o,"hour"):g>=n?d(p,g,n,"minute"):g>=r?d(p,g,r,"second"):p+" ms"}function d(p,g,_,b){var x=g>=_*1.5;return Math.round(p/_)+" "+b+(x?"s":"")}}),IO=Oe((e,t)=>{we(),Ee(),ve();function r(n){i.debug=i,i.default=i,i.coerce=d,i.disable=l,i.enable=a,i.enabled=u,i.humanize=xO(),i.destroy=p,Object.keys(n).forEach(g=>{i[g]=n[g]}),i.names=[],i.skips=[],i.formatters={};function o(g){let _=0;for(let b=0;b{if(W==="%%")return"%";P++;let oe=i.formatters[Y];if(typeof oe=="function"){let te=A[P];W=oe.call(B,te),A.splice(P,1),P--}return W}),i.formatArgs.call(B,A),(B.log||i.log).apply(B,A)}return R.namespace=g,R.useColors=i.useColors(),R.color=i.selectColor(g),R.extend=s,R.destroy=i.destroy,Object.defineProperty(R,"enabled",{enumerable:!0,configurable:!1,get:()=>b!==null?b:(x!==i.namespaces&&(x=i.namespaces,k=i.enabled(g)),k),set:A=>{b=A}}),typeof i.init=="function"&&i.init(R),R}function s(g,_){let b=i(this.namespace+(typeof _>"u"?":":_)+g);return b.log=this.log,b}function a(g){i.save(g),i.namespaces=g,i.names=[],i.skips=[];let _,b=(typeof g=="string"?g:"").split(/[\s,]+/),x=b.length;for(_=0;_"-"+_)].join(",");return i.enable(""),g}function u(g){if(g[g.length-1]==="*")return!0;let _,b;for(_=0,b=i.skips.length;_{we(),Ee(),ve(),e.formatArgs=n,e.save=o,e.load=i,e.useColors=r,e.storage=s(),e.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,d=0;l[0].replace(/%[a-zA-Z%]/g,p=>{p!=="%%"&&(c++,p==="%c"&&(d=c))}),l.splice(d,0,u)}e.log=console.debug||console.log||(()=>{});function o(l){try{l?e.storage.setItem("debug",l):e.storage.removeItem("debug")}catch{}}function i(){let l;try{l=e.storage.getItem("debug")}catch{}return!l&&typeof Ve<"u"&&"env"in Ve&&(l=Ve.env.DEBUG),l}function s(){try{return localStorage}catch{}}t.exports=IO()(e);var{formatters:a}=t.exports;a.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}),CO=Oe((e,t)=>{we(),Ee(),ve();var r=AO(),{EventEmitter:n}=(Ho(),ze(Fi)),o=TO(),i=ow(),s=cn()("mqtt-packet:parser"),a=class bh extends n{constructor(){super(),this.parser=this.constructor.parser}static parser(u){return this instanceof bh?(this.settings=u||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):new bh().parser(u)}_resetState(){s("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new o,this.error=null,this._list=r(),this._stateCounter=0}parse(u){for(this.error&&this._resetState(),this._list.append(u),s("parse: current state: %s",this._states[this._stateCounter]);(this.packet.length!==-1||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,s("parse: state complete. _stateCounter is now: %d",this._stateCounter),s("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return s("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){let u=this._list.readUInt8(0),c=u>>i.CMD_SHIFT;this.packet.cmd=i.types[c];let d=u&15,p=i.requiredHeaderFlags[c];return p!=null&&d!==p?this._emitError(new Error(i.requiredHeaderFlagsErrors[c])):(this.packet.retain=(u&i.RETAIN_MASK)!==0,this.packet.qos=u>>i.QOS_SHIFT&i.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=(u&i.DUP_MASK)!==0,s("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){let u=this._parseVarByteNum(!0);return u&&(this.packet.length=u.value,this._list.consume(u.bytes)),s("_parseLength %d",u.value),!!u}_parsePayload(){s("_parsePayload: payload %O",this._list);let u=!1;if(this.packet.length===0||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}u=!0}return s("_parsePayload complete result: %s",u),u}_parseConnect(){s("_parseConnect");let u,c,d,p,g={},_=this.packet,b=this._parseString();if(b===null)return this._emitError(new Error("Cannot parse protocolId"));if(b!=="MQTT"&&b!=="MQIsdp")return this._emitError(new Error("Invalid protocolId"));if(_.protocolId=b,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(_.protocolVersion=this._list.readUInt8(this._pos),_.protocolVersion>=128&&(_.bridgeMode=!0,_.protocolVersion=_.protocolVersion-128),_.protocolVersion!==3&&_.protocolVersion!==4&&_.protocolVersion!==5)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(this._list.readUInt8(this._pos)&1)return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));g.username=this._list.readUInt8(this._pos)&i.USERNAME_MASK,g.password=this._list.readUInt8(this._pos)&i.PASSWORD_MASK,g.will=this._list.readUInt8(this._pos)&i.WILL_FLAG_MASK;let x=!!(this._list.readUInt8(this._pos)&i.WILL_RETAIN_MASK),k=(this._list.readUInt8(this._pos)&i.WILL_QOS_MASK)>>i.WILL_QOS_SHIFT;if(g.will)_.will={},_.will.retain=x,_.will.qos=k;else{if(x)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(k)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(_.clean=(this._list.readUInt8(this._pos)&i.CLEAN_SESSION_MASK)!==0,this._pos++,_.keepalive=this._parseNum(),_.keepalive===-1)return this._emitError(new Error("Packet too short"));if(_.protocolVersion===5){let A=this._parseProperties();Object.getOwnPropertyNames(A).length&&(_.properties=A)}let R=this._parseString();if(R===null)return this._emitError(new Error("Packet too short"));if(_.clientId=R,s("_parseConnect: packet.clientId: %s",_.clientId),g.will){if(_.protocolVersion===5){let A=this._parseProperties();Object.getOwnPropertyNames(A).length&&(_.will.properties=A)}if(u=this._parseString(),u===null)return this._emitError(new Error("Cannot parse will topic"));if(_.will.topic=u,s("_parseConnect: packet.will.topic: %s",_.will.topic),c=this._parseBuffer(),c===null)return this._emitError(new Error("Cannot parse will payload"));_.will.payload=c,s("_parseConnect: packet.will.paylaod: %s",_.will.payload)}if(g.username){if(p=this._parseString(),p===null)return this._emitError(new Error("Cannot parse username"));_.username=p,s("_parseConnect: packet.username: %s",_.username)}if(g.password){if(d=this._parseBuffer(),d===null)return this._emitError(new Error("Cannot parse password"));_.password=d}return this.settings=_,s("_parseConnect: complete"),_}_parseConnack(){s("_parseConnack");let u=this.packet;if(this._list.length<1)return null;let c=this._list.readUInt8(this._pos++);if(c>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(u.sessionPresent=!!(c&i.SESSIONPRESENT_MASK),this.settings.protocolVersion===5)this._list.length>=2?u.reasonCode=this._list.readUInt8(this._pos++):u.reasonCode=0;else{if(this._list.length<2)return null;u.returnCode=this._list.readUInt8(this._pos++)}if(u.returnCode===-1||u.reasonCode===-1)return this._emitError(new Error("Cannot parse return code"));if(this.settings.protocolVersion===5){let d=this._parseProperties();Object.getOwnPropertyNames(d).length&&(u.properties=d)}s("_parseConnack: complete")}_parsePublish(){s("_parsePublish");let u=this.packet;if(u.topic=this._parseString(),u.topic===null)return this._emitError(new Error("Cannot parse topic"));if(!(u.qos>0&&!this._parseMessageId())){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}u.payload=this._list.slice(this._pos,u.length),s("_parsePublish: payload from buffer list: %o",u.payload)}}_parseSubscribe(){s("_parseSubscribe");let u=this.packet,c,d,p,g,_,b,x;if(u.subscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let k=this._parseProperties();Object.getOwnPropertyNames(k).length&&(u.properties=k)}if(u.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos=u.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(d=this._parseByte(),this.settings.protocolVersion===5){if(d&192)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(d&252)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(p=d&i.SUBSCRIBE_OPTIONS_QOS_MASK,p>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(b=(d>>i.SUBSCRIBE_OPTIONS_NL_SHIFT&i.SUBSCRIBE_OPTIONS_NL_MASK)!==0,_=(d>>i.SUBSCRIBE_OPTIONS_RAP_SHIFT&i.SUBSCRIBE_OPTIONS_RAP_MASK)!==0,g=d>>i.SUBSCRIBE_OPTIONS_RH_SHIFT&i.SUBSCRIBE_OPTIONS_RH_MASK,g>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));x={topic:c,qos:p},this.settings.protocolVersion===5?(x.nl=b,x.rap=_,x.rh=g):this.settings.bridgeMode&&(x.rh=0,x.rap=!0,x.nl=!0),s("_parseSubscribe: push subscription `%s` to subscription",x),u.subscriptions.push(x)}}}_parseSuback(){s("_parseSuback");let u=this.packet;if(this.packet.granted=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}if(u.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos2&&c!==128)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(c)}}}_parseUnsubscribe(){s("_parseUnsubscribe");let u=this.packet;if(u.unsubscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}if(u.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos2){switch(u.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!i.MQTT5_PUBACK_PUBREC_CODES[u.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!i.MQTT5_PUBREL_PUBCOMP_CODES[u.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break}s("_parseConfirmation: packet.reasonCode `%d`",u.reasonCode)}else u.reasonCode=0;if(u.length>3){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}}return!0}_parseDisconnect(){let u=this.packet;if(s("_parseDisconnect"),this.settings.protocolVersion===5){this._list.length>0?(u.reasonCode=this._parseByte(),i.MQTT5_DISCONNECT_CODES[u.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):u.reasonCode=0;let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}return s("_parseDisconnect result: true"),!0}_parseAuth(){s("_parseAuth");let u=this.packet;if(this.settings.protocolVersion!==5)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(u.reasonCode=this._parseByte(),!i.MQTT5_AUTH_CODES[u.reasonCode])return this._emitError(new Error("Invalid auth reason code"));let c=this._parseProperties();return Object.getOwnPropertyNames(c).length&&(u.properties=c),s("_parseAuth: result: true"),!0}_parseMessageId(){let u=this.packet;return u.messageId=this._parseNum(),u.messageId===null?(this._emitError(new Error("Cannot parse messageId")),!1):(s("_parseMessageId: packet.messageId %d",u.messageId),!0)}_parseString(u){let c=this._parseNum(),d=c+this._pos;if(c===-1||d>this._list.length||d>this.packet.length)return null;let p=this._list.toString("utf8",this._pos,d);return this._pos+=c,s("_parseString: result: %s",p),p}_parseStringPair(){return s("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){let u=this._parseNum(),c=u+this._pos;if(u===-1||c>this._list.length||c>this.packet.length)return null;let d=this._list.slice(this._pos,c);return this._pos+=u,s("_parseBuffer: result: %o",d),d}_parseNum(){if(this._list.length-this._pos<2)return-1;let u=this._list.readUInt16BE(this._pos);return this._pos+=2,s("_parseNum: result: %s",u),u}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;let u=this._list.readUInt32BE(this._pos);return this._pos+=4,s("_parse4ByteNum: result: %s",u),u}_parseVarByteNum(u){s("_parseVarByteNum");let c=4,d=0,p=1,g=0,_=!1,b,x=this._pos?this._pos:0;for(;d=d&&this._emitError(new Error("Invalid variable byte integer")),x&&(this._pos+=d),_?u?_={bytes:d,value:g}:_=g:_=!1,s("_parseVarByteNum: result: %o",_),_}_parseByte(){let u;return this._pos{we(),Ee(),ve();var{Buffer:r}=(St(),ze(Et)),n=65536,o={},i=r.isBuffer(r.from([1,2]).subarray(0,1));function s(c){let d=r.allocUnsafe(2);return d.writeUInt8(c>>8,0),d.writeUInt8(c&255,1),d}function a(){for(let c=0;c0&&(d=d|128),g.writeUInt8(d,p++);while(c>0&&p<4);return c>0&&(p=0),i?g.subarray(0,p):g.slice(0,p)}function u(c){let d=r.allocUnsafe(4);return d.writeUInt32BE(c,0),d}t.exports={cache:o,generateCache:a,generateNumber:s,genBufVariableByteInt:l,generate4ByteBuffer:u}}),OO=Oe((e,t)=>{we(),Ee(),ve(),typeof Ve>"u"||!Ve.version||Ve.version.indexOf("v0.")===0||Ve.version.indexOf("v1.")===0&&Ve.version.indexOf("v1.8.")!==0?t.exports={nextTick:r}:t.exports=Ve;function r(n,o,i,s){if(typeof n!="function")throw new TypeError('"callback" argument must be a function');var a=arguments.length,l,u;switch(a){case 0:case 1:return Ve.nextTick(n);case 2:return Ve.nextTick(function(){n.call(null,o)});case 3:return Ve.nextTick(function(){n.call(null,o,i)});case 4:return Ve.nextTick(function(){n.call(null,o,i,s)});default:for(l=new Array(a-1),u=0;u{we(),Ee(),ve();var r=ow(),{Buffer:n}=(St(),ze(Et)),o=n.allocUnsafe(0),i=n.from([0]),s=RO(),a=OO().nextTick,l=cn()("mqtt-packet:writeToStream"),u=s.cache,c=s.generateNumber,d=s.generateCache,p=s.genBufVariableByteInt,g=s.generate4ByteBuffer,_=se,b=!0;function x(V,j,Z){switch(l("generate called"),j.cork&&(j.cork(),a(k,j)),b&&(b=!1,d()),l("generate: packet.cmd: %s",V.cmd),V.cmd){case"connect":return R(V,j);case"connack":return A(V,j,Z);case"publish":return B(V,j,Z);case"puback":case"pubrec":case"pubrel":case"pubcomp":return $(V,j,Z);case"subscribe":return I(V,j,Z);case"suback":return P(V,j,Z);case"unsubscribe":return W(V,j,Z);case"unsuback":return Y(V,j,Z);case"pingreq":case"pingresp":return oe(V,j);case"disconnect":return te(V,j,Z);case"auth":return M(V,j,Z);default:return j.destroy(new Error("Unknown command")),!1}}Object.defineProperty(x,"cacheNumbers",{get(){return _===se},set(V){V?((!u||Object.keys(u).length===0)&&(b=!0),_=se):(b=!1,_=Q)}});function k(V){V.uncork()}function R(V,j,Z){let ue=V||{},le=ue.protocolId||"MQTT",X=ue.protocolVersion||4,E=ue.will,T=ue.clean,S=ue.keepalive||0,O=ue.clientId||"",N=ue.username,ee=ue.password,J=ue.properties;T===void 0&&(T=!0);let D=0;if(!le||typeof le!="string"&&!n.isBuffer(le))return j.destroy(new Error("Invalid protocolId")),!1;if(D+=le.length+2,X!==3&&X!==4&&X!==5)return j.destroy(new Error("Invalid protocol version")),!1;if(D+=1,(typeof O=="string"||n.isBuffer(O))&&(O||X>=4)&&(O||T))D+=n.byteLength(O)+2;else{if(X<4)return j.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(T*1===0)return j.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if(typeof S!="number"||S<0||S>65535||S%1!==0)return j.destroy(new Error("Invalid keepalive")),!1;D+=2,D+=1;let K,z;if(X===5){if(K=pe(j,J),!K)return!1;D+=K.length}if(E){if(typeof E!="object")return j.destroy(new Error("Invalid will")),!1;if(!E.topic||typeof E.topic!="string")return j.destroy(new Error("Invalid will topic")),!1;if(D+=n.byteLength(E.topic)+2,D+=2,E.payload)if(E.payload.length>=0)typeof E.payload=="string"?D+=n.byteLength(E.payload):D+=E.payload.length;else return j.destroy(new Error("Invalid will payload")),!1;if(z={},X===5){if(z=pe(j,E.properties),!z)return!1;D+=z.length}}let ce=!1;if(N!=null)if(ye(N))ce=!0,D+=n.byteLength(N)+2;else return j.destroy(new Error("Invalid username")),!1;if(ee!=null){if(!ce)return j.destroy(new Error("Username is required to use password")),!1;if(ye(ee))D+=Se(ee)+2;else return j.destroy(new Error("Invalid password")),!1}j.write(r.CONNECT_HEADER),ie(j,D),fe(j,le),ue.bridgeMode&&(X+=128),j.write(X===131?r.VERSION131:X===132?r.VERSION132:X===4?r.VERSION4:X===5?r.VERSION5:r.VERSION3);let be=0;return be|=N!=null?r.USERNAME_MASK:0,be|=ee!=null?r.PASSWORD_MASK:0,be|=E&&E.retain?r.WILL_RETAIN_MASK:0,be|=E&&E.qos?E.qos<0&&_(j,O),J==null||J.write(),l("publish: payload: %o",S),j.write(S)}function $(V,j,Z){let ue=Z?Z.protocolVersion:4,le=V||{},X=le.cmd||"puback",E=le.messageId,T=le.dup&&X==="pubrel"?r.DUP_MASK:0,S=0,O=le.reasonCode,N=le.properties,ee=ue===5?3:2;if(X==="pubrel"&&(S=1),typeof E!="number")return j.destroy(new Error("Invalid messageId")),!1;let J=null;if(ue===5&&typeof N=="object"){if(J=F(j,N,Z,ee),!J)return!1;ee+=J.length}return j.write(r.ACKS[X][S][T][0]),ee===3&&(ee+=O!==0?1:-1),ie(j,ee),_(j,E),ue===5&&ee!==2&&j.write(n.from([O])),J!==null?J.write():ee===4&&j.write(n.from([0])),!0}function I(V,j,Z){l("subscribe: packet: ");let ue=Z?Z.protocolVersion:4,le=V||{},X=le.dup?r.DUP_MASK:0,E=le.messageId,T=le.subscriptions,S=le.properties,O=0;if(typeof E!="number")return j.destroy(new Error("Invalid messageId")),!1;O+=2;let N=null;if(ue===5){if(N=pe(j,S),!N)return!1;O+=N.length}if(typeof T=="object"&&T.length)for(let J=0;J2)return j.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}O+=n.byteLength(D)+2+1}else return j.destroy(new Error("Invalid subscriptions")),!1;l("subscribe: writing to stream: %o",r.SUBSCRIBE_HEADER),j.write(r.SUBSCRIBE_HEADER[1][X?1:0][0]),ie(j,O),_(j,E),N!==null&&N.write();let ee=!0;for(let J of T){let D=J.topic,K=J.qos,z=+J.nl,ce=+J.rap,be=J.rh,Te;re(j,D),Te=r.SUBSCRIBE_OPTIONS_QOS[K],ue===5&&(Te|=z?r.SUBSCRIBE_OPTIONS_NL:0,Te|=ce?r.SUBSCRIBE_OPTIONS_RAP:0,Te|=be?r.SUBSCRIBE_OPTIONS_RH[be]:0),ee=j.write(n.from([Te]))}return ee}function P(V,j,Z){let ue=Z?Z.protocolVersion:4,le=V||{},X=le.messageId,E=le.granted,T=le.properties,S=0;if(typeof X!="number")return j.destroy(new Error("Invalid messageId")),!1;if(S+=2,typeof E=="object"&&E.length)for(let N=0;Nr.VARBYTEINT_MAX)return V.destroy(new Error(`Invalid variable byte integer: ${j}`)),!1;let Z=L[j];return Z||(Z=p(j),j<16384&&(L[j]=Z)),l("writeVarByteInt: writing to stream: %o",Z),V.write(Z)}function re(V,j){let Z=n.byteLength(j);return _(V,Z),l("writeString: %s",j),V.write(j,"utf8")}function ae(V,j,Z){re(V,j),re(V,Z)}function se(V,j){return l("writeNumberCached: number: %d",j),l("writeNumberCached: %o",u[j]),V.write(u[j])}function Q(V,j){let Z=c(j);return l("writeNumberGenerated: %o",Z),V.write(Z)}function he(V,j){let Z=g(j);return l("write4ByteNumber: %o",Z),V.write(Z)}function fe(V,j){typeof j=="string"?re(V,j):j?(_(V,j.length),V.write(j)):_(V,0)}function pe(V,j){if(typeof j!="object"||j.length!=null)return{length:1,write(){ge(V,{},0)}};let Z=0;function ue(le,X){let E=r.propertiesTypes[le],T=0;switch(E){case"byte":{if(typeof X!="boolean")return V.destroy(new Error(`Invalid ${le}: ${X}`)),!1;T+=2;break}case"int8":{if(typeof X!="number"||X<0||X>255)return V.destroy(new Error(`Invalid ${le}: ${X}`)),!1;T+=2;break}case"binary":{if(X&&X===null)return V.destroy(new Error(`Invalid ${le}: ${X}`)),!1;T+=1+n.byteLength(X)+2;break}case"int16":{if(typeof X!="number"||X<0||X>65535)return V.destroy(new Error(`Invalid ${le}: ${X}`)),!1;T+=3;break}case"int32":{if(typeof X!="number"||X<0||X>4294967295)return V.destroy(new Error(`Invalid ${le}: ${X}`)),!1;T+=5;break}case"var":{if(typeof X!="number"||X<0||X>268435455)return V.destroy(new Error(`Invalid ${le}: ${X}`)),!1;T+=1+n.byteLength(p(X));break}case"string":{if(typeof X!="string")return V.destroy(new Error(`Invalid ${le}: ${X}`)),!1;T+=3+n.byteLength(X.toString());break}case"pair":{if(typeof X!="object")return V.destroy(new Error(`Invalid ${le}: ${X}`)),!1;T+=Object.getOwnPropertyNames(X).reduce((S,O)=>{let N=X[O];return Array.isArray(N)?S+=N.reduce((ee,J)=>(ee+=3+n.byteLength(O.toString())+2+n.byteLength(J.toString()),ee),0):S+=3+n.byteLength(O.toString())+2+n.byteLength(X[O].toString()),S},0);break}default:return V.destroy(new Error(`Invalid property ${le}: ${X}`)),!1}return T}if(j)for(let le in j){let X=0,E=0,T=j[le];if(Array.isArray(T))for(let S=0;SX;){let T=le.shift();if(T&&j[T])delete j[T],E=pe(V,j);else return!1}return E}function ne(V,j,Z){switch(r.propertiesTypes[j]){case"byte":{V.write(n.from([r.properties[j]])),V.write(n.from([+Z]));break}case"int8":{V.write(n.from([r.properties[j]])),V.write(n.from([Z]));break}case"binary":{V.write(n.from([r.properties[j]])),fe(V,Z);break}case"int16":{V.write(n.from([r.properties[j]])),_(V,Z);break}case"int32":{V.write(n.from([r.properties[j]])),he(V,Z);break}case"var":{V.write(n.from([r.properties[j]])),ie(V,Z);break}case"string":{V.write(n.from([r.properties[j]])),re(V,Z);break}case"pair":{Object.getOwnPropertyNames(Z).forEach(ue=>{let le=Z[ue];Array.isArray(le)?le.forEach(X=>{V.write(n.from([r.properties[j]])),ae(V,ue.toString(),X.toString())}):(V.write(n.from([r.properties[j]])),ae(V,ue.toString(),le.toString()))});break}default:return V.destroy(new Error(`Invalid property ${j} value: ${Z}`)),!1}}function ge(V,j,Z){ie(V,Z);for(let ue in j)if(Object.prototype.hasOwnProperty.call(j,ue)&&j[ue]!==null){let le=j[ue];if(Array.isArray(le))for(let X=0;X{we(),Ee(),ve();var r=sw(),{EventEmitter:n}=(Ho(),ze(Fi)),{Buffer:o}=(St(),ze(Et));function i(a,l){let u=new s;return r(a,u,l),u.concat()}var s=class extends n{constructor(){super(),this._array=new Array(20),this._i=0}write(a){return this._array[this._i++]=a,!0}concat(){let a=0,l=new Array(this._array.length),u=this._array,c=0,d;for(d=0;d{we(),Ee(),ve(),e.parser=CO().parser,e.generate=kO(),e.writeToStream=sw()}),aw=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(){this.nextId=Math.max(1,Math.floor(Math.random()*65535))}allocate(){let r=this.nextId++;return this.nextId===65536&&(this.nextId=1),r}getLastAllocated(){return this.nextId===1?65535:this.nextId-1}register(r){return!0}deallocate(r){}clear(){}};e.default=t}),MO=Oe((e,t)=>{we(),Ee(),ve(),t.exports=n;function r(i){return i instanceof cl?cl.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function n(i){if(i=i||{},i.circles)return o(i);return i.proto?l:a;function s(u,c){for(var d=Object.keys(u),p=new Array(d.length),g=0;g{we(),Ee(),ve(),t.exports=MO()()}),LO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0}),e.validateTopics=e.validateTopic=void 0;function t(n){let o=n.split("/");for(let i=0;i{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=ji(),r={objectMode:!0},n={clean:!0},o=class{constructor(i){this.options=i||{},this.options=Object.assign(Object.assign({},n),i),this._inflights=new Map}put(i,s){return this._inflights.set(i.messageId,i),s&&s(),this}createStream(){let i=new t.Readable(r),s=[],a=!1,l=0;return this._inflights.forEach((u,c)=>{s.push(u)}),i._read=()=>{!a&&l{if(!a)return a=!0,setTimeout(()=>{i.emit("close")},0),i},i}del(i,s){let a=this._inflights.get(i.messageId);return a?(this._inflights.delete(i.messageId),s(null,a)):s&&s(new Error("missing packet")),this}get(i,s){let a=this._inflights.get(i.messageId);return a?s(null,a):s&&s(new Error("missing packet")),this}close(i){this.options.clean&&(this._inflights=null),i&&i()}};e.default=o}),BO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=[0,16,128,131,135,144,145,151,153],r=(n,o,i)=>{n.log("handlePublish: packet %o",o),i=typeof i<"u"?i:n.noop;let s=o.topic.toString(),a=o.payload,{qos:l}=o,{messageId:u}=o,{options:c}=n;if(n.options.protocolVersion===5){let d;if(o.properties&&(d=o.properties.topicAlias),typeof d<"u")if(s.length===0)if(d>0&&d<=65535){let p=n.topicAliasRecv.getTopicByAlias(d);if(p)s=p,n.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",s,d);else{n.log("handlePublish :: unregistered topic alias. alias: %d",d),n.emit("error",new Error("Received unregistered Topic Alias"));return}}else{n.log("handlePublish :: topic alias out of range. alias: %d",d),n.emit("error",new Error("Received Topic Alias is out of range"));return}else if(n.topicAliasRecv.put(s,d))n.log("handlePublish :: registered topic: %s - alias: %d",s,d);else{n.log("handlePublish :: topic alias out of range. alias: %d",d),n.emit("error",new Error("Received Topic Alias is out of range"));return}}switch(n.log("handlePublish: qos %d",l),l){case 2:{c.customHandleAcks(s,a,o,(d,p)=>{if(typeof d=="number"&&(p=d,d=null),d)return n.emit("error",d);if(t.indexOf(p)===-1)return n.emit("error",new Error("Wrong reason code for pubrec"));p?n._sendPacket({cmd:"pubrec",messageId:u,reasonCode:p},i):n.incomingStore.put(o,()=>{n._sendPacket({cmd:"pubrec",messageId:u},i)})});break}case 1:{c.customHandleAcks(s,a,o,(d,p)=>{if(typeof d=="number"&&(p=d,d=null),d)return n.emit("error",d);if(t.indexOf(p)===-1)return n.emit("error",new Error("Wrong reason code for puback"));p||n.emit("message",s,a,o),n.handleMessage(o,g=>{if(g)return i&&i(g);n._sendPacket({cmd:"puback",messageId:u,reasonCode:p},i)})});break}case 0:n.emit("message",s,a,o),n.handleMessage(o,i);break;default:n.log("handlePublish: unknown QoS. Doing nothing.");break}};e.default=r}),DO=Oe((e,t)=>{t.exports={version:"5.9.1"}}),Vo=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0}),e.MQTTJS_VERSION=e.nextTick=e.applyMixin=e.ErrorWithReasonCode=void 0;var t=class uw extends Error{constructor(o,i){super(o),this.code=i,Object.setPrototypeOf(this,uw.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}};e.ErrorWithReasonCode=t;function r(n,o,i=!1){var s;let a=[o];for(;;){let l=a[0],u=Object.getPrototypeOf(l);if(u!=null&&u.prototype)a.unshift(u);else break}for(let l of a)for(let u of Object.getOwnPropertyNames(l.prototype))(i||u!=="constructor")&&Object.defineProperty(n.prototype,u,(s=Object.getOwnPropertyDescriptor(l.prototype,u))!==null&&s!==void 0?s:Object.create(null))}e.applyMixin=r,e.nextTick=typeof(Ve==null?void 0:Ve.nextTick)=="function"?Ve.nextTick:n=>{setTimeout(n,0)},e.MQTTJS_VERSION=DO().version}),iu=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=void 0;var t=Vo();e.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};var r=(n,o)=>{let{messageId:i}=o,s=o.cmd,a=null,l=n.outgoing[i]?n.outgoing[i].cb:null,u=null;if(!l){n.log("_handleAck :: Server sent an ack in error. Ignoring.");return}switch(n.log("_handleAck :: packet type",s),s){case"pubcomp":case"puback":{let c=o.reasonCode;c&&c>0&&c!==16?(u=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[c]}`,c),n._removeOutgoingAndStoreMessage(i,()=>{l(u,o)})):n._removeOutgoingAndStoreMessage(i,l);break}case"pubrec":{a={cmd:"pubrel",qos:2,messageId:i};let c=o.reasonCode;c&&c>0&&c!==16?(u=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[c]}`,c),n._removeOutgoingAndStoreMessage(i,()=>{l(u,o)})):n._sendPacket(a);break}case"suback":{delete n.outgoing[i],n.messageIdProvider.deallocate(i);let c=o.granted;for(let d=0;d{delete n._resubscribeTopics[_]})}}delete n.messageIdToTopic[i],n._invokeStoreProcessingQueue(),l(u,o);break}case"unsuback":{delete n.outgoing[i],n.messageIdProvider.deallocate(i),n._invokeStoreProcessingQueue(),l(null);break}default:n.emit("error",new Error("unrecognized packet type"))}n.disconnecting&&Object.keys(n.outgoing).length===0&&n.emit("outgoingEmpty")};e.default=r}),$O=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=Vo(),r=iu(),n=(o,i)=>{let{options:s}=o,a=s.protocolVersion,l=a===5?i.reasonCode:i.returnCode;if(a!==5){let u=new t.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${a}`,l);o.emit("error",u);return}o.handleAuth(i,(u,c)=>{if(u){o.emit("error",u);return}if(l===24)o.reconnecting=!1,o._sendPacket(c);else{let d=new t.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[l]}`,l);o.emit("error",d)}})};e.default=n}),UO=Oe(e=>{var g,_,b,x,k,R,A,B,$,I,P,W,Y,oe,te,M,L,ie,re,ae,se,Q,he,fe,pe,F,wh,ge,Se,ye,V,j,cw,ue,le,X,E,xn,S,In,N,vh,J,Da,K,$a,ce,tt,Te,Eh,h,fs,m;we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;var t=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,r=new Set,n=typeof Ve=="object"&&Ve?Ve:{},o=(w,v,C,H)=>{typeof n.emitWarning=="function"?n.emitWarning(w,v,C,H):console.error(`[${C}] ${v}: ${w}`)},i=globalThis.AbortController,s=globalThis.AbortSignal;if(typeof i>"u"){s=class{constructor(){it(this,"onabort");it(this,"_onabort",[]);it(this,"reason");it(this,"aborted",!1)}addEventListener(C,H){this._onabort.push(H)}},i=class{constructor(){it(this,"signal",new s);v()}abort(C){var H,de;if(!this.signal.aborted){this.signal.reason=C,this.signal.aborted=!0;for(let me of this.signal._onabort)me(C);(de=(H=this.signal).onabort)==null||de.call(H,C)}}};let w=((g=n.env)==null?void 0:g.LRU_CACHE_IGNORE_AC_WARNING)!=="1",v=()=>{w&&(w=!1,o("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",v))}}var a=w=>!r.has(w),l=w=>w&&w===Math.floor(w)&&w>0&&isFinite(w),u=w=>l(w)?w<=Math.pow(2,8)?Uint8Array:w<=Math.pow(2,16)?Uint16Array:w<=Math.pow(2,32)?Uint32Array:w<=Number.MAX_SAFE_INTEGER?c:null:null,c=class extends Array{constructor(w){super(w),this.fill(0)}},d=(_=class{constructor(v,C){it(this,"heap");it(this,"length");if(!G(_,b))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new C(v),this.length=0}static create(v){let C=u(v);if(!C)return[];Le(_,b,!0);let H=new _(v,C);return Le(_,b,!1),H}push(v){this.heap[this.length++]=v}pop(){return this.heap[--this.length]}},b=new WeakMap,$e(_,b,!1),_),p=(m=class{constructor(v){$e(this,F);$e(this,j);$e(this,E);$e(this,S);$e(this,N);$e(this,J);$e(this,K);$e(this,ce);$e(this,Te);$e(this,h);$e(this,x,void 0);$e(this,k,void 0);$e(this,R,void 0);$e(this,A,void 0);$e(this,B,void 0);it(this,"ttl");it(this,"ttlResolution");it(this,"ttlAutopurge");it(this,"updateAgeOnGet");it(this,"updateAgeOnHas");it(this,"allowStale");it(this,"noDisposeOnSet");it(this,"noUpdateTTL");it(this,"maxEntrySize");it(this,"sizeCalculation");it(this,"noDeleteOnFetchRejection");it(this,"noDeleteOnStaleGet");it(this,"allowStaleOnFetchAbort");it(this,"allowStaleOnFetchRejection");it(this,"ignoreFetchAbort");$e(this,$,void 0);$e(this,I,void 0);$e(this,P,void 0);$e(this,W,void 0);$e(this,Y,void 0);$e(this,oe,void 0);$e(this,te,void 0);$e(this,M,void 0);$e(this,L,void 0);$e(this,ie,void 0);$e(this,re,void 0);$e(this,ae,void 0);$e(this,se,void 0);$e(this,Q,void 0);$e(this,he,void 0);$e(this,fe,void 0);$e(this,pe,void 0);$e(this,ge,()=>{});$e(this,Se,()=>{});$e(this,ye,()=>{});$e(this,V,()=>!1);$e(this,ue,v=>{});$e(this,le,(v,C,H)=>{});$e(this,X,(v,C,H,de)=>{if(H||de)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:C=0,ttl:H,ttlResolution:de=1,ttlAutopurge:me,updateAgeOnGet:_e,updateAgeOnHas:Ae,allowStale:ke,dispose:Ze,disposeAfter:Tt,noDisposeOnSet:He,noUpdateTTL:mt,maxSize:st=0,maxEntrySize:at=0,sizeCalculation:Qe,fetchMethod:ht,noDeleteOnFetchRejection:U,noDeleteOnStaleGet:q,allowStaleOnFetchRejection:Re,allowStaleOnFetchAbort:Ie,ignoreFetchAbort:Ne}=v;if(C!==0&&!l(C))throw new TypeError("max option must be a nonnegative integer");let et=C?u(C):Array;if(!et)throw new Error("invalid max value: "+C);if(Le(this,x,C),Le(this,k,st),this.maxEntrySize=at||G(this,k),this.sizeCalculation=Qe,this.sizeCalculation){if(!G(this,k)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(ht!==void 0&&typeof ht!="function")throw new TypeError("fetchMethod must be a function if specified");if(Le(this,B,ht),Le(this,fe,!!ht),Le(this,P,new Map),Le(this,W,new Array(C).fill(void 0)),Le(this,Y,new Array(C).fill(void 0)),Le(this,oe,new et(C)),Le(this,te,new et(C)),Le(this,M,0),Le(this,L,0),Le(this,ie,d.create(C)),Le(this,$,0),Le(this,I,0),typeof Ze=="function"&&Le(this,R,Ze),typeof Tt=="function"?(Le(this,A,Tt),Le(this,re,[])):(Le(this,A,void 0),Le(this,re,void 0)),Le(this,he,!!G(this,R)),Le(this,pe,!!G(this,A)),this.noDisposeOnSet=!!He,this.noUpdateTTL=!!mt,this.noDeleteOnFetchRejection=!!U,this.allowStaleOnFetchRejection=!!Re,this.allowStaleOnFetchAbort=!!Ie,this.ignoreFetchAbort=!!Ne,this.maxEntrySize!==0){if(G(this,k)!==0&&!l(G(this,k)))throw new TypeError("maxSize must be a positive integer if specified");if(!l(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Me(this,j,cw).call(this)}if(this.allowStale=!!ke,this.noDeleteOnStaleGet=!!q,this.updateAgeOnGet=!!_e,this.updateAgeOnHas=!!Ae,this.ttlResolution=l(de)||de===0?de:1,this.ttlAutopurge=!!me,this.ttl=H||0,this.ttl){if(!l(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Me(this,F,wh).call(this)}if(G(this,x)===0&&this.ttl===0&&G(this,k)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!G(this,x)&&!G(this,k)){let ct="LRU_CACHE_UNBOUNDED";a(ct)&&(r.add(ct),o("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",ct,m))}}static unsafeExposeInternals(v){return{starts:G(v,se),ttls:G(v,Q),sizes:G(v,ae),keyMap:G(v,P),keyList:G(v,W),valList:G(v,Y),next:G(v,oe),prev:G(v,te),get head(){return G(v,M)},get tail(){return G(v,L)},free:G(v,ie),isBackgroundFetch:C=>{var H;return Me(H=v,ce,tt).call(H,C)},backgroundFetch:(C,H,de,me)=>{var _e;return Me(_e=v,K,$a).call(_e,C,H,de,me)},moveToTail:C=>{var H;return Me(H=v,h,fs).call(H,C)},indexes:C=>{var H;return Me(H=v,E,xn).call(H,C)},rindexes:C=>{var H;return Me(H=v,S,In).call(H,C)},isStale:C=>{var H;return G(H=v,V).call(H,C)}}}get max(){return G(this,x)}get maxSize(){return G(this,k)}get calculatedSize(){return G(this,I)}get size(){return G(this,$)}get fetchMethod(){return G(this,B)}get dispose(){return G(this,R)}get disposeAfter(){return G(this,A)}getRemainingTTL(v){return G(this,P).has(v)?1/0:0}*entries(){for(let v of Me(this,E,xn).call(this))G(this,Y)[v]!==void 0&&G(this,W)[v]!==void 0&&!Me(this,ce,tt).call(this,G(this,Y)[v])&&(yield[G(this,W)[v],G(this,Y)[v]])}*rentries(){for(let v of Me(this,S,In).call(this))G(this,Y)[v]!==void 0&&G(this,W)[v]!==void 0&&!Me(this,ce,tt).call(this,G(this,Y)[v])&&(yield[G(this,W)[v],G(this,Y)[v]])}*keys(){for(let v of Me(this,E,xn).call(this)){let C=G(this,W)[v];C!==void 0&&!Me(this,ce,tt).call(this,G(this,Y)[v])&&(yield C)}}*rkeys(){for(let v of Me(this,S,In).call(this)){let C=G(this,W)[v];C!==void 0&&!Me(this,ce,tt).call(this,G(this,Y)[v])&&(yield C)}}*values(){for(let v of Me(this,E,xn).call(this))G(this,Y)[v]!==void 0&&!Me(this,ce,tt).call(this,G(this,Y)[v])&&(yield G(this,Y)[v])}*rvalues(){for(let v of Me(this,S,In).call(this))G(this,Y)[v]!==void 0&&!Me(this,ce,tt).call(this,G(this,Y)[v])&&(yield G(this,Y)[v])}[Symbol.iterator](){return this.entries()}find(v,C={}){for(let H of Me(this,E,xn).call(this)){let de=G(this,Y)[H],me=Me(this,ce,tt).call(this,de)?de.__staleWhileFetching:de;if(me!==void 0&&v(me,G(this,W)[H],this))return this.get(G(this,W)[H],C)}}forEach(v,C=this){for(let H of Me(this,E,xn).call(this)){let de=G(this,Y)[H],me=Me(this,ce,tt).call(this,de)?de.__staleWhileFetching:de;me!==void 0&&v.call(C,me,G(this,W)[H],this)}}rforEach(v,C=this){for(let H of Me(this,S,In).call(this)){let de=G(this,Y)[H],me=Me(this,ce,tt).call(this,de)?de.__staleWhileFetching:de;me!==void 0&&v.call(C,me,G(this,W)[H],this)}}purgeStale(){let v=!1;for(let C of Me(this,S,In).call(this,{allowStale:!0}))G(this,V).call(this,C)&&(this.delete(G(this,W)[C]),v=!0);return v}dump(){let v=[];for(let C of Me(this,E,xn).call(this,{allowStale:!0})){let H=G(this,W)[C],de=G(this,Y)[C],me=Me(this,ce,tt).call(this,de)?de.__staleWhileFetching:de;if(me===void 0||H===void 0)continue;let _e={value:me};if(G(this,Q)&&G(this,se)){_e.ttl=G(this,Q)[C];let Ae=t.now()-G(this,se)[C];_e.start=Math.floor(Date.now()-Ae)}G(this,ae)&&(_e.size=G(this,ae)[C]),v.unshift([H,_e])}return v}load(v){this.clear();for(let[C,H]of v){if(H.start){let de=Date.now()-H.start;H.start=t.now()-de}this.set(C,H.value,H)}}set(v,C,H={}){var mt,st,at,Qe,ht;if(C===void 0)return this.delete(v),this;let{ttl:de=this.ttl,start:me,noDisposeOnSet:_e=this.noDisposeOnSet,sizeCalculation:Ae=this.sizeCalculation,status:ke}=H,{noUpdateTTL:Ze=this.noUpdateTTL}=H,Tt=G(this,X).call(this,v,C,H.size||0,Ae);if(this.maxEntrySize&&Tt>this.maxEntrySize)return ke&&(ke.set="miss",ke.maxEntrySizeExceeded=!0),this.delete(v),this;let He=G(this,$)===0?void 0:G(this,P).get(v);if(He===void 0)He=G(this,$)===0?G(this,L):G(this,ie).length!==0?G(this,ie).pop():G(this,$)===G(this,x)?Me(this,J,Da).call(this,!1):G(this,$),G(this,W)[He]=v,G(this,Y)[He]=C,G(this,P).set(v,He),G(this,oe)[G(this,L)]=He,G(this,te)[He]=G(this,L),Le(this,L,He),Xs(this,$)._++,G(this,le).call(this,He,Tt,ke),ke&&(ke.set="add"),Ze=!1;else{Me(this,h,fs).call(this,He);let U=G(this,Y)[He];if(C!==U){if(G(this,fe)&&Me(this,ce,tt).call(this,U)){U.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:q}=U;q!==void 0&&!_e&&(G(this,he)&&((mt=G(this,R))==null||mt.call(this,q,v,"set")),G(this,pe)&&((st=G(this,re))==null||st.push([q,v,"set"])))}else _e||(G(this,he)&&((at=G(this,R))==null||at.call(this,U,v,"set")),G(this,pe)&&((Qe=G(this,re))==null||Qe.push([U,v,"set"])));if(G(this,ue).call(this,He),G(this,le).call(this,He,Tt,ke),G(this,Y)[He]=C,ke){ke.set="replace";let q=U&&Me(this,ce,tt).call(this,U)?U.__staleWhileFetching:U;q!==void 0&&(ke.oldValue=q)}}else ke&&(ke.set="update")}if(de!==0&&!G(this,Q)&&Me(this,F,wh).call(this),G(this,Q)&&(Ze||G(this,ye).call(this,He,de,me),ke&&G(this,Se).call(this,ke,He)),!_e&&G(this,pe)&&G(this,re)){let U=G(this,re),q;for(;q=U==null?void 0:U.shift();)(ht=G(this,A))==null||ht.call(this,...q)}return this}pop(){var v;try{for(;G(this,$);){let C=G(this,Y)[G(this,M)];if(Me(this,J,Da).call(this,!0),Me(this,ce,tt).call(this,C)){if(C.__staleWhileFetching)return C.__staleWhileFetching}else if(C!==void 0)return C}}finally{if(G(this,pe)&&G(this,re)){let C=G(this,re),H;for(;H=C==null?void 0:C.shift();)(v=G(this,A))==null||v.call(this,...H)}}}has(v,C={}){let{updateAgeOnHas:H=this.updateAgeOnHas,status:de}=C,me=G(this,P).get(v);if(me!==void 0){let _e=G(this,Y)[me];if(Me(this,ce,tt).call(this,_e)&&_e.__staleWhileFetching===void 0)return!1;if(G(this,V).call(this,me))de&&(de.has="stale",G(this,Se).call(this,de,me));else return H&&G(this,ge).call(this,me),de&&(de.has="hit",G(this,Se).call(this,de,me)),!0}else de&&(de.has="miss");return!1}peek(v,C={}){let{allowStale:H=this.allowStale}=C,de=G(this,P).get(v);if(de!==void 0&&(H||!G(this,V).call(this,de))){let me=G(this,Y)[de];return Me(this,ce,tt).call(this,me)?me.__staleWhileFetching:me}}async fetch(v,C={}){let{allowStale:H=this.allowStale,updateAgeOnGet:de=this.updateAgeOnGet,noDeleteOnStaleGet:me=this.noDeleteOnStaleGet,ttl:_e=this.ttl,noDisposeOnSet:Ae=this.noDisposeOnSet,size:ke=0,sizeCalculation:Ze=this.sizeCalculation,noUpdateTTL:Tt=this.noUpdateTTL,noDeleteOnFetchRejection:He=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:mt=this.allowStaleOnFetchRejection,ignoreFetchAbort:st=this.ignoreFetchAbort,allowStaleOnFetchAbort:at=this.allowStaleOnFetchAbort,context:Qe,forceRefresh:ht=!1,status:U,signal:q}=C;if(!G(this,fe))return U&&(U.fetch="get"),this.get(v,{allowStale:H,updateAgeOnGet:de,noDeleteOnStaleGet:me,status:U});let Re={allowStale:H,updateAgeOnGet:de,noDeleteOnStaleGet:me,ttl:_e,noDisposeOnSet:Ae,size:ke,sizeCalculation:Ze,noUpdateTTL:Tt,noDeleteOnFetchRejection:He,allowStaleOnFetchRejection:mt,allowStaleOnFetchAbort:at,ignoreFetchAbort:st,status:U,signal:q},Ie=G(this,P).get(v);if(Ie===void 0){U&&(U.fetch="miss");let Ne=Me(this,K,$a).call(this,v,Ie,Re,Qe);return Ne.__returned=Ne}else{let Ne=G(this,Y)[Ie];if(Me(this,ce,tt).call(this,Ne)){let vr=H&&Ne.__staleWhileFetching!==void 0;return U&&(U.fetch="inflight",vr&&(U.returnedStale=!0)),vr?Ne.__staleWhileFetching:Ne.__returned=Ne}let et=G(this,V).call(this,Ie);if(!ht&&!et)return U&&(U.fetch="hit"),Me(this,h,fs).call(this,Ie),de&&G(this,ge).call(this,Ie),U&&G(this,Se).call(this,U,Ie),Ne;let ct=Me(this,K,$a).call(this,v,Ie,Re,Qe),Yo=ct.__staleWhileFetching!==void 0&&H;return U&&(U.fetch=et?"stale":"refresh",Yo&&et&&(U.returnedStale=!0)),Yo?ct.__staleWhileFetching:ct.__returned=ct}}get(v,C={}){let{allowStale:H=this.allowStale,updateAgeOnGet:de=this.updateAgeOnGet,noDeleteOnStaleGet:me=this.noDeleteOnStaleGet,status:_e}=C,Ae=G(this,P).get(v);if(Ae!==void 0){let ke=G(this,Y)[Ae],Ze=Me(this,ce,tt).call(this,ke);return _e&&G(this,Se).call(this,_e,Ae),G(this,V).call(this,Ae)?(_e&&(_e.get="stale"),Ze?(_e&&H&&ke.__staleWhileFetching!==void 0&&(_e.returnedStale=!0),H?ke.__staleWhileFetching:void 0):(me||this.delete(v),_e&&H&&(_e.returnedStale=!0),H?ke:void 0)):(_e&&(_e.get="hit"),Ze?ke.__staleWhileFetching:(Me(this,h,fs).call(this,Ae),de&&G(this,ge).call(this,Ae),ke))}else _e&&(_e.get="miss")}delete(v){var H,de,me,_e;let C=!1;if(G(this,$)!==0){let Ae=G(this,P).get(v);if(Ae!==void 0)if(C=!0,G(this,$)===1)this.clear();else{G(this,ue).call(this,Ae);let ke=G(this,Y)[Ae];Me(this,ce,tt).call(this,ke)?ke.__abortController.abort(new Error("deleted")):(G(this,he)||G(this,pe))&&(G(this,he)&&((H=G(this,R))==null||H.call(this,ke,v,"delete")),G(this,pe)&&((de=G(this,re))==null||de.push([ke,v,"delete"]))),G(this,P).delete(v),G(this,W)[Ae]=void 0,G(this,Y)[Ae]=void 0,Ae===G(this,L)?Le(this,L,G(this,te)[Ae]):Ae===G(this,M)?Le(this,M,G(this,oe)[Ae]):(G(this,oe)[G(this,te)[Ae]]=G(this,oe)[Ae],G(this,te)[G(this,oe)[Ae]]=G(this,te)[Ae]),Xs(this,$)._--,G(this,ie).push(Ae)}}if(G(this,pe)&&((me=G(this,re))!=null&&me.length)){let Ae=G(this,re),ke;for(;ke=Ae==null?void 0:Ae.shift();)(_e=G(this,A))==null||_e.call(this,...ke)}return C}clear(){var v,C,H;for(let de of Me(this,S,In).call(this,{allowStale:!0})){let me=G(this,Y)[de];if(Me(this,ce,tt).call(this,me))me.__abortController.abort(new Error("deleted"));else{let _e=G(this,W)[de];G(this,he)&&((v=G(this,R))==null||v.call(this,me,_e,"delete")),G(this,pe)&&((C=G(this,re))==null||C.push([me,_e,"delete"]))}}if(G(this,P).clear(),G(this,Y).fill(void 0),G(this,W).fill(void 0),G(this,Q)&&G(this,se)&&(G(this,Q).fill(0),G(this,se).fill(0)),G(this,ae)&&G(this,ae).fill(0),Le(this,M,0),Le(this,L,0),G(this,ie).length=0,Le(this,I,0),Le(this,$,0),G(this,pe)&&G(this,re)){let de=G(this,re),me;for(;me=de==null?void 0:de.shift();)(H=G(this,A))==null||H.call(this,...me)}}},x=new WeakMap,k=new WeakMap,R=new WeakMap,A=new WeakMap,B=new WeakMap,$=new WeakMap,I=new WeakMap,P=new WeakMap,W=new WeakMap,Y=new WeakMap,oe=new WeakMap,te=new WeakMap,M=new WeakMap,L=new WeakMap,ie=new WeakMap,re=new WeakMap,ae=new WeakMap,se=new WeakMap,Q=new WeakMap,he=new WeakMap,fe=new WeakMap,pe=new WeakMap,F=new WeakSet,wh=function(){let v=new c(G(this,x)),C=new c(G(this,x));Le(this,Q,v),Le(this,se,C),Le(this,ye,(me,_e,Ae=t.now())=>{if(C[me]=_e!==0?Ae:0,v[me]=_e,_e!==0&&this.ttlAutopurge){let ke=setTimeout(()=>{G(this,V).call(this,me)&&this.delete(G(this,W)[me])},_e+1);ke.unref&&ke.unref()}}),Le(this,ge,me=>{C[me]=v[me]!==0?t.now():0}),Le(this,Se,(me,_e)=>{if(v[_e]){let Ae=v[_e],ke=C[_e];me.ttl=Ae,me.start=ke,me.now=H||de();let Ze=me.now-ke;me.remainingTTL=Ae-Ze}});let H=0,de=()=>{let me=t.now();if(this.ttlResolution>0){H=me;let _e=setTimeout(()=>H=0,this.ttlResolution);_e.unref&&_e.unref()}return me};this.getRemainingTTL=me=>{let _e=G(this,P).get(me);if(_e===void 0)return 0;let Ae=v[_e],ke=C[_e];if(Ae===0||ke===0)return 1/0;let Ze=(H||de())-ke;return Ae-Ze},Le(this,V,me=>v[me]!==0&&C[me]!==0&&(H||de())-C[me]>v[me])},ge=new WeakMap,Se=new WeakMap,ye=new WeakMap,V=new WeakMap,j=new WeakSet,cw=function(){let v=new c(G(this,x));Le(this,I,0),Le(this,ae,v),Le(this,ue,C=>{Le(this,I,G(this,I)-v[C]),v[C]=0}),Le(this,X,(C,H,de,me)=>{if(Me(this,ce,tt).call(this,H))return 0;if(!l(de))if(me){if(typeof me!="function")throw new TypeError("sizeCalculation must be a function");if(de=me(H,C),!l(de))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return de}),Le(this,le,(C,H,de)=>{if(v[C]=H,G(this,k)){let me=G(this,k)-v[C];for(;G(this,I)>me;)Me(this,J,Da).call(this,!0)}Le(this,I,G(this,I)+v[C]),de&&(de.entrySize=H,de.totalCalculatedSize=G(this,I))})},ue=new WeakMap,le=new WeakMap,X=new WeakMap,E=new WeakSet,xn=function*({allowStale:v=this.allowStale}={}){if(G(this,$))for(let C=G(this,L);!(!Me(this,N,vh).call(this,C)||((v||!G(this,V).call(this,C))&&(yield C),C===G(this,M)));)C=G(this,te)[C]},S=new WeakSet,In=function*({allowStale:v=this.allowStale}={}){if(G(this,$))for(let C=G(this,M);!(!Me(this,N,vh).call(this,C)||((v||!G(this,V).call(this,C))&&(yield C),C===G(this,L)));)C=G(this,oe)[C]},N=new WeakSet,vh=function(v){return v!==void 0&&G(this,P).get(G(this,W)[v])===v},J=new WeakSet,Da=function(v){var me,_e;let C=G(this,M),H=G(this,W)[C],de=G(this,Y)[C];return G(this,fe)&&Me(this,ce,tt).call(this,de)?de.__abortController.abort(new Error("evicted")):(G(this,he)||G(this,pe))&&(G(this,he)&&((me=G(this,R))==null||me.call(this,de,H,"evict")),G(this,pe)&&((_e=G(this,re))==null||_e.push([de,H,"evict"]))),G(this,ue).call(this,C),v&&(G(this,W)[C]=void 0,G(this,Y)[C]=void 0,G(this,ie).push(C)),G(this,$)===1?(Le(this,M,Le(this,L,0)),G(this,ie).length=0):Le(this,M,G(this,oe)[C]),G(this,P).delete(H),Xs(this,$)._--,C},K=new WeakSet,$a=function(v,C,H,de){let me=C===void 0?void 0:G(this,Y)[C];if(Me(this,ce,tt).call(this,me))return me;let _e=new i,{signal:Ae}=H;Ae==null||Ae.addEventListener("abort",()=>_e.abort(Ae.reason),{signal:_e.signal});let ke={signal:_e.signal,options:H,context:de},Ze=(Qe,ht=!1)=>{let{aborted:U}=_e.signal,q=H.ignoreFetchAbort&&Qe!==void 0;if(H.status&&(U&&!ht?(H.status.fetchAborted=!0,H.status.fetchError=_e.signal.reason,q&&(H.status.fetchAbortIgnored=!0)):H.status.fetchResolved=!0),U&&!q&&!ht)return He(_e.signal.reason);let Re=st;return G(this,Y)[C]===st&&(Qe===void 0?Re.__staleWhileFetching?G(this,Y)[C]=Re.__staleWhileFetching:this.delete(v):(H.status&&(H.status.fetchUpdated=!0),this.set(v,Qe,ke.options))),Qe},Tt=Qe=>(H.status&&(H.status.fetchRejected=!0,H.status.fetchError=Qe),He(Qe)),He=Qe=>{let{aborted:ht}=_e.signal,U=ht&&H.allowStaleOnFetchAbort,q=U||H.allowStaleOnFetchRejection,Re=q||H.noDeleteOnFetchRejection,Ie=st;if(G(this,Y)[C]===st&&(!Re||Ie.__staleWhileFetching===void 0?this.delete(v):U||(G(this,Y)[C]=Ie.__staleWhileFetching)),q)return H.status&&Ie.__staleWhileFetching!==void 0&&(H.status.returnedStale=!0),Ie.__staleWhileFetching;if(Ie.__returned===Ie)throw Qe},mt=(Qe,ht)=>{var q;let U=(q=G(this,B))==null?void 0:q.call(this,v,me,ke);U&&U instanceof Promise&&U.then(Re=>Qe(Re===void 0?void 0:Re),ht),_e.signal.addEventListener("abort",()=>{(!H.ignoreFetchAbort||H.allowStaleOnFetchAbort)&&(Qe(void 0),H.allowStaleOnFetchAbort&&(Qe=Re=>Ze(Re,!0)))})};H.status&&(H.status.fetchDispatched=!0);let st=new Promise(mt).then(Ze,Tt),at=Object.assign(st,{__abortController:_e,__staleWhileFetching:me,__returned:void 0});return C===void 0?(this.set(v,at,{...ke.options,status:void 0}),C=G(this,P).get(v)):G(this,Y)[C]=at,at},ce=new WeakSet,tt=function(v){if(!G(this,fe))return!1;let C=v;return!!C&&C instanceof Promise&&C.hasOwnProperty("__staleWhileFetching")&&C.__abortController instanceof i},Te=new WeakSet,Eh=function(v,C){G(this,te)[C]=v,G(this,oe)[v]=C},h=new WeakSet,fs=function(v){v!==G(this,L)&&(v===G(this,M)?Le(this,M,G(this,oe)[v]):Me(this,Te,Eh).call(this,G(this,te)[v],G(this,oe)[v]),Me(this,Te,Eh).call(this,G(this,L),v),Le(this,L,v))},m);e.LRUCache=p}),bn=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.ContainerIterator=e.Container=e.Base=void 0;var t=class{constructor(o=0){this.iteratorType=o}equals(o){return this.o===o.o}};e.ContainerIterator=t;var r=class{constructor(){this.i=0}get length(){return this.i}size(){return this.i}empty(){return this.i===0}};e.Base=r;var n=class extends r{};e.Container=n}),FO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=bn(),r=class extends t.Base{constructor(o=[]){super(),this.S=[];let i=this;o.forEach(function(s){i.push(s)})}clear(){this.i=0,this.S=[]}push(o){return this.S.push(o),this.i+=1,this.i}pop(){if(this.i!==0)return this.i-=1,this.S.pop()}top(){return this.S[this.i-1]}},n=r;e.default=n}),jO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=bn(),r=class extends t.Base{constructor(o=[]){super(),this.j=0,this.q=[];let i=this;o.forEach(function(s){i.push(s)})}clear(){this.q=[],this.i=this.j=0}push(o){let i=this.q.length;if(this.j/i>.5&&this.j+this.i>=i&&i>4096){let s=this.i;for(let a=0;a{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=bn(),r=class extends t.Base{constructor(o=[],i=function(a,l){return a>l?-1:a>1;for(let l=this.i-1>>1;l>=0;--l)this.k(l,a)}m(o){let i=this.C[o];for(;o>0;){let s=o-1>>1,a=this.C[s];if(this.v(a,i)<=0)break;this.C[o]=a,o=s}this.C[o]=i}k(o,i){let s=this.C[o];for(;o0&&(a=l,u=this.C[l]),this.v(u,s)>=0)break;this.C[o]=u,o=a}this.C[o]=s}clear(){this.i=0,this.C.length=0}push(o){this.C.push(o),this.m(this.i),this.i+=1}pop(){if(this.i===0)return;let o=this.C[0],i=this.C.pop();return this.i-=1,this.i&&(this.C[0]=i,this.k(0,this.i>>1)),o}top(){return this.C[0]}find(o){return this.C.indexOf(o)>=0}remove(o){let i=this.C.indexOf(o);return i<0?!1:(i===0?this.pop():i===this.i-1?(this.C.pop(),this.i-=1):(this.C.splice(i,1,this.C.pop()),this.i-=1,this.m(i),this.k(i,this.i>>1)),!0)}updateItem(o){let i=this.C.indexOf(o);return i<0?!1:(this.m(i),this.k(i,this.i>>1),!0)}toArray(){return[...this.C]}},n=r;e.default=n}),tp=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=bn(),r=class extends t.Container{},n=r;e.default=n}),wn=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.throwIteratorAccessError=t;function t(){throw new RangeError("Iterator access denied!")}}),fw=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.RandomIterator=void 0;var t=bn(),r=wn(),n=class extends t.ContainerIterator{constructor(o,i){super(i),this.o=o,this.iteratorType===0?(this.pre=function(){return this.o===0&&(0,r.throwIteratorAccessError)(),this.o-=1,this},this.next=function(){return this.o===this.container.size()&&(0,r.throwIteratorAccessError)(),this.o+=1,this}):(this.pre=function(){return this.o===this.container.size()-1&&(0,r.throwIteratorAccessError)(),this.o+=1,this},this.next=function(){return this.o===-1&&(0,r.throwIteratorAccessError)(),this.o-=1,this})}get pointer(){return this.container.getElementByPos(this.o)}set pointer(o){this.container.setElementByPos(this.o,o)}};e.RandomIterator=n}),HO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=n(tp()),r=fw();function n(a){return a&&a.t?a:{default:a}}var o=class hw extends r.RandomIterator{constructor(l,u,c){super(l,c),this.container=u}copy(){return new hw(this.o,this.container,this.iteratorType)}},i=class extends t.default{constructor(a=[],l=!0){if(super(),Array.isArray(a))this.J=l?[...a]:a,this.i=a.length;else{this.J=[];let u=this;a.forEach(function(c){u.pushBack(c)})}}clear(){this.i=0,this.J.length=0}begin(){return new o(0,this)}end(){return new o(this.i,this)}rBegin(){return new o(this.i-1,this,1)}rEnd(){return new o(-1,this,1)}front(){return this.J[0]}back(){return this.J[this.i-1]}getElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;return this.J[a]}eraseElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;return this.J.splice(a,1),this.i-=1,this.i}eraseElementByValue(a){let l=0;for(let u=0;uthis.i-1)throw new RangeError;this.J[a]=l}insert(a,l,u=1){if(a<0||a>this.i)throw new RangeError;return this.J.splice(a,0,...new Array(u).fill(l)),this.i+=u,this.i}find(a){for(let l=0;l{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=o(tp()),r=bn(),n=wn();function o(l){return l&&l.t?l:{default:l}}var i=class dw extends r.ContainerIterator{constructor(u,c,d,p){super(p),this.o=u,this.h=c,this.container=d,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l}set pointer(u){this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l=u}copy(){return new dw(this.o,this.h,this.container,this.iteratorType)}},s=class extends t.default{constructor(l=[]){super(),this.h={},this.p=this._=this.h.L=this.h.B=this.h;let u=this;l.forEach(function(c){u.pushBack(c)})}V(l){let{L:u,B:c}=l;u.B=c,c.L=u,l===this.p&&(this.p=c),l===this._&&(this._=u),this.i-=1}G(l,u){let c=u.B,d={l,L:u,B:c};u.B=d,c.L=d,u===this.h&&(this.p=d),c===this.h&&(this._=d),this.i+=1}clear(){this.i=0,this.p=this._=this.h.L=this.h.B=this.h}begin(){return new i(this.p,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this._,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){return this.p.l}back(){return this._.l}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return u.l}eraseElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return this.V(u),this.i}eraseElementByValue(l){let u=this.p;for(;u!==this.h;)u.l===l&&this.V(u),u=u.B;return this.i}eraseElementByIterator(l){let u=l.o;return u===this.h&&(0,n.throwIteratorAccessError)(),l=l.next(),this.V(u),l}pushBack(l){return this.G(l,this._),this.i}popBack(){if(this.i===0)return;let l=this._.l;return this.V(this._),l}pushFront(l){return this.G(l,this.h),this.i}popFront(){if(this.i===0)return;let l=this.p.l;return this.V(this.p),l}setElementByPos(l,u){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;c.l=u}insert(l,u,c=1){if(l<0||l>this.i)throw new RangeError;if(c<=0)return this.i;if(l===0)for(;c--;)this.pushFront(u);else if(l===this.i)for(;c--;)this.pushBack(u);else{let d=this.p;for(let g=1;g{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=n(tp()),r=fw();function n(a){return a&&a.t?a:{default:a}}var o=class pw extends r.RandomIterator{constructor(l,u,c){super(l,c),this.container=u}copy(){return new pw(this.o,this.container,this.iteratorType)}},i=class extends t.default{constructor(a=[],l=4096){super(),this.j=0,this.D=0,this.R=0,this.N=0,this.P=0,this.A=[];let u=(()=>{if(typeof a.length=="number")return a.length;if(typeof a.size=="number")return a.size;if(typeof a.size=="function")return a.size();throw new TypeError("Cannot get the length or size of the container")})();this.F=l,this.P=Math.max(Math.ceil(u/this.F),1);for(let p=0;p>1)-(c>>1),this.D=this.N=this.F-u%this.F>>1;let d=this;a.forEach(function(p){d.pushBack(p)})}T(){let a=[],l=Math.max(this.P>>1,1);for(let u=0;u>1}begin(){return new o(0,this)}end(){return new o(this.i,this)}rBegin(){return new o(this.i-1,this,1)}rEnd(){return new o(-1,this,1)}front(){if(this.i!==0)return this.A[this.j][this.D]}back(){if(this.i!==0)return this.A[this.R][this.N]}pushBack(a){return this.i&&(this.N0?this.N-=1:this.R>0?(this.R-=1,this.N=this.F-1):(this.R=this.P-1,this.N=this.F-1)),this.i-=1,a}pushFront(a){return this.i&&(this.D>0?this.D-=1:this.j>0?(this.j-=1,this.D=this.F-1):(this.j=this.P-1,this.D=this.F-1),this.j===this.R&&this.D===this.N&&this.T()),this.i+=1,this.A[this.j][this.D]=a,this.i}popFront(){if(this.i===0)return;let a=this.A[this.j][this.D];return this.i!==1&&(this.Dthis.i-1)throw new RangeError;let{curNodeBucketIndex:l,curNodePointerIndex:u}=this.O(a);return this.A[l][u]}setElementByPos(a,l){if(a<0||a>this.i-1)throw new RangeError;let{curNodeBucketIndex:u,curNodePointerIndex:c}=this.O(a);this.A[u][c]=l}insert(a,l,u=1){if(a<0||a>this.i)throw new RangeError;if(a===0)for(;u--;)this.pushFront(l);else if(a===this.i)for(;u--;)this.pushBack(l);else{let c=[];for(let d=a;dthis.i-1)throw new RangeError;if(a===0)this.popFront();else if(a===this.i-1)this.popBack();else{let l=[];for(let c=a+1;ca;)this.popBack();return this.i}sort(a){let l=[];for(let u=0;u{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.TreeNodeEnableIndex=e.TreeNode=void 0;var t=class{constructor(n,o){this.ee=1,this.u=void 0,this.l=void 0,this.U=void 0,this.W=void 0,this.tt=void 0,this.u=n,this.l=o}L(){let n=this;if(n.ee===1&&n.tt.tt===n)n=n.W;else if(n.U)for(n=n.U;n.W;)n=n.W;else{let o=n.tt;for(;o.U===n;)n=o,o=n.tt;n=o}return n}B(){let n=this;if(n.W){for(n=n.W;n.U;)n=n.U;return n}else{let o=n.tt;for(;o.W===n;)n=o,o=n.tt;return n.W!==o?o:n}}te(){let n=this.tt,o=this.W,i=o.U;return n.tt===this?n.tt=o:n.U===this?n.U=o:n.W=o,o.tt=n,o.U=this,this.tt=o,this.W=i,i&&(i.tt=this),o}se(){let n=this.tt,o=this.U,i=o.W;return n.tt===this?n.tt=o:n.U===this?n.U=o:n.W=o,o.tt=n,o.W=this,this.tt=o,this.U=i,i&&(i.tt=this),o}};e.TreeNode=t;var r=class extends t{constructor(){super(...arguments),this.rt=1}te(){let n=super.te();return this.ie(),n.ie(),n}se(){let n=super.se();return this.ie(),n.ie(),n}ie(){this.rt=1,this.U&&(this.rt+=this.U.rt),this.W&&(this.rt+=this.W.rt)}};e.TreeNodeEnableIndex=r}),gw=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=KO(),r=bn(),n=wn(),o=class extends r.Container{constructor(s=function(l,u){return lu?1:0},a=!1){super(),this.Y=void 0,this.v=s,a?(this.re=t.TreeNodeEnableIndex,this.M=function(l,u,c){let d=this.ne(l,u,c);if(d){let p=d.tt;for(;p!==this.h;)p.rt+=1,p=p.tt;let g=this.he(d);if(g){let{parentNode:_,grandParent:b,curNode:x}=g;_.ie(),b.ie(),x.ie()}}return this.i},this.V=function(l){let u=this.fe(l);for(;u!==this.h;)u.rt-=1,u=u.tt}):(this.re=t.TreeNode,this.M=function(l,u,c){let d=this.ne(l,u,c);return d&&this.he(d),this.i},this.V=this.fe),this.h=new this.re}X(s,a){let l=this.h;for(;s;){let u=this.v(s.u,a);if(u<0)s=s.W;else if(u>0)l=s,s=s.U;else return s}return l}Z(s,a){let l=this.h;for(;s;)this.v(s.u,a)<=0?s=s.W:(l=s,s=s.U);return l}$(s,a){let l=this.h;for(;s;){let u=this.v(s.u,a);if(u<0)l=s,s=s.W;else if(u>0)s=s.U;else return s}return l}rr(s,a){let l=this.h;for(;s;)this.v(s.u,a)<0?(l=s,s=s.W):s=s.U;return l}ue(s){for(;;){let a=s.tt;if(a===this.h)return;if(s.ee===1){s.ee=0;return}if(s===a.U){let l=a.W;if(l.ee===1)l.ee=0,a.ee=1,a===this.Y?this.Y=a.te():a.te();else if(l.W&&l.W.ee===1){l.ee=a.ee,a.ee=0,l.W.ee=0,a===this.Y?this.Y=a.te():a.te();return}else l.U&&l.U.ee===1?(l.ee=1,l.U.ee=0,l.se()):(l.ee=1,s=a)}else{let l=a.U;if(l.ee===1)l.ee=0,a.ee=1,a===this.Y?this.Y=a.se():a.se();else if(l.U&&l.U.ee===1){l.ee=a.ee,a.ee=0,l.U.ee=0,a===this.Y?this.Y=a.se():a.se();return}else l.W&&l.W.ee===1?(l.ee=1,l.W.ee=0,l.te()):(l.ee=1,s=a)}}}fe(s){if(this.i===1)return this.clear(),this.h;let a=s;for(;a.U||a.W;){if(a.W)for(a=a.W;a.U;)a=a.U;else a=a.U;[s.u,a.u]=[a.u,s.u],[s.l,a.l]=[a.l,s.l],s=a}this.h.U===a?this.h.U=a.tt:this.h.W===a&&(this.h.W=a.tt),this.ue(a);let l=a.tt;return a===l.U?l.U=void 0:l.W=void 0,this.i-=1,this.Y.ee=0,l}oe(s,a){return s===void 0?!1:this.oe(s.U,a)||a(s)?!0:this.oe(s.W,a)}he(s){for(;;){let a=s.tt;if(a.ee===0)return;let l=a.tt;if(a===l.U){let u=l.W;if(u&&u.ee===1){if(u.ee=a.ee=0,l===this.Y)return;l.ee=1,s=l;continue}else if(s===a.W){if(s.ee=0,s.U&&(s.U.tt=a),s.W&&(s.W.tt=l),a.W=s.U,l.U=s.W,s.U=a,s.W=l,l===this.Y)this.Y=s,this.h.tt=s;else{let c=l.tt;c.U===l?c.U=s:c.W=s}return s.tt=l.tt,a.tt=s,l.tt=s,l.ee=1,{parentNode:a,grandParent:l,curNode:s}}else a.ee=0,l===this.Y?this.Y=l.se():l.se(),l.ee=1}else{let u=l.U;if(u&&u.ee===1){if(u.ee=a.ee=0,l===this.Y)return;l.ee=1,s=l;continue}else if(s===a.U){if(s.ee=0,s.U&&(s.U.tt=l),s.W&&(s.W.tt=a),l.W=s.U,a.U=s.W,s.U=l,s.W=a,l===this.Y)this.Y=s,this.h.tt=s;else{let c=l.tt;c.U===l?c.U=s:c.W=s}return s.tt=l.tt,a.tt=s,l.tt=s,l.ee=1,{parentNode:a,grandParent:l,curNode:s}}else a.ee=0,l===this.Y?this.Y=l.te():l.te(),l.ee=1}return}}ne(s,a,l){if(this.Y===void 0){this.i+=1,this.Y=new this.re(s,a),this.Y.ee=0,this.Y.tt=this.h,this.h.tt=this.Y,this.h.U=this.Y,this.h.W=this.Y;return}let u,c=this.h.U,d=this.v(c.u,s);if(d===0){c.l=a;return}else if(d>0)c.U=new this.re(s,a),c.U.tt=c,u=c.U,this.h.U=u;else{let p=this.h.W,g=this.v(p.u,s);if(g===0){p.l=a;return}else if(g<0)p.W=new this.re(s,a),p.W.tt=p,u=p.W,this.h.W=u;else{if(l!==void 0){let _=l.o;if(_!==this.h){let b=this.v(_.u,s);if(b===0){_.l=a;return}else if(b>0){let x=_.L(),k=this.v(x.u,s);if(k===0){x.l=a;return}else k<0&&(u=new this.re(s,a),x.W===void 0?(x.W=u,u.tt=x):(_.U=u,u.tt=_))}}}if(u===void 0)for(u=this.Y;;){let _=this.v(u.u,s);if(_>0){if(u.U===void 0){u.U=new this.re(s,a),u.U.tt=u,u=u.U;break}u=u.U}else if(_<0){if(u.W===void 0){u.W=new this.re(s,a),u.W.tt=u,u=u.W;break}u=u.W}else{u.l=a;return}}}}return this.i+=1,u}I(s,a){for(;s;){let l=this.v(s.u,a);if(l<0)s=s.W;else if(l>0)s=s.U;else return s}return s||this.h}clear(){this.i=0,this.Y=void 0,this.h.tt=void 0,this.h.U=this.h.W=void 0}updateKeyByIterator(s,a){let l=s.o;if(l===this.h&&(0,n.throwIteratorAccessError)(),this.i===1)return l.u=a,!0;if(l===this.h.U)return this.v(l.B().u,a)>0?(l.u=a,!0):!1;if(l===this.h.W)return this.v(l.L().u,a)<0?(l.u=a,!0):!1;let u=l.L().u;if(this.v(u,a)>=0)return!1;let c=l.B().u;return this.v(c,a)<=0?!1:(l.u=a,!0)}eraseElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;let a=0,l=this;return this.oe(this.Y,function(u){return s===a?(l.V(u),!0):(a+=1,!1)}),this.i}eraseElementByKey(s){if(this.i===0)return!1;let a=this.I(this.Y,s);return a===this.h?!1:(this.V(a),!0)}eraseElementByIterator(s){let a=s.o;a===this.h&&(0,n.throwIteratorAccessError)();let l=a.W===void 0;return s.iteratorType===0?l&&s.next():(!l||a.U===void 0)&&s.next(),this.V(a),s}forEach(s){let a=0;for(let l of this)s(l,a++,this)}getElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;let a,l=0;for(let u of this){if(l===s){a=u;break}l+=1}return a}getHeight(){if(this.i===0)return 0;let s=function(a){return a?Math.max(s(a.U),s(a.W))+1:0};return s(this.Y)}},i=o;e.default=i}),mw=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=bn(),r=wn(),n=class extends t.ContainerIterator{constructor(i,s,a){super(a),this.o=i,this.h=s,this.iteratorType===0?(this.pre=function(){return this.o===this.h.U&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this}):(this.pre=function(){return this.o===this.h.W&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this})}get index(){let i=this.o,s=this.h.tt;if(i===this.h)return s?s.rt-1:0;let a=0;for(i.U&&(a+=i.U.rt);i!==s;){let l=i.tt;i===l.W&&(a+=1,l.U&&(a+=l.U.rt)),i=l}return a}},o=n;e.default=o}),YO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=o(gw()),r=o(mw()),n=wn();function o(l){return l&&l.t?l:{default:l}}var i=class yw extends r.default{constructor(u,c,d,p){super(u,c,p),this.container=d}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.u}copy(){return new yw(this.o,this.h,this.container,this.iteratorType)}},s=class extends t.default{constructor(l=[],u,c){super(u,c);let d=this;l.forEach(function(p){d.insert(p)})}*K(l){l!==void 0&&(yield*this.K(l.U),yield l.u,yield*this.K(l.W))}begin(){return new i(this.h.U||this.h,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this.h.W||this.h,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){return this.h.U?this.h.U.u:void 0}back(){return this.h.W?this.h.W.u:void 0}insert(l,u){return this.M(l,void 0,u)}find(l){let u=this.I(this.Y,l);return new i(u,this.h,this)}lowerBound(l){let u=this.X(this.Y,l);return new i(u,this.h,this)}upperBound(l){let u=this.Z(this.Y,l);return new i(u,this.h,this)}reverseLowerBound(l){let u=this.$(this.Y,l);return new i(u,this.h,this)}reverseUpperBound(l){let u=this.rr(this.Y,l);return new i(u,this.h,this)}union(l){let u=this;return l.forEach(function(c){u.insert(c)}),this.i}[Symbol.iterator](){return this.K(this.Y)}},a=s;e.default=a}),zO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=o(gw()),r=o(mw()),n=wn();function o(l){return l&&l.t?l:{default:l}}var i=class _w extends r.default{constructor(u,c,d,p){super(u,c,p),this.container=d}get pointer(){this.o===this.h&&(0,n.throwIteratorAccessError)();let u=this;return new Proxy([],{get(c,d){if(d==="0")return u.o.u;if(d==="1")return u.o.l},set(c,d,p){if(d!=="1")throw new TypeError("props must be 1");return u.o.l=p,!0}})}copy(){return new _w(this.o,this.h,this.container,this.iteratorType)}},s=class extends t.default{constructor(l=[],u,c){super(u,c);let d=this;l.forEach(function(p){d.setElement(p[0],p[1])})}*K(l){l!==void 0&&(yield*this.K(l.U),yield[l.u,l.l],yield*this.K(l.W))}begin(){return new i(this.h.U||this.h,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this.h.W||this.h,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){if(this.i===0)return;let l=this.h.U;return[l.u,l.l]}back(){if(this.i===0)return;let l=this.h.W;return[l.u,l.l]}lowerBound(l){let u=this.X(this.Y,l);return new i(u,this.h,this)}upperBound(l){let u=this.Z(this.Y,l);return new i(u,this.h,this)}reverseLowerBound(l){let u=this.$(this.Y,l);return new i(u,this.h,this)}reverseUpperBound(l){let u=this.rr(this.Y,l);return new i(u,this.h,this)}setElement(l,u,c){return this.M(l,u,c)}find(l){let u=this.I(this.Y,l);return new i(u,this.h,this)}getElementByKey(l){return this.I(this.Y,l).l}union(l){let u=this;return l.forEach(function(c){u.setElement(c[0],c[1])}),this.i}[Symbol.iterator](){return this.K(this.Y)}},a=s;e.default=a}),bw=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=t;function t(r){let n=typeof r;return n==="object"&&r!==null||n==="function"}}),ww=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.HashContainerIterator=e.HashContainer=void 0;var t=bn(),r=o(bw()),n=wn();function o(a){return a&&a.t?a:{default:a}}var i=class extends t.ContainerIterator{constructor(a,l,u){super(u),this.o=a,this.h=l,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}};e.HashContainerIterator=i;var s=class extends t.Container{constructor(){super(),this.H=[],this.g={},this.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(this.g,null),this.h={},this.h.L=this.h.B=this.p=this._=this.h}V(a){let{L:l,B:u}=a;l.B=u,u.L=l,a===this.p&&(this.p=u),a===this._&&(this._=l),this.i-=1}M(a,l,u){u===void 0&&(u=(0,r.default)(a));let c;if(u){let d=a[this.HASH_TAG];if(d!==void 0)return this.H[d].l=l,this.i;Object.defineProperty(a,this.HASH_TAG,{value:this.H.length,configurable:!0}),c={u:a,l,L:this._,B:this.h},this.H.push(c)}else{let d=this.g[a];if(d)return d.l=l,this.i;c={u:a,l,L:this._,B:this.h},this.g[a]=c}return this.i===0?(this.p=c,this.h.B=c):this._.B=c,this._=c,this.h.L=c,++this.i}I(a,l){if(l===void 0&&(l=(0,r.default)(a)),l){let u=a[this.HASH_TAG];return u===void 0?this.h:this.H[u]}else return this.g[a]||this.h}clear(){let a=this.HASH_TAG;this.H.forEach(function(l){delete l.u[a]}),this.H=[],this.g={},Object.setPrototypeOf(this.g,null),this.i=0,this.p=this._=this.h.L=this.h.B=this.h}eraseElementByKey(a,l){let u;if(l===void 0&&(l=(0,r.default)(a)),l){let c=a[this.HASH_TAG];if(c===void 0)return!1;delete a[this.HASH_TAG],u=this.H[c],delete this.H[c]}else{if(u=this.g[a],u===void 0)return!1;delete this.g[a]}return this.V(u),!0}eraseElementByIterator(a){let l=a.o;return l===this.h&&(0,n.throwIteratorAccessError)(),this.V(l),a.next()}eraseElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let l=this.p;for(;a--;)l=l.B;return this.V(l),this.i}};e.HashContainer=s}),GO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=ww(),r=wn(),n=class vw extends t.HashContainerIterator{constructor(a,l,u,c){super(a,l,c),this.container=u}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.u}copy(){return new vw(this.o,this.h,this.container,this.iteratorType)}},o=class extends t.HashContainer{constructor(s=[]){super();let a=this;s.forEach(function(l){a.insert(l)})}begin(){return new n(this.p,this.h,this)}end(){return new n(this.h,this.h,this)}rBegin(){return new n(this._,this.h,this,1)}rEnd(){return new n(this.h,this.h,this,1)}front(){return this.p.u}back(){return this._.u}insert(s,a){return this.M(s,void 0,a)}getElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;let a=this.p;for(;s--;)a=a.B;return a.u}find(s,a){let l=this.I(s,a);return new n(l,this.h,this)}forEach(s){let a=0,l=this.p;for(;l!==this.h;)s(l.u,a++,this),l=l.B}[Symbol.iterator](){return(function*(){let s=this.p;for(;s!==this.h;)yield s.u,s=s.B}).bind(this)()}},i=o;e.default=i}),QO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=ww(),r=o(bw()),n=wn();function o(l){return l&&l.t?l:{default:l}}var i=class Ew extends t.HashContainerIterator{constructor(u,c,d,p){super(u,c,p),this.container=d}get pointer(){this.o===this.h&&(0,n.throwIteratorAccessError)();let u=this;return new Proxy([],{get(c,d){if(d==="0")return u.o.u;if(d==="1")return u.o.l},set(c,d,p){if(d!=="1")throw new TypeError("props must be 1");return u.o.l=p,!0}})}copy(){return new Ew(this.o,this.h,this.container,this.iteratorType)}},s=class extends t.HashContainer{constructor(l=[]){super();let u=this;l.forEach(function(c){u.setElement(c[0],c[1])})}begin(){return new i(this.p,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this._,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){if(this.i!==0)return[this.p.u,this.p.l]}back(){if(this.i!==0)return[this._.u,this._.l]}setElement(l,u,c){return this.M(l,u,c)}getElementByKey(l,u){if(u===void 0&&(u=(0,r.default)(l)),u){let d=l[this.HASH_TAG];return d!==void 0?this.H[d].l:void 0}let c=this.g[l];return c?c.l:void 0}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return[u.u,u.l]}find(l,u){let c=this.I(l,u);return new i(c,this.h,this)}forEach(l){let u=0,c=this.p;for(;c!==this.h;)l([c.u,c.l],u++,this),c=c.B}[Symbol.iterator](){return(function*(){let l=this.p;for(;l!==this.h;)yield[l.u,l.l],l=l.B}).bind(this)()}},a=s;e.default=a}),XO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"t",{value:!0}),Object.defineProperty(e,"Deque",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"HashMap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"HashSet",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"LinkList",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"OrderedMap",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"OrderedSet",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"PriorityQueue",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Queue",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Stack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Vector",{enumerable:!0,get:function(){return o.default}});var t=d(FO()),r=d(jO()),n=d(WO()),o=d(HO()),i=d(VO()),s=d(qO()),a=d(YO()),l=d(zO()),u=d(GO()),c=d(QO());function d(p){return p&&p.t?p:{default:p}}}),JO=Oe((e,t)=>{we(),Ee(),ve();var r=XO().OrderedSet,n=cn()("number-allocator:trace"),o=cn()("number-allocator:error");function i(a,l){this.low=a,this.high=l}i.prototype.equals=function(a){return this.low===a.low&&this.high===a.high},i.prototype.compare=function(a){return this.lowu.compare(c)),n("Create"),this.clear()}s.prototype.firstVacant=function(){return this.ss.size()===0?null:this.ss.front().low},s.prototype.alloc=function(){if(this.ss.size()===0)return n("alloc():empty"),null;let a=this.ss.begin(),l=a.pointer.low,u=a.pointer.high,c=l;return c+1<=u?this.ss.updateKeyByIterator(a,new i(l+1,u)):this.ss.eraseElementByPos(0),n("alloc():"+c),c},s.prototype.use=function(a){let l=new i(a,a),u=this.ss.lowerBound(l);if(!u.equals(this.ss.end())){let c=u.pointer.low,d=u.pointer.high;return u.pointer.equals(l)?(this.ss.eraseElementByIterator(u),n("use():"+a),!0):c>a?!1:c===a?(this.ss.updateKeyByIterator(u,new i(c+1,d)),n("use():"+a),!0):d===a?(this.ss.updateKeyByIterator(u,new i(c,d-1)),n("use():"+a),!0):(this.ss.updateKeyByIterator(u,new i(a+1,d)),this.ss.insert(new i(c,a-1)),n("use():"+a),!0)}return n("use():failed"),!1},s.prototype.free=function(a){if(athis.max){o("free():"+a+" is out of range");return}let l=new i(a,a),u=this.ss.upperBound(l);if(u.equals(this.ss.end())){if(u.equals(this.ss.begin())){this.ss.insert(l);return}u.pre();let c=u.pointer.high;u.pointer.high+1===a?this.ss.updateKeyByIterator(u,new i(c,a)):this.ss.insert(l)}else if(u.equals(this.ss.begin()))if(a+1===u.pointer.low){let c=u.pointer.high;this.ss.updateKeyByIterator(u,new i(a,c))}else this.ss.insert(l);else{let c=u.pointer.low,d=u.pointer.high;u.pre();let p=u.pointer.low;u.pointer.high+1===a?a+1===c?(this.ss.eraseElementByIterator(u),this.ss.updateKeyByIterator(u,new i(p,d))):this.ss.updateKeyByIterator(u,new i(p,a)):a+1===c?(this.ss.eraseElementByIterator(u.next()),this.ss.insert(new i(a,d))):this.ss.insert(l)}n("free():"+a)},s.prototype.clear=function(){n("clear()"),this.ss.clear(),this.ss.insert(new i(this.min,this.max))},s.prototype.intervalCount=function(){return this.ss.size()},s.prototype.dump=function(){console.log("length:"+this.ss.size());for(let a of this.ss)console.log(a)},t.exports=s}),Sw=Oe((e,t)=>{we(),Ee(),ve();var r=JO();t.exports.NumberAllocator=r}),ZO=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=UO(),r=Sw(),n=class{constructor(o){o>0&&(this.aliasToTopic=new t.LRUCache({max:o}),this.topicToAlias={},this.numberAllocator=new r.NumberAllocator(1,o),this.max=o,this.length=0)}put(o,i){if(i===0||i>this.max)return!1;let s=this.aliasToTopic.get(i);return s&&delete this.topicToAlias[s],this.aliasToTopic.set(i,o),this.topicToAlias[o]=i,this.numberAllocator.use(i),this.length=this.aliasToTopic.size,!0}getTopicByAlias(o){return this.aliasToTopic.get(o)}getAliasByTopic(o){let i=this.topicToAlias[o];return typeof i<"u"&&this.aliasToTopic.get(i),i}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){return this.numberAllocator.firstVacant()||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}};e.default=n}),ek=Oe(e=>{we(),Ee(),ve();var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var r=iu(),n=t(ZO()),o=Vo(),i=(s,a)=>{s.log("_handleConnack");let{options:l}=s,u=l.protocolVersion===5?a.reasonCode:a.returnCode;if(clearTimeout(s.connackTimer),delete s.topicAliasSend,a.properties){if(a.properties.topicAliasMaximum){if(a.properties.topicAliasMaximum>65535){s.emit("error",new Error("topicAliasMaximum from broker is out of range"));return}a.properties.topicAliasMaximum>0&&(s.topicAliasSend=new n.default(a.properties.topicAliasMaximum))}a.properties.serverKeepAlive&&l.keepalive&&(l.keepalive=a.properties.serverKeepAlive),a.properties.maximumPacketSize&&(l.properties||(l.properties={}),l.properties.maximumPacketSize=a.properties.maximumPacketSize)}if(u===0)s.reconnecting=!1,s._onConnect(a);else if(u>0){let c=new o.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[u]}`,u);s.emit("error",c)}};e.default=i}),tk=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=(r,n,o)=>{r.log("handling pubrel packet");let i=typeof o<"u"?o:r.noop,{messageId:s}=n,a={cmd:"pubcomp",messageId:s};r.incomingStore.get(n,(l,u)=>{l?r._sendPacket(a,i):(r.emit("message",u.topic,u.payload,u),r.handleMessage(u,c=>{if(c)return i(c);r.incomingStore.del(u,r.noop),r._sendPacket(a,i)}))})};e.default=t}),rk=Oe(e=>{we(),Ee(),ve();var t=e&&e.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(BO()),n=t($O()),o=t(ek()),i=t(iu()),s=t(tk()),a=(l,u,c)=>{let{options:d}=l;if(d.protocolVersion===5&&d.properties&&d.properties.maximumPacketSize&&d.properties.maximumPacketSize{we(),Ee(),ve();var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0}),e.TypedEventEmitter=void 0;var r=t((Ho(),ze(Fi))),n=Vo(),o=class{};e.TypedEventEmitter=o,(0,n.applyMixin)(o,r.default)}),ou=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0}),e.isReactNativeBrowser=e.isWebWorker=void 0;var t=()=>{var i;return typeof window<"u"?typeof navigator<"u"&&((i=navigator.userAgent)===null||i===void 0?void 0:i.toLowerCase().indexOf(" electron/"))>-1&&Ve!=null&&Ve.versions?!Object.prototype.hasOwnProperty.call(Ve.versions,"electron"):typeof window.document<"u":!1},r=()=>{var i,s;return!!(typeof self=="object"&&!((s=(i=self==null?void 0:self.constructor)===null||i===void 0?void 0:i.name)===null||s===void 0)&&s.includes("WorkerGlobalScope"))},n=()=>typeof navigator<"u"&&navigator.product==="ReactNative",o=t()||r()||n();e.isWebWorker=r(),e.isReactNativeBrowser=n(),e.default=o}),ik=Oe((e,t)=>{we(),Ee(),ve(),function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.fastUniqueNumbers={}))}(e,function(r){var n=function(g){return function(_){var b=g(_);return _.add(b),b}},o=function(g){return function(_,b){return g.set(_,b),b}},i=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,s=536870912,a=s*2,l=function(g,_){return function(b){var x=_.get(b),k=x===void 0?b.size:xi)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;b.has(k);)k=Math.floor(Math.random()*i);return g(b,k)}},u=new WeakMap,c=o(u),d=l(c,u),p=n(d);r.addUniqueNumber=p,r.generateUniqueNumber=d})}),ok=Oe((e,t)=>{we(),Ee(),ve(),function(r,n){typeof e=="object"&&typeof t<"u"?n(e,ik()):typeof define=="function"&&define.amd?define(["exports","fast-unique-numbers"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.workerTimersBroker={},r.fastUniqueNumbers))}(e,function(r,n){var o=function(a){return a.method!==void 0&&a.method==="call"},i=function(a){return a.error===null&&typeof a.id=="number"},s=function(a){var l=new Map([[0,function(){}]]),u=new Map([[0,function(){}]]),c=new Map,d=new Worker(a);d.addEventListener("message",function(x){var k=x.data;if(o(k)){var R=k.params,A=R.timerId,B=R.timerType;if(B==="interval"){var $=l.get(A);if(typeof $=="number"){var I=c.get($);if(I===void 0||I.timerId!==A||I.timerType!==B)throw new Error("The timer is in an undefined state.")}else if(typeof $<"u")$();else throw new Error("The timer is in an undefined state.")}else if(B==="timeout"){var P=u.get(A);if(typeof P=="number"){var W=c.get(P);if(W===void 0||W.timerId!==A||W.timerType!==B)throw new Error("The timer is in an undefined state.")}else if(typeof P<"u")P(),u.delete(A);else throw new Error("The timer is in an undefined state.")}}else if(i(k)){var Y=k.id,oe=c.get(Y);if(oe===void 0)throw new Error("The timer is in an undefined state.");var te=oe.timerId,M=oe.timerType;c.delete(Y),M==="interval"?l.delete(te):u.delete(te)}else{var L=k.error.message;throw new Error(L)}});var p=function(x){var k=n.generateUniqueNumber(c);c.set(k,{timerId:x,timerType:"interval"}),l.set(x,k),d.postMessage({id:k,method:"clear",params:{timerId:x,timerType:"interval"}})},g=function(x){var k=n.generateUniqueNumber(c);c.set(k,{timerId:x,timerType:"timeout"}),u.set(x,k),d.postMessage({id:k,method:"clear",params:{timerId:x,timerType:"timeout"}})},_=function(x){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,R=n.generateUniqueNumber(l);return l.set(R,function(){x(),typeof l.get(R)=="function"&&d.postMessage({id:null,method:"set",params:{delay:k,now:performance.now(),timerId:R,timerType:"interval"}})}),d.postMessage({id:null,method:"set",params:{delay:k,now:performance.now(),timerId:R,timerType:"interval"}}),R},b=function(x){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,R=n.generateUniqueNumber(u);return u.set(R,x),d.postMessage({id:null,method:"set",params:{delay:k,now:performance.now(),timerId:R,timerType:"timeout"}}),R};return{clearInterval:p,clearTimeout:g,setInterval:_,setTimeout:b}};r.load=s})}),sk=Oe((e,t)=>{we(),Ee(),ve(),function(r,n){typeof e=="object"&&typeof t<"u"?n(e,ok()):typeof define=="function"&&define.amd?define(["exports","worker-timers-broker"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.workerTimers={},r.workerTimersBroker))}(e,function(r,n){var o=function(d,p){var g=null;return function(){if(g!==null)return g;var _=new Blob([p],{type:"application/javascript; charset=utf-8"}),b=URL.createObjectURL(_);return g=d(b),setTimeout(function(){return URL.revokeObjectURL(b)}),g}},i=`(()=>{var e={472:(e,t,r)=>{var o,i;void 0===(i="function"==typeof(o=function(){"use strict";var e=new Map,t=new Map,r=function(t){var r=e.get(t);if(void 0===r)throw new Error('There is no interval scheduled with the given id "'.concat(t,'".'));clearTimeout(r),e.delete(t)},o=function(e){var r=t.get(e);if(void 0===r)throw new Error('There is no timeout scheduled with the given id "'.concat(e,'".'));clearTimeout(r),t.delete(e)},i=function(e,t){var r,o=performance.now();return{expected:o+(r=e-Math.max(0,o-t)),remainingDelay:r}},n=function e(t,r,o,i){var n=performance.now();n>o?postMessage({id:null,method:"call",params:{timerId:r,timerType:i}}):t.set(r,setTimeout(e,o-n,t,r,o,i))},a=function(t,r,o){var a=i(t,o),s=a.expected,d=a.remainingDelay;e.set(r,setTimeout(n,d,e,r,s,"interval"))},s=function(e,r,o){var a=i(e,o),s=a.expected,d=a.remainingDelay;t.set(r,setTimeout(n,d,t,r,s,"timeout"))};addEventListener("message",(function(e){var t=e.data;try{if("clear"===t.method){var i=t.id,n=t.params,d=n.timerId,c=n.timerType;if("interval"===c)r(d),postMessage({error:null,id:i});else{if("timeout"!==c)throw new Error('The given type "'.concat(c,'" is not supported'));o(d),postMessage({error:null,id:i})}}else{if("set"!==t.method)throw new Error('The given method "'.concat(t.method,'" is not supported'));var u=t.params,l=u.delay,p=u.now,m=u.timerId,v=u.timerType;if("interval"===v)a(l,m,p);else{if("timeout"!==v)throw new Error('The given type "'.concat(v,'" is not supported'));s(l,m,p)}}}catch(e){postMessage({error:{message:e.message},id:t.id,result:null})}}))})?o.call(t,r,t,e):o)||(e.exports=i)}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(472)})()})();`,s=o(n.load,i),a=function(d){return s().clearInterval(d)},l=function(d){return s().clearTimeout(d)},u=function(){var d;return(d=s()).setInterval.apply(d,arguments)},c=function(){var d;return(d=s()).setTimeout.apply(d,arguments)};r.clearInterval=a,r.clearTimeout=l,r.setInterval=u,r.setTimeout=c})}),ak=Oe(e=>{we(),Ee(),ve();var t=e&&e.__createBinding||(Object.create?function(u,c,d,p){p===void 0&&(p=d);var g=Object.getOwnPropertyDescriptor(c,d);(!g||("get"in g?!c.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,p,g)}:function(u,c,d,p){p===void 0&&(p=d),u[p]=c[d]}),r=e&&e.__setModuleDefault||(Object.create?function(u,c){Object.defineProperty(u,"default",{enumerable:!0,value:c})}:function(u,c){u.default=c}),n=e&&e.__importStar||function(u){if(u&&u.__esModule)return u;var c={};if(u!=null)for(var d in u)d!=="default"&&Object.prototype.hasOwnProperty.call(u,d)&&t(c,u,d);return r(c,u),c};Object.defineProperty(e,"__esModule",{value:!0});var o=n(ou()),i=sk(),s={set:i.setInterval,clear:i.clearInterval},a={set:(u,c)=>setInterval(u,c),clear:u=>clearInterval(u)},l=u=>{switch(u){case"native":return a;case"worker":return s;case"auto":default:return o.default&&!o.isWebWorker&&!o.isReactNativeBrowser?s:a}};e.default=l}),Aw=Oe(e=>{we(),Ee(),ve();var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(ak()),n=class{get keepaliveTimeoutTimestamp(){return this._keepaliveTimeoutTimestamp}get intervalEvery(){return this._intervalEvery}get keepalive(){return this._keepalive}constructor(o,i){this.destroyed=!1,this.client=o,this.timer=typeof i=="object"&&"set"in i&&"clear"in i?i:(0,r.default)(i),this.setKeepalive(o.options.keepalive)}clear(){this.timerId&&(this.timer.clear(this.timerId),this.timerId=null)}setKeepalive(o){if(o*=1e3,isNaN(o)||o<=0||o>2147483647)throw new Error(`Keepalive value must be an integer between 0 and 2147483647. Provided value is ${o}`);this._keepalive=o,this.reschedule(),this.client.log(`KeepaliveManager: set keepalive to ${o}ms`)}destroy(){this.clear(),this.destroyed=!0}reschedule(){if(this.destroyed)return;this.clear(),this.counter=0;let o=Math.ceil(this._keepalive*1.5);this._keepaliveTimeoutTimestamp=Date.now()+o,this._intervalEvery=Math.ceil(this._keepalive/2),this.timerId=this.timer.set(()=>{this.destroyed||(this.counter+=1,this.counter===2?this.client.sendPing():this.counter>2&&this.client.onKeepaliveTimeout())},this._intervalEvery)}};e.default=n}),Sh=Oe(e=>{we(),Ee(),ve();var t=e&&e.__createBinding||(Object.create?function($,I,P,W){W===void 0&&(W=P);var Y=Object.getOwnPropertyDescriptor(I,P);(!Y||("get"in Y?!I.__esModule:Y.writable||Y.configurable))&&(Y={enumerable:!0,get:function(){return I[P]}}),Object.defineProperty($,W,Y)}:function($,I,P,W){W===void 0&&(W=P),$[W]=I[P]}),r=e&&e.__setModuleDefault||(Object.create?function($,I){Object.defineProperty($,"default",{enumerable:!0,value:I})}:function($,I){$.default=I}),n=e&&e.__importStar||function($){if($&&$.__esModule)return $;var I={};if($!=null)for(var P in $)P!=="default"&&Object.prototype.hasOwnProperty.call($,P)&&t(I,$,P);return r(I,$),I},o=e&&e.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(e,"__esModule",{value:!0});var i=o(QR()),s=o(NO()),a=o(aw()),l=ji(),u=o(PO()),c=n(LO()),d=o(cn()),p=o(lw()),g=o(rk()),_=Vo(),b=nk(),x=o(Aw()),k=n(ou()),R=globalThis.setImmediate||((...$)=>{let I=$.shift();(0,_.nextTick)(()=>{I(...$)})}),A={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:30*1e3,clean:!0,resubscribe:!0,writeCache:!0,timerVariant:"auto"},B=class Ah extends b.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(I,P){super(),this.options=P||{};for(let W in A)typeof this.options[W]>"u"?this.options[W]=A[W]:this.options[W]=P[W];this.log=this.options.log||(0,d.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: version:",Ah.VERSION),k.isWebWorker?this.log("MqttClient :: environment","webworker"):this.log("MqttClient :: environment",k.default?"browser":"node"),this.log("MqttClient :: options.protocol",P.protocol),this.log("MqttClient :: options.protocolVersion",P.protocolVersion),this.log("MqttClient :: options.username",P.username),this.log("MqttClient :: options.keepalive",P.keepalive),this.log("MqttClient :: options.reconnectPeriod",P.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",P.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",P.properties?P.properties.topicAliasMaximum:void 0),this.options.clientId=typeof P.clientId=="string"?P.clientId:Ah.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=P.protocolVersion===5&&P.customHandleAcks?P.customHandleAcks:(...W)=>{W[3](null,0)},this.options.writeCache||(s.default.writeToStream.cacheNumbers=!1),this.streamBuilder=I,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new a.default:this.options.messageIdProvider,this.outgoingStore=P.outgoingStore||new p.default,this.incomingStore=P.incomingStore||new p.default,this.queueQoSZero=P.queueQoSZero===void 0?!0:P.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.keepaliveManager=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,P.properties&&P.properties.topicAliasMaximum>0&&(P.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new i.default(P.properties.topicAliasMaximum)),this.on("connect",()=>{let{queue:W}=this,Y=()=>{let oe=W.shift();this.log("deliver :: entry %o",oe);let te=null;if(!oe){this._resubscribe();return}te=oe.packet,this.log("deliver :: call _sendPacket for %o",te);let M=!0;te.messageId&&te.messageId!==0&&(this.messageIdProvider.register(te.messageId)||(M=!1)),M?this._sendPacket(te,L=>{oe.cb&&oe.cb(L),Y()}):(this.log("messageId: %d has already used. The message is skipped and removed.",te.messageId),Y())};this.log("connect :: sending queued packets"),Y()}),this.on("close",()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this._destroyKeepaliveManager(),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()}),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(I,P){P()}handleMessage(I,P){P()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var I;let P=new l.Writable,W=s.default.parser(this.options),Y=null,oe=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.disconnected&&!this.reconnecting&&(this.incomingStore=this.options.incomingStore||new p.default,this.outgoingStore=this.options.outgoingStore||new p.default,this.disconnecting=!1,this.disconnected=!1),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),W.on("packet",re=>{this.log("parser :: on packet push to packets array."),oe.push(re)});let te=()=>{this.log("work :: getting next packet in queue");let re=oe.shift();if(re)this.log("work :: packet pulled from queue"),(0,g.default)(this,re,M);else{this.log("work :: no packets in queue");let ae=Y;Y=null,this.log("work :: done flag is %s",!!ae),ae&&ae()}},M=()=>{if(oe.length)(0,_.nextTick)(te);else{let re=Y;Y=null,re()}};P._write=(re,ae,se)=>{Y=se,this.log("writable stream :: parsing buffer"),W.parse(re),te()};let L=re=>{this.log("streamErrorHandler :: error",re.message),re.code?(this.log("streamErrorHandler :: emitting error"),this.emit("error",re)):this.noop(re)};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(P),this.stream.on("error",L),this.stream.on("close",()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")}),this.log("connect: sending packet `connect`");let ie={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(ie.will=Object.assign(Object.assign({},this.options.will),{payload:(I=this.options.will)===null||I===void 0?void 0:I.payload})),this.topicAliasRecv&&(ie.properties||(ie.properties={}),this.topicAliasRecv&&(ie.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(ie),W.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&typeof this.options.authPacket=="object"){let re=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(re)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout(()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this.emit("error",new Error("connack timeout")),this._cleanUp(!0)},this.options.connectTimeout),this}publish(I,P,W,Y){this.log("publish :: message `%s` to topic `%s`",P,I);let{options:oe}=this;typeof W=="function"&&(Y=W,W=null),W=W||{},W=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),W);let{qos:te,retain:M,dup:L,properties:ie,cbStorePut:re}=W;if(this._checkDisconnecting(Y))return this;let ae=()=>{let se=0;if((te===1||te===2)&&(se=this._nextId(),se===null))return this.log("No messageId left"),!1;let Q={cmd:"publish",topic:I,payload:P,qos:te,retain:M,messageId:se,dup:L};switch(oe.protocolVersion===5&&(Q.properties=ie),this.log("publish :: qos",te),te){case 1:case 2:this.outgoing[Q.messageId]={volatile:!1,cb:Y||this.noop},this.log("MqttClient:publish: packet cmd: %s",Q.cmd),this._sendPacket(Q,void 0,re);break;default:this.log("MqttClient:publish: packet cmd: %s",Q.cmd),this._sendPacket(Q,Y,re);break}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!ae())&&this._storeProcessingQueue.push({invoke:ae,cbStorePut:W.cbStorePut,callback:Y}),this}publishAsync(I,P,W){return new Promise((Y,oe)=>{this.publish(I,P,W,(te,M)=>{te?oe(te):Y(M)})})}subscribe(I,P,W){let Y=this.options.protocolVersion;typeof P=="function"&&(W=P),W=W||this.noop;let oe=!1,te=[];typeof I=="string"?(I=[I],te=I):Array.isArray(I)?te=I:typeof I=="object"&&(oe=I.resubscribe,delete I.resubscribe,te=Object.keys(I));let M=c.validateTopics(te);if(M!==null)return R(W,new Error(`Invalid topic ${M}`)),this;if(this._checkDisconnecting(W))return this.log("subscribe: discconecting true"),this;let L={qos:0};Y===5&&(L.nl=!1,L.rap=!1,L.rh=0),P=Object.assign(Object.assign({},L),P);let ie=P.properties,re=[],ae=(Q,he)=>{if(he=he||P,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,Q)||this._resubscribeTopics[Q].qos{this.log("subscribe: array topic %s",Q),ae(Q)}):Object.keys(I).forEach(Q=>{this.log("subscribe: object topic %s, %o",Q,I[Q]),ae(Q,I[Q])}),!re.length)return W(null,[]),this;let se=()=>{let Q=this._nextId();if(Q===null)return this.log("No messageId left"),!1;let he={cmd:"subscribe",subscriptions:re,messageId:Q};if(ie&&(he.properties=ie),this.options.resubscribe){this.log("subscribe :: resubscribe true");let fe=[];re.forEach(pe=>{if(this.options.reconnectPeriod>0){let F={qos:pe.qos};Y===5&&(F.nl=pe.nl||!1,F.rap=pe.rap||!1,F.rh=pe.rh||0,F.properties=pe.properties),this._resubscribeTopics[pe.topic]=F,fe.push(pe.topic)}}),this.messageIdToTopic[he.messageId]=fe}return this.outgoing[he.messageId]={volatile:!0,cb(fe,pe){if(!fe){let{granted:F}=pe;for(let ne=0;ne0||!se())&&this._storeProcessingQueue.push({invoke:se,callback:W}),this}subscribeAsync(I,P){return new Promise((W,Y)=>{this.subscribe(I,P,(oe,te)=>{oe?Y(oe):W(te)})})}unsubscribe(I,P,W){typeof I=="string"&&(I=[I]),typeof P=="function"&&(W=P),W=W||this.noop;let Y=c.validateTopics(I);if(Y!==null)return R(W,new Error(`Invalid topic ${Y}`)),this;if(this._checkDisconnecting(W))return this;let oe=()=>{let te=this._nextId();if(te===null)return this.log("No messageId left"),!1;let M={cmd:"unsubscribe",messageId:te,unsubscriptions:[]};return typeof I=="string"?M.unsubscriptions=[I]:Array.isArray(I)&&(M.unsubscriptions=I),this.options.resubscribe&&M.unsubscriptions.forEach(L=>{delete this._resubscribeTopics[L]}),typeof P=="object"&&P.properties&&(M.properties=P.properties),this.outgoing[M.messageId]={volatile:!0,cb:W},this.log("unsubscribe: call _sendPacket"),this._sendPacket(M),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!oe())&&this._storeProcessingQueue.push({invoke:oe,callback:W}),this}unsubscribeAsync(I,P){return new Promise((W,Y)=>{this.unsubscribe(I,P,(oe,te)=>{oe?Y(oe):W(te)})})}end(I,P,W){this.log("end :: (%s)",this.options.clientId),(I==null||typeof I!="boolean")&&(W=W||P,P=I,I=!1),typeof P!="object"&&(W=W||P,P=null),this.log("end :: cb? %s",!!W),(!W||typeof W!="function")&&(W=this.noop);let Y=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close(te=>{this.outgoingStore.close(M=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),W){let L=te||M;this.log("end :: closeStores: invoking callback with args"),W(L)}})}),this._deferredReconnect?this._deferredReconnect():(this.options.reconnectPeriod===0||this.options.manualConnect)&&(this.disconnecting=!1)},oe=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,I),this._cleanUp(I,()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),(0,_.nextTick)(Y)},P)};return this.disconnecting?(W(),this):(this._clearReconnect(),this.disconnecting=!0,!I&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,oe,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),oe()),this)}endAsync(I,P){return new Promise((W,Y)=>{this.end(I,P,oe=>{oe?Y(oe):W()})})}removeOutgoingMessage(I){if(this.outgoing[I]){let{cb:P}=this.outgoing[I];this._removeOutgoingAndStoreMessage(I,()=>{P(new Error("Message removed"))})}return this}reconnect(I){this.log("client reconnect");let P=()=>{I?(this.options.incomingStore=I.incomingStore,this.options.outgoingStore=I.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new p.default,this.outgoingStore=this.options.outgoingStore||new p.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=P:P(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach(I=>{this.outgoing[I].volatile&&typeof this.outgoing[I].cb=="function"&&(this.outgoing[I].cb(new Error("Connection closed")),delete this.outgoing[I])}))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach(I=>{typeof this.outgoing[I].cb=="function"&&(this.outgoing[I].cb(new Error("Connection closed")),delete this.outgoing[I])}))}_removeTopicAliasAndRecoverTopicName(I){let P;I.properties&&(P=I.properties.topicAlias);let W=I.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",P,W),W.length===0){if(typeof P>"u")return new Error("Unregistered Topic Alias");if(W=this.topicAliasSend.getTopicByAlias(P),typeof W>"u")return new Error("Unregistered Topic Alias");I.topic=W}P&&delete I.properties.topicAlias}_checkDisconnecting(I){return this.disconnecting&&(I&&I!==this.noop?I(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this.connect()}),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval(()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()},this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(I,P,W={}){if(P&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",P)),this.log("_cleanUp :: forced? %s",I),I)this.options.reconnectPeriod===0&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{let Y=Object.assign({cmd:"disconnect"},W);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(Y,()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),R(()=>{this.stream.end(()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)})})})}!this.disconnecting&&!this.reconnecting&&(this.log("_cleanUp :: client not disconnecting/reconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),this._destroyKeepaliveManager(),P&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",P),P())}_storeAndSend(I,P,W){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",I.cmd);let Y=I,oe;if(Y.cmd==="publish"&&(Y=(0,u.default)(I),oe=this._removeTopicAliasAndRecoverTopicName(Y),oe))return P&&P(oe);this.outgoingStore.put(Y,te=>{if(te)return P&&P(te);W(),this._writePacket(I,P)})}_applyTopicAlias(I){if(this.options.protocolVersion===5&&I.cmd==="publish"){let P;I.properties&&(P=I.properties.topicAlias);let W=I.topic.toString();if(this.topicAliasSend)if(P){if(W.length!==0&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",W,P),!this.topicAliasSend.put(W,P)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",W,P),new Error("Sending Topic Alias out of range")}else W.length!==0&&(this.options.autoAssignTopicAlias?(P=this.topicAliasSend.getAliasByTopic(W),P?(I.topic="",I.properties=Object.assign(Object.assign({},I.properties),{topicAlias:P}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",W,P)):(P=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(W,P),I.properties=Object.assign(Object.assign({},I.properties),{topicAlias:P}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",W,P))):this.options.autoUseTopicAlias&&(P=this.topicAliasSend.getAliasByTopic(W),P&&(I.topic="",I.properties=Object.assign(Object.assign({},I.properties),{topicAlias:P}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",W,P))));else if(P)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",W,P),new Error("Sending Topic Alias out of range")}}_noop(I){this.log("noop ::",I)}_writePacket(I,P){this.log("_writePacket :: packet: %O",I),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",I),this.log("_writePacket :: writing to stream");let W=s.default.writeToStream(I,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",W),!W&&P&&P!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",P)):P&&(this.log("_writePacket :: invoking cb"),P())}_sendPacket(I,P,W,Y){this.log("_sendPacket :: (%s) :: start",this.options.clientId),W=W||this.noop,P=P||this.noop;let oe=this._applyTopicAlias(I);if(oe){P(oe);return}if(!this.connected){if(I.cmd==="auth"){this._writePacket(I,P);return}this.log("_sendPacket :: client not connected. Storing packet offline."),this._storePacket(I,P,W);return}if(Y){this._writePacket(I,P);return}switch(I.cmd){case"publish":break;case"pubrel":this._storeAndSend(I,P,W);return;default:this._writePacket(I,P);return}switch(I.qos){case 2:case 1:this._storeAndSend(I,P,W);break;case 0:default:this._writePacket(I,P);break}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}_storePacket(I,P,W){this.log("_storePacket :: packet: %o",I),this.log("_storePacket :: cb? %s",!!P),W=W||this.noop;let Y=I;if(Y.cmd==="publish"){Y=(0,u.default)(I);let te=this._removeTopicAliasAndRecoverTopicName(Y);if(te)return P&&P(te)}let oe=Y.qos||0;oe===0&&this.queueQoSZero||Y.cmd!=="publish"?this.queue.push({packet:Y,cb:P}):oe>0?(P=this.outgoing[Y.messageId]?this.outgoing[Y.messageId].cb:null,this.outgoingStore.put(Y,te=>{if(te)return P&&P(te);W()})):P&&P(new Error("No connection to broker"))}_setupKeepaliveManager(){this.log("_setupKeepaliveManager :: keepalive %d (seconds)",this.options.keepalive),!this.keepaliveManager&&this.options.keepalive&&(this.keepaliveManager=new x.default(this,this.options.timerVariant))}_destroyKeepaliveManager(){this.keepaliveManager&&(this.log("_destroyKeepaliveManager :: destroying keepalive manager"),this.keepaliveManager.destroy(),this.keepaliveManager=null)}reschedulePing(I=!1){this.keepaliveManager&&this.options.keepalive&&(I||this.options.reschedulePings)&&this._reschedulePing()}_reschedulePing(){this.log("_reschedulePing :: rescheduling ping"),this.keepaliveManager.reschedule()}sendPing(){this.log("_sendPing :: sending pingreq"),this._sendPacket({cmd:"pingreq"})}onKeepaliveTimeout(){this.emit("error",new Error("Keepalive timeout")),this.log("onKeepaliveTimeout :: calling _cleanUp with force true"),this._cleanUp(!0)}_resubscribe(){this.log("_resubscribe");let I=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&I.length>0)if(this.options.resubscribe)if(this.options.protocolVersion===5){this.log("_resubscribe: protocolVersion 5");for(let P=0;P{let W=this.outgoingStore.createStream(),Y=()=>{W.destroy(),W=null,this._flushStoreProcessingQueue(),oe()},oe=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",Y),W.on("error",M=>{oe(),this._flushStoreProcessingQueue(),this.removeListener("close",Y),this.emit("error",M)});let te=()=>{if(!W)return;let M=W.read(1),L;if(!M){W.once("readable",te);return}if(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[M.messageId]){te();return}!this.disconnecting&&!this.reconnectTimer?(L=this.outgoing[M.messageId]?this.outgoing[M.messageId].cb:null,this.outgoing[M.messageId]={volatile:!1,cb(ie,re){L&&L(ie,re),te()}},this._packetIdsDuringStoreProcessing[M.messageId]=!0,this.messageIdProvider.register(M.messageId)?this._sendPacket(M,void 0,void 0,!0):this.log("messageId: %d has already used.",M.messageId)):W.destroy&&W.destroy()};W.on("end",()=>{let M=!0;for(let L in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[L]){M=!1;break}this.removeListener("close",Y),M?(oe(),this._invokeAllStoreProcessingQueue(),this.emit("connect",I)):P()}),te()};P()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){let I=this._storeProcessingQueue[0];if(I&&I.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(let I of this._storeProcessingQueue)I.cbStorePut&&I.cbStorePut(new Error("Connection closed")),I.callback&&I.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(I,P){delete this.outgoing[I],this.outgoingStore.del({messageId:I},(W,Y)=>{P(W,Y),this.messageIdProvider.deallocate(I),this._invokeStoreProcessingQueue()})}};B.VERSION=_.MQTTJS_VERSION,e.default=B}),lk=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=Sw(),r=class{constructor(){this.numberAllocator=new t.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(n){return this.numberAllocator.use(n)}deallocate(n){this.numberAllocator.free(n)}clear(){this.numberAllocator.clear()}};e.default=r});function ti(e){throw new RangeError(xw[e])}function wm(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);let o=function(i,s){let a=[],l=i.length;for(;l--;)a[l]=s(i[l]);return a}((e=e.replace(Tw,".")).split("."),t).join(".");return n+o}function vm(e){let t=[],r=0,n=e.length;for(;r=55296&&o<=56319&&r{we(),Ee(),ve(),Em=/^xn--/,Sm=/[^\0-\x7E]/,Tw=/[\x2E\u3002\uFF0E\uFF61]/g,xw={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},lr=Math.floor,ha=String.fromCharCode,lc=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},uc=function(e,t,r){let n=0;for(e=r?lr(e/700):e>>1,e+=lr(e/t);e>455;n+=36)e=lr(e/35);return lr(n+36*e/(e+38))},cc=function(e){let t=[],r=e.length,n=0,o=128,i=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let l=0;l=128&&ti("not-basic"),t.push(e.charCodeAt(l));for(let l=s>0?s+1:0;l=r&&ti("invalid-input");let g=(a=e.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(g>=36||g>lr((2147483647-n)/d))&&ti("overflow"),n+=g*d;let _=p<=i?1:p>=i+26?26:p-i;if(g<_)break;let b=36-_;d>lr(2147483647/b)&&ti("overflow"),d*=b}let c=t.length+1;i=uc(n-u,c,u==0),lr(n/c)>2147483647-o&&ti("overflow"),o+=lr(n/c),n%=c,t.splice(n++,0,o)}var a;return String.fromCodePoint(...t)},fc=function(e){let t=[],r=(e=vm(e)).length,n=128,o=0,i=72;for(let l of e)l<128&&t.push(ha(l));let s=t.length,a=s;for(s&&t.push("-");a=n&&clr((2147483647-o)/u)&&ti("overflow"),o+=(l-n)*u,n=l;for(let c of e)if(c2147483647&&ti("overflow"),c==n){let d=o;for(let p=36;;p+=36){let g=p<=i?1:p>=i+26?26:p-i;if(dString.fromCodePoint(...e)},decode:cc,encode:fc,toASCII:function(e){return wm(e,function(t){return Sm.test(t)?"xn--"+fc(t):t})},toUnicode:function(e){return wm(e,function(t){return Em.test(t)?cc(t.slice(4).toLowerCase()):t})}},Cn.decode,Cn.encode,Cn.toASCII,Cn.toUnicode,Cn.ucs2,Cn.version});function ck(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Am,Xi,Tm,Tr,fk=vt(()=>{we(),Ee(),ve(),Am=function(e,t,r,n){t=t||"&",r=r||"=";var o={};if(typeof e!="string"||e.length===0)return o;var i=/\+/g;e=e.split(t);var s=1e3;n&&typeof n.maxKeys=="number"&&(s=n.maxKeys);var a=e.length;s>0&&a>s&&(a=s);for(var l=0;l=0?(u=g.substr(0,_),c=g.substr(_+1)):(u=g,c=""),d=decodeURIComponent(u),p=decodeURIComponent(c),ck(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o},Xi=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},Tm=function(e,t,r,n){return t=t||"&",r=r||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(o){var i=encodeURIComponent(Xi(o))+r;return Array.isArray(e[o])?e[o].map(function(s){return i+encodeURIComponent(Xi(s))}).join(t):i+encodeURIComponent(Xi(e[o]))}).join(t):n?encodeURIComponent(Xi(n))+r+encodeURIComponent(Xi(e)):""},Tr={},Tr.decode=Tr.parse=Am,Tr.encode=Tr.stringify=Tm,Tr.decode,Tr.encode,Tr.parse,Tr.stringify});function Th(){throw new Error("setTimeout has not been defined")}function xh(){throw new Error("clearTimeout has not been defined")}function Iw(e){if(zr===setTimeout)return setTimeout(e,0);if((zr===Th||!zr)&&setTimeout)return zr=setTimeout,setTimeout(e,0);try{return zr(e,0)}catch{try{return zr.call(null,e,0)}catch{return zr.call(this||Si,e,0)}}}function hk(){Ai&&gi&&(Ai=!1,gi.length?Nr=gi.concat(Nr):Ts=-1,Nr.length&&Cw())}function Cw(){if(!Ai){var e=Iw(hk);Ai=!0;for(var t=Nr.length;t;){for(gi=Nr,Nr=[];++Ts{we(),Ee(),ve(),Si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:Ii,lt=Im={},function(){try{zr=typeof setTimeout=="function"?setTimeout:Th}catch{zr=Th}try{Gr=typeof clearTimeout=="function"?clearTimeout:xh}catch{Gr=xh}}(),Nr=[],Ai=!1,Ts=-1,lt.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r1)for(var k=1;k{we(),Ee(),ve(),Ua={},Ih=!1,oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:Ii,rt=pk(),rt.platform="browser",rt.addListener,rt.argv,rt.binding,rt.browser,rt.chdir,rt.cwd,rt.emit,rt.env,rt.listeners,rt.nextTick,rt.off,rt.on,rt.once,rt.prependListener,rt.prependOnceListener,rt.removeAllListeners,rt.removeListener,rt.title,rt.umask,rt.version,rt.versions});function gk(){if(Ch)return Fa;Ch=!0;var e=rt;function t(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function r(i,s){for(var a="",l=0,u=-1,c=0,d,p=0;p<=i.length;++p){if(p2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=p,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=p,c=0;continue}}s&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+i.slice(u+1,p):a=i.slice(u+1,p),l=p-u-1;u=p,c=0}else d===46&&c!==-1?++c:c=-1}return a}function n(i,s){var a=s.dir||s.root,l=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+l:a+i+l:l}var o={resolve:function(){for(var i="",s=!1,a,l=arguments.length-1;l>=-1&&!s;l--){var u;l>=0?u=arguments[l]:(a===void 0&&(a=e.cwd()),u=a),t(u),u.length!==0&&(i=u+"/"+i,s=u.charCodeAt(0)===47)}return i=r(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(t(i),i.length===0)return".";var s=i.charCodeAt(0)===47,a=i.charCodeAt(i.length-1)===47;return i=r(i,!s),i.length===0&&!s&&(i="."),i.length>0&&a&&(i+="/"),s?"/"+i:i},isAbsolute:function(i){return t(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,s=0;s0&&(i===void 0?i=a:i+="/"+a)}return i===void 0?".":o.normalize(i)},relative:function(i,s){if(t(i),t(s),i===s||(i=o.resolve(i),s=o.resolve(s),i===s))return"";for(var a=1;ag){if(s.charCodeAt(c+b)===47)return s.slice(c+b+1);if(b===0)return s.slice(c+b)}else u>g&&(i.charCodeAt(a+b)===47?_=b:b===0&&(_=0));break}var x=i.charCodeAt(a+b),k=s.charCodeAt(c+b);if(x!==k)break;x===47&&(_=b)}var R="";for(b=a+_+1;b<=l;++b)(b===l||i.charCodeAt(b)===47)&&(R.length===0?R+="..":R+="/..");return R.length>0?R+s.slice(c+_):(c+=_,s.charCodeAt(c)===47&&++c,s.slice(c))},_makeLong:function(i){return i},dirname:function(i){if(t(i),i.length===0)return".";for(var s=i.charCodeAt(0),a=s===47,l=-1,u=!0,c=i.length-1;c>=1;--c)if(s=i.charCodeAt(c),s===47){if(!u){l=c;break}}else u=!1;return l===-1?a?"/":".":a&&l===1?"//":i.slice(0,l)},basename:function(i,s){if(s!==void 0&&typeof s!="string")throw new TypeError('"ext" argument must be a string');t(i);var a=0,l=-1,u=!0,c;if(s!==void 0&&s.length>0&&s.length<=i.length){if(s.length===i.length&&s===i)return"";var d=s.length-1,p=-1;for(c=i.length-1;c>=0;--c){var g=i.charCodeAt(c);if(g===47){if(!u){a=c+1;break}}else p===-1&&(u=!1,p=c+1),d>=0&&(g===s.charCodeAt(d)?--d===-1&&(l=c):(d=-1,l=p))}return a===l?l=p:l===-1&&(l=i.length),i.slice(a,l)}else{for(c=i.length-1;c>=0;--c)if(i.charCodeAt(c)===47){if(!u){a=c+1;break}}else l===-1&&(u=!1,l=c+1);return l===-1?"":i.slice(a,l)}},extname:function(i){t(i);for(var s=-1,a=0,l=-1,u=!0,c=0,d=i.length-1;d>=0;--d){var p=i.charCodeAt(d);if(p===47){if(!u){a=d+1;break}continue}l===-1&&(u=!1,l=d+1),p===46?s===-1?s=d:c!==1&&(c=1):s!==-1&&(c=-1)}return s===-1||l===-1||c===0||c===1&&s===l-1&&s===a+1?"":i.slice(s,l)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){t(i);var s={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return s;var a=i.charCodeAt(0),l=a===47,u;l?(s.root="/",u=1):u=0;for(var c=-1,d=0,p=-1,g=!0,_=i.length-1,b=0;_>=u;--_){if(a=i.charCodeAt(_),a===47){if(!g){d=_+1;break}continue}p===-1&&(g=!1,p=_+1),a===46?c===-1?c=_:b!==1&&(b=1):c!==-1&&(b=-1)}return c===-1||p===-1||b===0||b===1&&c===p-1&&c===d+1?p!==-1&&(d===0&&l?s.base=s.name=i.slice(1,p):s.base=s.name=i.slice(d,p)):(d===0&&l?(s.name=i.slice(1,c),s.base=i.slice(1,p)):(s.name=i.slice(d,c),s.base=i.slice(d,p)),s.ext=i.slice(c,p)),d>0?s.dir=i.slice(0,d-1):l&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null};return o.posix=o,Fa=o,Fa}var Fa,Ch,Rh,mk=vt(()=>{we(),Ee(),ve(),Rw(),Fa={},Ch=!1,Rh=gk()}),Ow={};$i(Ow,{URL:()=>zw,Url:()=>Hw,default:()=>qe,fileURLToPath:()=>kw,format:()=>Vw,parse:()=>Yw,pathToFileURL:()=>Nw,resolve:()=>qw,resolveObject:()=>Kw});function Zt(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function rs(e,t,r){if(e&&cr.isObject(e)&&e instanceof Zt)return e;var n=new Zt;return n.parse(e,t,r),n}function yk(){if(Oh)return ja;Oh=!0;var e=ot;function t(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function r(i,s){for(var a="",l=0,u=-1,c=0,d,p=0;p<=i.length;++p){if(p2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=p,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=p,c=0;continue}}s&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+i.slice(u+1,p):a=i.slice(u+1,p),l=p-u-1;u=p,c=0}else d===46&&c!==-1?++c:c=-1}return a}function n(i,s){var a=s.dir||s.root,l=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+l:a+i+l:l}var o={resolve:function(){for(var i="",s=!1,a,l=arguments.length-1;l>=-1&&!s;l--){var u;l>=0?u=arguments[l]:(a===void 0&&(a=e.cwd()),u=a),t(u),u.length!==0&&(i=u+"/"+i,s=u.charCodeAt(0)===47)}return i=r(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(t(i),i.length===0)return".";var s=i.charCodeAt(0)===47,a=i.charCodeAt(i.length-1)===47;return i=r(i,!s),i.length===0&&!s&&(i="."),i.length>0&&a&&(i+="/"),s?"/"+i:i},isAbsolute:function(i){return t(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,s=0;s0&&(i===void 0?i=a:i+="/"+a)}return i===void 0?".":o.normalize(i)},relative:function(i,s){if(t(i),t(s),i===s||(i=o.resolve(i),s=o.resolve(s),i===s))return"";for(var a=1;ag){if(s.charCodeAt(c+b)===47)return s.slice(c+b+1);if(b===0)return s.slice(c+b)}else u>g&&(i.charCodeAt(a+b)===47?_=b:b===0&&(_=0));break}var x=i.charCodeAt(a+b),k=s.charCodeAt(c+b);if(x!==k)break;x===47&&(_=b)}var R="";for(b=a+_+1;b<=l;++b)(b===l||i.charCodeAt(b)===47)&&(R.length===0?R+="..":R+="/..");return R.length>0?R+s.slice(c+_):(c+=_,s.charCodeAt(c)===47&&++c,s.slice(c))},_makeLong:function(i){return i},dirname:function(i){if(t(i),i.length===0)return".";for(var s=i.charCodeAt(0),a=s===47,l=-1,u=!0,c=i.length-1;c>=1;--c)if(s=i.charCodeAt(c),s===47){if(!u){l=c;break}}else u=!1;return l===-1?a?"/":".":a&&l===1?"//":i.slice(0,l)},basename:function(i,s){if(s!==void 0&&typeof s!="string")throw new TypeError('"ext" argument must be a string');t(i);var a=0,l=-1,u=!0,c;if(s!==void 0&&s.length>0&&s.length<=i.length){if(s.length===i.length&&s===i)return"";var d=s.length-1,p=-1;for(c=i.length-1;c>=0;--c){var g=i.charCodeAt(c);if(g===47){if(!u){a=c+1;break}}else p===-1&&(u=!1,p=c+1),d>=0&&(g===s.charCodeAt(d)?--d===-1&&(l=c):(d=-1,l=p))}return a===l?l=p:l===-1&&(l=i.length),i.slice(a,l)}else{for(c=i.length-1;c>=0;--c)if(i.charCodeAt(c)===47){if(!u){a=c+1;break}}else l===-1&&(u=!1,l=c+1);return l===-1?"":i.slice(a,l)}},extname:function(i){t(i);for(var s=-1,a=0,l=-1,u=!0,c=0,d=i.length-1;d>=0;--d){var p=i.charCodeAt(d);if(p===47){if(!u){a=d+1;break}continue}l===-1&&(u=!1,l=d+1),p===46?s===-1?s=d:c!==1&&(c=1):s!==-1&&(c=-1)}return s===-1||l===-1||c===0||c===1&&s===l-1&&s===a+1?"":i.slice(s,l)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){t(i);var s={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return s;var a=i.charCodeAt(0),l=a===47,u;l?(s.root="/",u=1):u=0;for(var c=-1,d=0,p=-1,g=!0,_=i.length-1,b=0;_>=u;--_){if(a=i.charCodeAt(_),a===47){if(!g){d=_+1;break}continue}p===-1&&(g=!1,p=_+1),a===46?c===-1?c=_:b!==1&&(b=1):c!==-1&&(b=-1)}return c===-1||p===-1||b===0||b===1&&c===p-1&&c===d+1?p!==-1&&(d===0&&l?s.base=s.name=i.slice(1,p):s.base=s.name=i.slice(d,p)):(d===0&&l?(s.name=i.slice(1,c),s.base=i.slice(1,p)):(s.name=i.slice(d,c),s.base=i.slice(d,p)),s.ext=i.slice(c,p)),d>0?s.dir=i.slice(0,d-1):l&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null};return o.posix=o,ja=o,ja}function _k(e){if(typeof e=="string")e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(e.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return dl?bk(e):wk(e)}function bk(e){let t=e.hostname,r=e.pathname;for(let n=0;nBw||o!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function wk(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;rJw||o!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function Sk(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;r{we(),Ee(),ve(),uk(),fk(),dk(),mk(),Rw(),qe={},Cm=Cn,cr={isString:function(e){return typeof e=="string"},isObject:function(e){return typeof e=="object"&&e!==null},isNull:function(e){return e===null},isNullOrUndefined:function(e){return e==null}},qe.parse=rs,qe.resolve=function(e,t){return rs(e,!1,!0).resolve(t)},qe.resolveObject=function(e,t){return e?rs(e,!1,!0).resolveObject(t):t},qe.format=function(e){return cr.isString(e)&&(e=rs(e)),e instanceof Zt?e.format():Zt.prototype.format.call(e)},qe.Url=Zt,Rm=/^([a-z0-9.+-]+:)/i,Om=/:[0-9]*$/,km=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Nm=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),da=["'"].concat(Nm),hc=["%","/","?",";","#"].concat(da),dc=["/","?","#"],pc=/^[+a-z0-9A-Z_-]{0,63}$/,Mm=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Pm={javascript:!0,"javascript:":!0},pa={javascript:!0,"javascript:":!0},ri={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},ga=Tr,Zt.prototype.parse=function(e,t,r){if(!cr.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),o=n!==-1&&n127?B+="x":B+=A[$];if(!B.match(pc)){var P=k.slice(0,_),W=k.slice(_+1),Y=A.match(Mm);Y&&(P.push(Y[1]),W.unshift(Y[2])),W.length&&(s="/"+W.join(".")+s),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=Cm.toASCII(this.hostname));var oe=this.port?":"+this.port:"",te=this.hostname||"";this.host=te+oe,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!Pm[u])for(_=0,R=da.length;_0)&&r.host.split("@"))&&(r.auth=Y.shift(),r.host=r.hostname=Y.shift())),r.search=e.search,r.query=e.query,cr.isNull(r.pathname)&&cr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!A.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var $=A.slice(-1)[0],I=(r.host||e.host||A.length>1)&&($==="."||$==="..")||$==="",P=0,W=A.length;W>=0;W--)($=A[W])==="."?A.splice(W,1):$===".."?(A.splice(W,1),P++):P&&(A.splice(W,1),P--);if(!k&&!R)for(;P--;P)A.unshift("..");!k||A[0]===""||A[0]&&A[0].charAt(0)==="/"||A.unshift(""),I&&A.join("/").substr(-1)!=="/"&&A.push("");var Y,oe=A[0]===""||A[0]&&A[0].charAt(0)==="/";return B&&(r.hostname=r.host=oe?"":A.length?A.shift():"",(Y=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=Y.shift(),r.host=r.hostname=Y.shift())),(k=k||r.host&&A.length)&&!oe&&A.unshift(""),A.length?r.pathname=A.join("/"):(r.pathname=null,r.path=null),cr.isNull(r.pathname)&&cr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},Zt.prototype.parseHost=function(){var e=this.host,t=Om.exec(e);t&&((t=t[0])!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},qe.Url,qe.format,qe.resolve,qe.resolveObject,ja={},Oh=!1,kh=yk(),Lm=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,qe.URL=typeof URL<"u"?URL:null,qe.pathToFileURL=vk,qe.fileURLToPath=_k,qe.Url,qe.format,qe.resolve,qe.resolveObject,qe.URL,Mw=92,Pw=47,Lw=97,Bw=122,dl=Lm==="win32",Dw=/\//g,$w=/%/g,Uw=/\\/g,Fw=/\n/g,jw=/\r/g,Ww=/\t/g,Bm=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,qe.URL=typeof URL<"u"?URL:null,qe.pathToFileURL=Nw,qe.fileURLToPath=kw,Hw=qe.Url,Vw=qe.format,qw=qe.resolve,Kw=qe.resolveObject,Yw=qe.parse,zw=qe.URL,Gw=92,Qw=47,Xw=97,Jw=122,pl=Bm==="win32",Zw=/\//g,ev=/%/g,tv=/\\/g,rv=/\n/g,nv=/\r/g,iv=/\t/g}),Tk=Oe((e,t)=>{we(),Ee(),ve(),t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}}),rp=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0}),e.BufferedDuplex=e.writev=void 0;var t=ji(),r=(St(),ze(Et));function n(i,s){let a=new Array(i.length);for(let l=0;l{this.destroyed||this.push(l)})}_read(i){this.proxy.read(i)}_write(i,s,a){this.isSocketOpen?this.writeToProxy(i,s,a):this.writeQueue.push({chunk:i,encoding:s,cb:a})}_final(i){this.writeQueue=[],this.proxy.end(i)}_destroy(i,s){this.writeQueue=[],this.proxy.destroy(),s(i)}socketReady(){this.emit("connect"),this.isSocketOpen=!0,this.processWriteQueue()}writeToProxy(i,s,a){this.proxy.write(i,s)===!1?this.proxy.once("drain",a):a()}processWriteQueue(){for(;this.writeQueue.length>0;){let{chunk:i,encoding:s,cb:a}=this.writeQueue.shift();this.writeToProxy(i,s,a)}}};e.BufferedDuplex=o}),ma=Oe(e=>{we(),Ee(),ve();var t=e&&e.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(e,"__esModule",{value:!0}),e.streamBuilder=e.browserStreamBuilder=void 0;var r=(St(),ze(Et)),n=t(Tk()),o=t(cn()),i=ji(),s=t(ou()),a=rp(),l=(0,o.default)("mqttjs:ws"),u=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function c(k,R){let A=`${k.protocol}://${k.hostname}:${k.port}${k.path}`;return typeof k.transformWsUrl=="function"&&(A=k.transformWsUrl(A,k,R)),A}function d(k){let R=k;return k.port||(k.protocol==="wss"?R.port=443:R.port=80),k.path||(R.path="/"),k.wsOptions||(R.wsOptions={}),!s.default&&!k.forceNativeWebSocket&&k.protocol==="wss"&&u.forEach(A=>{Object.prototype.hasOwnProperty.call(k,A)&&!Object.prototype.hasOwnProperty.call(k.wsOptions,A)&&(R.wsOptions[A]=k[A])}),R}function p(k){let R=d(k);if(R.hostname||(R.hostname=R.host),!R.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");let A=new URL(document.URL);R.hostname=A.hostname,R.port||(R.port=Number(A.port))}return R.objectMode===void 0&&(R.objectMode=!(R.binary===!0||R.binary===void 0)),R}function g(k,R,A){l("createWebSocket"),l(`protocol: ${A.protocolId} ${A.protocolVersion}`);let B=A.protocolId==="MQIsdp"&&A.protocolVersion===3?"mqttv3.1":"mqtt";l(`creating new Websocket for url: ${R} and protocol: ${B}`);let $;return A.createWebsocket?$=A.createWebsocket(R,[B],A):$=new n.default(R,[B],A.wsOptions),$}function _(k,R){let A=R.protocolId==="MQIsdp"&&R.protocolVersion===3?"mqttv3.1":"mqtt",B=c(R,k),$;return R.createWebsocket?$=R.createWebsocket(B,[A],R):$=new WebSocket(B,[A]),$.binaryType="arraybuffer",$}var b=(k,R)=>{l("streamBuilder");let A=d(R);A.hostname=A.hostname||A.host||"localhost";let B=c(A,k),$=g(k,B,A),I=n.default.createWebSocketStream($,A.wsOptions);return I.url=B,$.on("close",()=>{I.destroy()}),I};e.streamBuilder=b;var x=(k,R)=>{l("browserStreamBuilder");let A,B=p(R).browserBufferSize||1024*512,$=R.browserBufferTimeout||1e3,I=!R.objectMode,P=_(k,R),W=oe(R,re,ae);R.objectMode||(W._writev=a.writev.bind(W)),W.on("close",()=>{P.close()});let Y=typeof P.addEventListener<"u";P.readyState===P.OPEN?(A=W,A.socket=P):(A=new a.BufferedDuplex(R,W,P),Y?P.addEventListener("open",te):P.onopen=te),Y?(P.addEventListener("close",M),P.addEventListener("error",L),P.addEventListener("message",ie)):(P.onclose=M,P.onerror=L,P.onmessage=ie);function oe(se,Q,he){let fe=new i.Transform({objectMode:se.objectMode});return fe._write=Q,fe._flush=he,fe}function te(){l("WebSocket onOpen"),A instanceof a.BufferedDuplex&&A.socketReady()}function M(se){l("WebSocket onClose",se),A.end(),A.destroy()}function L(se){l("WebSocket onError",se);let Q=new Error("WebSocket error");Q.event=se,A.destroy(Q)}function ie(se){let{data:Q}=se;Q instanceof ArrayBuffer?Q=r.Buffer.from(Q):Q=r.Buffer.from(Q,"utf8"),W&&!W.destroyed&&W.push(Q)}function re(se,Q,he){if(P.bufferedAmount>B){setTimeout(re,$,se,Q,he);return}I&&typeof se=="string"&&(se=r.Buffer.from(se,"utf8"));try{P.send(se)}catch(fe){return he(fe)}he()}function ae(se){P.close(),se()}return A};e.browserStreamBuilder=x}),np={};$i(np,{Server:()=>nt,Socket:()=>nt,Stream:()=>nt,_createServerHandle:()=>nt,_normalizeArgs:()=>nt,_setSimultaneousAccepts:()=>nt,connect:()=>nt,createConnection:()=>nt,createServer:()=>nt,default:()=>ov,isIP:()=>nt,isIPv4:()=>nt,isIPv6:()=>nt});function nt(){throw new Error("Node.js net module is not supported by JSPM core outside of Node.js")}var ov,sv=vt(()=>{we(),Ee(),ve(),ov={_createServerHandle:nt,_normalizeArgs:nt,_setSimultaneousAccepts:nt,connect:nt,createConnection:nt,createServer:nt,isIP:nt,isIPv4:nt,isIPv6:nt,Server:nt,Socket:nt,Stream:nt}}),Dm=Oe(e=>{we(),Ee(),ve();var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var r=t((sv(),ze(np))),n=t(cn()),o=(0,n.default)("mqttjs:tcp"),i=(s,a)=>{a.port=a.port||1883,a.hostname=a.hostname||a.host||"localhost";let{port:l,path:u}=a,c=a.hostname;return o("port %d and host %s",l,c),r.default.createConnection({port:l,host:c,path:u})};e.default=i}),av={};$i(av,{default:()=>lv});var lv,xk=vt(()=>{we(),Ee(),ve(),lv={}}),$m=Oe(e=>{we(),Ee(),ve();var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t((xk(),ze(av))),n=t((sv(),ze(np))),o=t(cn()),i=(0,o.default)("mqttjs:tls"),s=(a,l)=>{l.port=l.port||8883,l.host=l.hostname||l.host||"localhost",n.default.isIP(l.host)===0&&(l.servername=l.host),l.rejectUnauthorized=l.rejectUnauthorized!==!1,delete l.path,i("port %d host %s rejectUnauthorized %b",l.port,l.host,l.rejectUnauthorized);let u=r.default.connect(l);u.on("secureConnect",()=>{l.rejectUnauthorized&&!u.authorized?u.emit("error",new Error("TLS not authorized")):u.removeListener("error",c)});function c(d){l.rejectUnauthorized&&a.emit("error",d),u.end()}return u.on("error",c),u};e.default=s}),Um=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=(St(),ze(Et)),r=ji(),n=rp(),o,i,s;function a(){let p=new r.Transform;return p._write=(g,_,b)=>{o.send({data:g.buffer,success(){b()},fail(x){b(new Error(x))}})},p._flush=g=>{o.close({success(){g()}})},p}function l(p){p.hostname||(p.hostname="localhost"),p.path||(p.path="/"),p.wsOptions||(p.wsOptions={})}function u(p,g){let _=p.protocol==="wxs"?"wss":"ws",b=`${_}://${p.hostname}${p.path}`;return p.port&&p.port!==80&&p.port!==443&&(b=`${_}://${p.hostname}:${p.port}${p.path}`),typeof p.transformWsUrl=="function"&&(b=p.transformWsUrl(b,p,g)),b}function c(){o.onOpen(()=>{s.socketReady()}),o.onMessage(p=>{let{data:g}=p;g instanceof ArrayBuffer?g=t.Buffer.from(g):g=t.Buffer.from(g,"utf8"),i.push(g)}),o.onClose(()=>{s.emit("close"),s.end(),s.destroy()}),o.onError(p=>{let g=new Error(p.errMsg);s.destroy(g)})}var d=(p,g)=>{if(g.hostname=g.hostname||g.host,!g.hostname)throw new Error("Could not determine host. Specify host manually.");let _=g.protocolId==="MQIsdp"&&g.protocolVersion===3?"mqttv3.1":"mqtt";l(g);let b=u(g,p);o=wx.connectSocket({url:b,protocols:[_]}),i=a(),s=new n.BufferedDuplex(g,i,o),s._destroy=(k,R)=>{o.close({success(){R&&R(k)}})};let x=s.destroy;return s.destroy=(k,R)=>(s.destroy=x,setTimeout(()=>{o.close({fail(){s._destroy(k,R)}})},0),s),c(),s};e.default=d}),Fm=Oe(e=>{we(),Ee(),ve(),Object.defineProperty(e,"__esModule",{value:!0});var t=(St(),ze(Et)),r=ji(),n=rp(),o,i,s,a=!1;function l(){let g=new r.Transform;return g._write=(_,b,x)=>{o.sendSocketMessage({data:_.buffer,success(){x()},fail(){x(new Error)}})},g._flush=_=>{o.closeSocket({success(){_()}})},g}function u(g){g.hostname||(g.hostname="localhost"),g.path||(g.path="/"),g.wsOptions||(g.wsOptions={})}function c(g,_){let b=g.protocol==="alis"?"wss":"ws",x=`${b}://${g.hostname}${g.path}`;return g.port&&g.port!==80&&g.port!==443&&(x=`${b}://${g.hostname}:${g.port}${g.path}`),typeof g.transformWsUrl=="function"&&(x=g.transformWsUrl(x,g,_)),x}function d(){a||(a=!0,o.onSocketOpen(()=>{s.socketReady()}),o.onSocketMessage(g=>{if(typeof g.data=="string"){let _=t.Buffer.from(g.data,"base64");i.push(_)}else{let _=new FileReader;_.addEventListener("load",()=>{let b=_.result;b instanceof ArrayBuffer?b=t.Buffer.from(b):b=t.Buffer.from(b,"utf8"),i.push(b)}),_.readAsArrayBuffer(g.data)}}),o.onSocketClose(()=>{s.end(),s.destroy()}),o.onSocketError(g=>{s.destroy(g)}))}var p=(g,_)=>{if(_.hostname=_.hostname||_.host,!_.hostname)throw new Error("Could not determine host. Specify host manually.");let b=_.protocolId==="MQIsdp"&&_.protocolVersion===3?"mqttv3.1":"mqtt";u(_);let x=c(_,g);return o=_.my,o.connectSocket({url:x,protocols:b}),i=l(),s=new n.BufferedDuplex(_,i,o),d(),s};e.default=p}),Ik=Oe(e=>{we(),Ee(),ve();var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectAsync=void 0;var r=t(cn()),n=t((Ak(),ze(Ow))),o=t(Sh()),i=t(ou());typeof(Ve==null?void 0:Ve.nextTick)!="function"&&(Ve.nextTick=setImmediate);var s=(0,r.default)("mqttjs"),a=null;function l(d){let p;d.auth&&(p=d.auth.match(/^(.+):(.+)$/),p?(d.username=p[1],d.password=p[2]):d.username=d.auth)}function u(d,p){var g,_,b,x;if(s("connecting to an MQTT broker..."),typeof d=="object"&&!p&&(p=d,d=""),p=p||{},d&&typeof d=="string"){let A=n.default.parse(d,!0),B={};if(A.port!=null&&(B.port=Number(A.port)),B.host=A.hostname,B.query=A.query,B.auth=A.auth,B.protocol=A.protocol,B.path=A.path,B.protocol=(g=B.protocol)===null||g===void 0?void 0:g.replace(/:$/,""),p=Object.assign(Object.assign({},B),p),!p.protocol)throw new Error("Missing protocol")}if(p.unixSocket=p.unixSocket||((_=p.protocol)===null||_===void 0?void 0:_.includes("+unix")),p.unixSocket?p.protocol=p.protocol.replace("+unix",""):!(!((b=p.protocol)===null||b===void 0)&&b.startsWith("ws"))&&!(!((x=p.protocol)===null||x===void 0)&&x.startsWith("wx"))&&delete p.path,l(p),p.query&&typeof p.query.clientId=="string"&&(p.clientId=p.query.clientId),p.cert&&p.key)if(p.protocol){if(["mqtts","wss","wxs","alis"].indexOf(p.protocol)===-1)switch(p.protocol){case"mqtt":p.protocol="mqtts";break;case"ws":p.protocol="wss";break;case"wx":p.protocol="wxs";break;case"ali":p.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${p.protocol}"!`)}}else throw new Error("Missing secure protocol key");if(a||(a={},!i.default&&!p.forceNativeWebSocket?(a.ws=ma().streamBuilder,a.wss=ma().streamBuilder,a.mqtt=Dm().default,a.tcp=Dm().default,a.ssl=$m().default,a.tls=a.ssl,a.mqtts=$m().default):(a.ws=ma().browserStreamBuilder,a.wss=ma().browserStreamBuilder,a.wx=Um().default,a.wxs=Um().default,a.ali=Fm().default,a.alis=Fm().default)),!a[p.protocol]){let A=["mqtts","wss"].indexOf(p.protocol)!==-1;p.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter((B,$)=>A&&$%2===0?!1:typeof a[B]=="function")[0]}if(p.clean===!1&&!p.clientId)throw new Error("Missing clientId for unclean clients");p.protocol&&(p.defaultProtocol=p.protocol);function k(A){return p.servers&&((!A._reconnectCount||A._reconnectCount===p.servers.length)&&(A._reconnectCount=0),p.host=p.servers[A._reconnectCount].host,p.port=p.servers[A._reconnectCount].port,p.protocol=p.servers[A._reconnectCount].protocol?p.servers[A._reconnectCount].protocol:p.defaultProtocol,p.hostname=p.host,A._reconnectCount++),s("calling streambuilder for",p.protocol),a[p.protocol](A,p)}let R=new o.default(k,p);return R.on("error",()=>{}),R}function c(d,p,g=!0){return new Promise((_,b)=>{let x=u(d,p),k={connect:A=>{R(),_(x)},end:()=>{R(),_(x)},error:A=>{R(),x.end(),b(A)}};g===!1&&(k.close=()=>{k.error(new Error("Couldn't connect to server"))});function R(){Object.keys(k).forEach(A=>{x.off(A,k[A])})}Object.keys(k).forEach(A=>{x.on(A,k[A])})})}e.connectAsync=c,e.default=u}),jm=Oe(e=>{we(),Ee(),ve();var t=e&&e.__createBinding||(Object.create?function(g,_,b,x){x===void 0&&(x=b);var k=Object.getOwnPropertyDescriptor(_,b);(!k||("get"in k?!_.__esModule:k.writable||k.configurable))&&(k={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(g,x,k)}:function(g,_,b,x){x===void 0&&(x=b),g[x]=_[b]}),r=e&&e.__setModuleDefault||(Object.create?function(g,_){Object.defineProperty(g,"default",{enumerable:!0,value:_})}:function(g,_){g.default=_}),n=e&&e.__importStar||function(g){if(g&&g.__esModule)return g;var _={};if(g!=null)for(var b in g)b!=="default"&&Object.prototype.hasOwnProperty.call(g,b)&&t(_,g,b);return r(_,g),_},o=e&&e.__exportStar||function(g,_){for(var b in g)b!=="default"&&!Object.prototype.hasOwnProperty.call(_,b)&&t(_,g,b)},i=e&&e.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=e.KeepaliveManager=e.UniqueMessageIdProvider=e.DefaultMessageIdProvider=e.Store=e.MqttClient=e.connectAsync=e.connect=e.Client=void 0;var s=i(Sh());e.MqttClient=s.default;var a=i(aw());e.DefaultMessageIdProvider=a.default;var l=i(lk());e.UniqueMessageIdProvider=l.default;var u=i(lw());e.Store=u.default;var c=n(Ik());e.connect=c.default,Object.defineProperty(e,"connectAsync",{enumerable:!0,get:function(){return c.connectAsync}});var d=i(Aw());e.KeepaliveManager=d.default,e.Client=s.default,o(Sh(),e),o(Vo(),e);var p=iu();Object.defineProperty(e,"ReasonCodes",{enumerable:!0,get:function(){return p.ReasonCodes}})}),Ck=Oe(e=>{we(),Ee(),ve();var t=e&&e.__createBinding||(Object.create?function(s,a,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(a,l);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[l]}}),Object.defineProperty(s,u,c)}:function(s,a,l,u){u===void 0&&(u=l),s[u]=a[l]}),r=e&&e.__setModuleDefault||(Object.create?function(s,a){Object.defineProperty(s,"default",{enumerable:!0,value:a})}:function(s,a){s.default=a}),n=e&&e.__importStar||function(s){if(s&&s.__esModule)return s;var a={};if(s!=null)for(var l in s)l!=="default"&&Object.prototype.hasOwnProperty.call(s,l)&&t(a,s,l);return r(a,s),a},o=e&&e.__exportStar||function(s,a){for(var l in s)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&t(a,s,l)};Object.defineProperty(e,"__esModule",{value:!0});var i=n(jm());e.default=i,o(jm(),e)});const e3=Ck();/*! Bundled license information: - -@jspm/core/nodelibs/browser/buffer.js: - (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) -*/var ip={exports:{}},uv={exports:{}},gc={exports:{}},Jt={},su={};su.byteLength=kk;su.toByteArray=Mk;su.fromByteArray=Bk;var Or=[],er=[],Rk=typeof Uint8Array<"u"?Uint8Array:Array,mc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ji=0,Ok=mc.length;Ji0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function kk(e){var t=cv(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Nk(e,t,r){return(t+r)*3/4-r}function Mk(e){var t,r=cv(e),n=r[0],o=r[1],i=new Rk(Nk(e,n,o)),s=0,a=o>0?n-4:n,l;for(l=0;l>16&255,i[s++]=t>>8&255,i[s++]=t&255;return o===2&&(t=er[e.charCodeAt(l)]<<2|er[e.charCodeAt(l+1)]>>4,i[s++]=t&255),o===1&&(t=er[e.charCodeAt(l)]<<10|er[e.charCodeAt(l+1)]<<4|er[e.charCodeAt(l+2)]>>2,i[s++]=t>>8&255,i[s++]=t&255),i}function Pk(e){return Or[e>>18&63]+Or[e>>12&63]+Or[e>>6&63]+Or[e&63]}function Lk(e,t,r){for(var n,o=[],i=t;ia?a:s+i));return n===1?(t=e[r-1],o.push(Or[t>>2]+Or[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(Or[t>>10]+Or[t>>4&63]+Or[t<<2&63]+"=")),o.join("")}var op={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */op.read=function(e,t,r,n,o){var i,s,a=o*8-n-1,l=(1<>1,c=-7,d=r?o-1:0,p=r?-1:1,g=e[t+d];for(d+=p,i=g&(1<<-c)-1,g>>=-c,c+=a;c>0;i=i*256+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(i===0)i=1-u;else{if(i===l)return s?NaN:(g?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-u}return(g?-1:1)*s*Math.pow(2,i-n)};op.write=function(e,t,r,n,o,i){var s,a,l,u=i*8-o-1,c=(1<>1,p=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:i-1,_=n?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,o),s=s+d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[r+g]=a&255,g+=_,a/=256,o-=8);for(s=s<0;e[r+g]=s&255,g+=_,s/=256,u-=8);e[r+g-_]|=b*128};/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */(function(e){const t=su,r=op,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=R,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,a.TYPED_ARRAY_SUPPORT=i(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const h=new Uint8Array(1),f={foo:function(){return 42}};return Object.setPrototypeOf(f,Uint8Array.prototype),Object.setPrototypeOf(h,f),h.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function s(h){if(h>o)throw new RangeError('The value "'+h+'" is invalid for option "size"');const f=new Uint8Array(h);return Object.setPrototypeOf(f,a.prototype),f}function a(h,f,m){if(typeof h=="number"){if(typeof f=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(h)}return l(h,f,m)}a.poolSize=8192;function l(h,f,m){if(typeof h=="string")return p(h,f);if(ArrayBuffer.isView(h))return _(h);if(h==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(z(h,ArrayBuffer)||h&&z(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(z(h,SharedArrayBuffer)||h&&z(h.buffer,SharedArrayBuffer)))return b(h,f,m);if(typeof h=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const w=h.valueOf&&h.valueOf();if(w!=null&&w!==h)return a.from(w,f,m);const v=x(h);if(v)return v;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof h[Symbol.toPrimitive]=="function")return a.from(h[Symbol.toPrimitive]("string"),f,m);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}a.from=function(h,f,m){return l(h,f,m)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function u(h){if(typeof h!="number")throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function c(h,f,m){return u(h),h<=0?s(h):f!==void 0?typeof m=="string"?s(h).fill(f,m):s(h).fill(f):s(h)}a.alloc=function(h,f,m){return c(h,f,m)};function d(h){return u(h),s(h<0?0:k(h)|0)}a.allocUnsafe=function(h){return d(h)},a.allocUnsafeSlow=function(h){return d(h)};function p(h,f){if((typeof f!="string"||f==="")&&(f="utf8"),!a.isEncoding(f))throw new TypeError("Unknown encoding: "+f);const m=A(h,f)|0;let w=s(m);const v=w.write(h,f);return v!==m&&(w=w.slice(0,v)),w}function g(h){const f=h.length<0?0:k(h.length)|0,m=s(f);for(let w=0;w=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return h|0}function R(h){return+h!=h&&(h=0),a.alloc(+h)}a.isBuffer=function(f){return f!=null&&f._isBuffer===!0&&f!==a.prototype},a.compare=function(f,m){if(z(f,Uint8Array)&&(f=a.from(f,f.offset,f.byteLength)),z(m,Uint8Array)&&(m=a.from(m,m.offset,m.byteLength)),!a.isBuffer(f)||!a.isBuffer(m))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(f===m)return 0;let w=f.length,v=m.length;for(let C=0,H=Math.min(w,v);Cv.length?(a.isBuffer(H)||(H=a.from(H)),H.copy(v,C)):Uint8Array.prototype.set.call(v,H,C);else if(a.isBuffer(H))H.copy(v,C);else throw new TypeError('"list" argument must be an Array of Buffers');C+=H.length}return v};function A(h,f){if(a.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||z(h,ArrayBuffer))return h.byteLength;if(typeof h!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);const m=h.length,w=arguments.length>2&&arguments[2]===!0;if(!w&&m===0)return 0;let v=!1;for(;;)switch(f){case"ascii":case"latin1":case"binary":return m;case"utf8":case"utf-8":return N(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m*2;case"hex":return m>>>1;case"base64":return D(h).length;default:if(v)return w?-1:N(h).length;f=(""+f).toLowerCase(),v=!0}}a.byteLength=A;function B(h,f,m){let w=!1;if((f===void 0||f<0)&&(f=0),f>this.length||((m===void 0||m>this.length)&&(m=this.length),m<=0)||(m>>>=0,f>>>=0,m<=f))return"";for(h||(h="utf8");;)switch(h){case"hex":return he(this,f,m);case"utf8":case"utf-8":return ie(this,f,m);case"ascii":return se(this,f,m);case"latin1":case"binary":return Q(this,f,m);case"base64":return L(this,f,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fe(this,f,m);default:if(w)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),w=!0}}a.prototype._isBuffer=!0;function $(h,f,m){const w=h[f];h[f]=h[m],h[m]=w}a.prototype.swap16=function(){const f=this.length;if(f%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let m=0;mm&&(f+=" ... "),""},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(f,m,w,v,C){if(z(f,Uint8Array)&&(f=a.from(f,f.offset,f.byteLength)),!a.isBuffer(f))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof f);if(m===void 0&&(m=0),w===void 0&&(w=f?f.length:0),v===void 0&&(v=0),C===void 0&&(C=this.length),m<0||w>f.length||v<0||C>this.length)throw new RangeError("out of range index");if(v>=C&&m>=w)return 0;if(v>=C)return-1;if(m>=w)return 1;if(m>>>=0,w>>>=0,v>>>=0,C>>>=0,this===f)return 0;let H=C-v,de=w-m;const me=Math.min(H,de),_e=this.slice(v,C),Ae=f.slice(m,w);for(let ke=0;ke2147483647?m=2147483647:m<-2147483648&&(m=-2147483648),m=+m,ce(m)&&(m=v?0:h.length-1),m<0&&(m=h.length+m),m>=h.length){if(v)return-1;m=h.length-1}else if(m<0)if(v)m=0;else return-1;if(typeof f=="string"&&(f=a.from(f,w)),a.isBuffer(f))return f.length===0?-1:P(h,f,m,w,v);if(typeof f=="number")return f=f&255,typeof Uint8Array.prototype.indexOf=="function"?v?Uint8Array.prototype.indexOf.call(h,f,m):Uint8Array.prototype.lastIndexOf.call(h,f,m):P(h,[f],m,w,v);throw new TypeError("val must be string, number or Buffer")}function P(h,f,m,w,v){let C=1,H=h.length,de=f.length;if(w!==void 0&&(w=String(w).toLowerCase(),w==="ucs2"||w==="ucs-2"||w==="utf16le"||w==="utf-16le")){if(h.length<2||f.length<2)return-1;C=2,H/=2,de/=2,m/=2}function me(Ae,ke){return C===1?Ae[ke]:Ae.readUInt16BE(ke*C)}let _e;if(v){let Ae=-1;for(_e=m;_eH&&(m=H-de),_e=m;_e>=0;_e--){let Ae=!0;for(let ke=0;kev&&(w=v)):w=v;const C=f.length;w>C/2&&(w=C/2);let H;for(H=0;H>>0,isFinite(w)?(w=w>>>0,v===void 0&&(v="utf8")):(v=w,w=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const C=this.length-m;if((w===void 0||w>C)&&(w=C),f.length>0&&(w<0||m<0)||m>this.length)throw new RangeError("Attempt to write outside buffer bounds");v||(v="utf8");let H=!1;for(;;)switch(v){case"hex":return W(this,f,m,w);case"utf8":case"utf-8":return Y(this,f,m,w);case"ascii":case"latin1":case"binary":return oe(this,f,m,w);case"base64":return te(this,f,m,w);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,f,m,w);default:if(H)throw new TypeError("Unknown encoding: "+v);v=(""+v).toLowerCase(),H=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(h,f,m){return f===0&&m===h.length?t.fromByteArray(h):t.fromByteArray(h.slice(f,m))}function ie(h,f,m){m=Math.min(h.length,m);const w=[];let v=f;for(;v239?4:C>223?3:C>191?2:1;if(v+de<=m){let me,_e,Ae,ke;switch(de){case 1:C<128&&(H=C);break;case 2:me=h[v+1],(me&192)===128&&(ke=(C&31)<<6|me&63,ke>127&&(H=ke));break;case 3:me=h[v+1],_e=h[v+2],(me&192)===128&&(_e&192)===128&&(ke=(C&15)<<12|(me&63)<<6|_e&63,ke>2047&&(ke<55296||ke>57343)&&(H=ke));break;case 4:me=h[v+1],_e=h[v+2],Ae=h[v+3],(me&192)===128&&(_e&192)===128&&(Ae&192)===128&&(ke=(C&15)<<18|(me&63)<<12|(_e&63)<<6|Ae&63,ke>65535&&ke<1114112&&(H=ke))}}H===null?(H=65533,de=1):H>65535&&(H-=65536,w.push(H>>>10&1023|55296),H=56320|H&1023),w.push(H),v+=de}return ae(w)}const re=4096;function ae(h){const f=h.length;if(f<=re)return String.fromCharCode.apply(String,h);let m="",w=0;for(;ww)&&(m=w);let v="";for(let C=f;Cw&&(f=w),m<0?(m+=w,m<0&&(m=0)):m>w&&(m=w),mm)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(f,m,w){f=f>>>0,m=m>>>0,w||pe(f,m,this.length);let v=this[f],C=1,H=0;for(;++H>>0,m=m>>>0,w||pe(f,m,this.length);let v=this[f+--m],C=1;for(;m>0&&(C*=256);)v+=this[f+--m]*C;return v},a.prototype.readUint8=a.prototype.readUInt8=function(f,m){return f=f>>>0,m||pe(f,1,this.length),this[f]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(f,m){return f=f>>>0,m||pe(f,2,this.length),this[f]|this[f+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(f,m){return f=f>>>0,m||pe(f,2,this.length),this[f]<<8|this[f+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(f,m){return f=f>>>0,m||pe(f,4,this.length),(this[f]|this[f+1]<<8|this[f+2]<<16)+this[f+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(f,m){return f=f>>>0,m||pe(f,4,this.length),this[f]*16777216+(this[f+1]<<16|this[f+2]<<8|this[f+3])},a.prototype.readBigUInt64LE=Te(function(f){f=f>>>0,E(f,"offset");const m=this[f],w=this[f+7];(m===void 0||w===void 0)&&T(f,this.length-8);const v=m+this[++f]*2**8+this[++f]*2**16+this[++f]*2**24,C=this[++f]+this[++f]*2**8+this[++f]*2**16+w*2**24;return BigInt(v)+(BigInt(C)<>>0,E(f,"offset");const m=this[f],w=this[f+7];(m===void 0||w===void 0)&&T(f,this.length-8);const v=m*2**24+this[++f]*2**16+this[++f]*2**8+this[++f],C=this[++f]*2**24+this[++f]*2**16+this[++f]*2**8+w;return(BigInt(v)<>>0,m=m>>>0,w||pe(f,m,this.length);let v=this[f],C=1,H=0;for(;++H=C&&(v-=Math.pow(2,8*m)),v},a.prototype.readIntBE=function(f,m,w){f=f>>>0,m=m>>>0,w||pe(f,m,this.length);let v=m,C=1,H=this[f+--v];for(;v>0&&(C*=256);)H+=this[f+--v]*C;return C*=128,H>=C&&(H-=Math.pow(2,8*m)),H},a.prototype.readInt8=function(f,m){return f=f>>>0,m||pe(f,1,this.length),this[f]&128?(255-this[f]+1)*-1:this[f]},a.prototype.readInt16LE=function(f,m){f=f>>>0,m||pe(f,2,this.length);const w=this[f]|this[f+1]<<8;return w&32768?w|4294901760:w},a.prototype.readInt16BE=function(f,m){f=f>>>0,m||pe(f,2,this.length);const w=this[f+1]|this[f]<<8;return w&32768?w|4294901760:w},a.prototype.readInt32LE=function(f,m){return f=f>>>0,m||pe(f,4,this.length),this[f]|this[f+1]<<8|this[f+2]<<16|this[f+3]<<24},a.prototype.readInt32BE=function(f,m){return f=f>>>0,m||pe(f,4,this.length),this[f]<<24|this[f+1]<<16|this[f+2]<<8|this[f+3]},a.prototype.readBigInt64LE=Te(function(f){f=f>>>0,E(f,"offset");const m=this[f],w=this[f+7];(m===void 0||w===void 0)&&T(f,this.length-8);const v=this[f+4]+this[f+5]*2**8+this[f+6]*2**16+(w<<24);return(BigInt(v)<>>0,E(f,"offset");const m=this[f],w=this[f+7];(m===void 0||w===void 0)&&T(f,this.length-8);const v=(m<<24)+this[++f]*2**16+this[++f]*2**8+this[++f];return(BigInt(v)<>>0,m||pe(f,4,this.length),r.read(this,f,!0,23,4)},a.prototype.readFloatBE=function(f,m){return f=f>>>0,m||pe(f,4,this.length),r.read(this,f,!1,23,4)},a.prototype.readDoubleLE=function(f,m){return f=f>>>0,m||pe(f,8,this.length),r.read(this,f,!0,52,8)},a.prototype.readDoubleBE=function(f,m){return f=f>>>0,m||pe(f,8,this.length),r.read(this,f,!1,52,8)};function F(h,f,m,w,v,C){if(!a.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(f>v||fh.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(f,m,w,v){if(f=+f,m=m>>>0,w=w>>>0,!v){const de=Math.pow(2,8*w)-1;F(this,f,m,w,de,0)}let C=1,H=0;for(this[m]=f&255;++H>>0,w=w>>>0,!v){const de=Math.pow(2,8*w)-1;F(this,f,m,w,de,0)}let C=w-1,H=1;for(this[m+C]=f&255;--C>=0&&(H*=256);)this[m+C]=f/H&255;return m+w},a.prototype.writeUint8=a.prototype.writeUInt8=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,1,255,0),this[m]=f&255,m+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,2,65535,0),this[m]=f&255,this[m+1]=f>>>8,m+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,2,65535,0),this[m]=f>>>8,this[m+1]=f&255,m+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,4,4294967295,0),this[m+3]=f>>>24,this[m+2]=f>>>16,this[m+1]=f>>>8,this[m]=f&255,m+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,4,4294967295,0),this[m]=f>>>24,this[m+1]=f>>>16,this[m+2]=f>>>8,this[m+3]=f&255,m+4};function ne(h,f,m,w,v){X(f,w,v,h,m,7);let C=Number(f&BigInt(4294967295));h[m++]=C,C=C>>8,h[m++]=C,C=C>>8,h[m++]=C,C=C>>8,h[m++]=C;let H=Number(f>>BigInt(32)&BigInt(4294967295));return h[m++]=H,H=H>>8,h[m++]=H,H=H>>8,h[m++]=H,H=H>>8,h[m++]=H,m}function ge(h,f,m,w,v){X(f,w,v,h,m,7);let C=Number(f&BigInt(4294967295));h[m+7]=C,C=C>>8,h[m+6]=C,C=C>>8,h[m+5]=C,C=C>>8,h[m+4]=C;let H=Number(f>>BigInt(32)&BigInt(4294967295));return h[m+3]=H,H=H>>8,h[m+2]=H,H=H>>8,h[m+1]=H,H=H>>8,h[m]=H,m+8}a.prototype.writeBigUInt64LE=Te(function(f,m=0){return ne(this,f,m,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=Te(function(f,m=0){return ge(this,f,m,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(f,m,w,v){if(f=+f,m=m>>>0,!v){const me=Math.pow(2,8*w-1);F(this,f,m,w,me-1,-me)}let C=0,H=1,de=0;for(this[m]=f&255;++C>0)-de&255;return m+w},a.prototype.writeIntBE=function(f,m,w,v){if(f=+f,m=m>>>0,!v){const me=Math.pow(2,8*w-1);F(this,f,m,w,me-1,-me)}let C=w-1,H=1,de=0;for(this[m+C]=f&255;--C>=0&&(H*=256);)f<0&&de===0&&this[m+C+1]!==0&&(de=1),this[m+C]=(f/H>>0)-de&255;return m+w},a.prototype.writeInt8=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,1,127,-128),f<0&&(f=255+f+1),this[m]=f&255,m+1},a.prototype.writeInt16LE=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,2,32767,-32768),this[m]=f&255,this[m+1]=f>>>8,m+2},a.prototype.writeInt16BE=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,2,32767,-32768),this[m]=f>>>8,this[m+1]=f&255,m+2},a.prototype.writeInt32LE=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,4,2147483647,-2147483648),this[m]=f&255,this[m+1]=f>>>8,this[m+2]=f>>>16,this[m+3]=f>>>24,m+4},a.prototype.writeInt32BE=function(f,m,w){return f=+f,m=m>>>0,w||F(this,f,m,4,2147483647,-2147483648),f<0&&(f=4294967295+f+1),this[m]=f>>>24,this[m+1]=f>>>16,this[m+2]=f>>>8,this[m+3]=f&255,m+4},a.prototype.writeBigInt64LE=Te(function(f,m=0){return ne(this,f,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=Te(function(f,m=0){return ge(this,f,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Se(h,f,m,w,v,C){if(m+w>h.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("Index out of range")}function ye(h,f,m,w,v){return f=+f,m=m>>>0,v||Se(h,f,m,4),r.write(h,f,m,w,23,4),m+4}a.prototype.writeFloatLE=function(f,m,w){return ye(this,f,m,!0,w)},a.prototype.writeFloatBE=function(f,m,w){return ye(this,f,m,!1,w)};function V(h,f,m,w,v){return f=+f,m=m>>>0,v||Se(h,f,m,8),r.write(h,f,m,w,52,8),m+8}a.prototype.writeDoubleLE=function(f,m,w){return V(this,f,m,!0,w)},a.prototype.writeDoubleBE=function(f,m,w){return V(this,f,m,!1,w)},a.prototype.copy=function(f,m,w,v){if(!a.isBuffer(f))throw new TypeError("argument should be a Buffer");if(w||(w=0),!v&&v!==0&&(v=this.length),m>=f.length&&(m=f.length),m||(m=0),v>0&&v=this.length)throw new RangeError("Index out of range");if(v<0)throw new RangeError("sourceEnd out of bounds");v>this.length&&(v=this.length),f.length-m>>0,w=w===void 0?this.length:w>>>0,f||(f=0);let C;if(typeof f=="number")for(C=m;C2**32?v=ue(String(m)):typeof m=="bigint"&&(v=String(m),(m>BigInt(2)**BigInt(32)||m<-(BigInt(2)**BigInt(32)))&&(v=ue(v)),v+="n"),w+=` It must be ${f}. Received ${v}`,w},RangeError);function ue(h){let f="",m=h.length;const w=h[0]==="-"?1:0;for(;m>=w+4;m-=3)f=`_${h.slice(m-3,m)}${f}`;return`${h.slice(0,m)}${f}`}function le(h,f,m){E(f,"offset"),(h[f]===void 0||h[f+m]===void 0)&&T(f,h.length-(m+1))}function X(h,f,m,w,v,C){if(h>m||h= 0${H} and < 2${H} ** ${(C+1)*8}${H}`:de=`>= -(2${H} ** ${(C+1)*8-1}${H}) and < 2 ** ${(C+1)*8-1}${H}`,new j.ERR_OUT_OF_RANGE("value",de,h)}le(w,v,C)}function E(h,f){if(typeof h!="number")throw new j.ERR_INVALID_ARG_TYPE(f,"number",h)}function T(h,f,m){throw Math.floor(h)!==h?(E(h,m),new j.ERR_OUT_OF_RANGE("offset","an integer",h)):f<0?new j.ERR_BUFFER_OUT_OF_BOUNDS:new j.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${f}`,h)}const S=/[^+/0-9A-Za-z-_]/g;function O(h){if(h=h.split("=")[0],h=h.trim().replace(S,""),h.length<2)return"";for(;h.length%4!==0;)h=h+"=";return h}function N(h,f){f=f||1/0;let m;const w=h.length;let v=null;const C=[];for(let H=0;H55295&&m<57344){if(!v){if(m>56319){(f-=3)>-1&&C.push(239,191,189);continue}else if(H+1===w){(f-=3)>-1&&C.push(239,191,189);continue}v=m;continue}if(m<56320){(f-=3)>-1&&C.push(239,191,189),v=m;continue}m=(v-55296<<10|m-56320)+65536}else v&&(f-=3)>-1&&C.push(239,191,189);if(v=null,m<128){if((f-=1)<0)break;C.push(m)}else if(m<2048){if((f-=2)<0)break;C.push(m>>6|192,m&63|128)}else if(m<65536){if((f-=3)<0)break;C.push(m>>12|224,m>>6&63|128,m&63|128)}else if(m<1114112){if((f-=4)<0)break;C.push(m>>18|240,m>>12&63|128,m>>6&63|128,m&63|128)}else throw new Error("Invalid code point")}return C}function ee(h){const f=[];for(let m=0;m>8,v=m%256,C.push(v),C.push(w);return C}function D(h){return t.toByteArray(O(h))}function K(h,f,m,w){let v;for(v=0;v=f.length||v>=h.length);++v)f[v+m]=h[v];return v}function z(h,f){return h instanceof f||h!=null&&h.constructor!=null&&h.constructor.name!=null&&h.constructor.name===f.name}function ce(h){return h!==h}const be=function(){const h="0123456789abcdef",f=new Array(256);for(let m=0;m<16;++m){const w=m*16;for(let v=0;v<16;++v)f[w+v]=h[m]+h[v]}return f}();function Te(h){return typeof BigInt>"u"?y:h}function y(){throw new Error("BigInt not supported")}})(Jt);var ut={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,r){return e.slice(t,r)},Error,FunctionPrototypeCall(e,t,...r){return e.call(t,...r)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,r){return Object.defineProperty(e,t,r)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,r){return e.then(t,r)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,r){return e.slice(t,r)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,r){return e.set(t,r)},Boolean,Uint8Array},fv={exports:{}},ns={exports:{}},Wm;function Ns(){if(Wm)return ns.exports;Wm=1;const{AbortController:e,AbortSignal:t}=typeof self<"u"?self:typeof window<"u"?window:void 0;return ns.exports=e,ns.exports.AbortSignal=t,ns.exports.default=e,ns.exports}var sp={exports:{}},yo=typeof Reflect=="object"?Reflect:null,Hm=yo&&typeof yo.apply=="function"?yo.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},Wa;yo&&typeof yo.ownKeys=="function"?Wa=yo.ownKeys:Object.getOwnPropertySymbols?Wa=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Wa=function(t){return Object.getOwnPropertyNames(t)};function Dk(e){console&&console.warn&&console.warn(e)}var hv=Number.isNaN||function(t){return t!==t};function Ye(){Ye.init.call(this)}sp.exports=Ye;sp.exports.once=jk;Ye.EventEmitter=Ye;Ye.prototype._events=void 0;Ye.prototype._eventsCount=0;Ye.prototype._maxListeners=void 0;var Vm=10;function au(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Ye,"defaultMaxListeners",{enumerable:!0,get:function(){return Vm},set:function(e){if(typeof e!="number"||e<0||hv(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Vm=e}});Ye.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Ye.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||hv(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function dv(e){return e._maxListeners===void 0?Ye.defaultMaxListeners:e._maxListeners}Ye.prototype.getMaxListeners=function(){return dv(this)};Ye.prototype.emit=function(t){for(var r=[],n=1;n0&&(s=r[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[t];if(l===void 0)return!1;if(typeof l=="function")Hm(l,this,r);else for(var u=l.length,c=_v(l,u),n=0;n0&&s.length>o&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,Dk(a)}return e}Ye.prototype.addListener=function(t,r){return pv(this,t,r,!1)};Ye.prototype.on=Ye.prototype.addListener;Ye.prototype.prependListener=function(t,r){return pv(this,t,r,!0)};function $k(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function gv(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=$k.bind(n);return o.listener=r,n.wrapFn=o,o}Ye.prototype.once=function(t,r){return au(r),this.on(t,gv(this,t,r)),this};Ye.prototype.prependOnceListener=function(t,r){return au(r),this.prependListener(t,gv(this,t,r)),this};Ye.prototype.removeListener=function(t,r){var n,o,i,s,a;if(au(r),o=this._events,o===void 0)return this;if(n=o[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===r||n[s].listener===r){a=n[s].listener,i=s;break}if(i<0)return this;i===0?n.shift():Uk(n,i),n.length===1&&(o[t]=n[0]),o.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};Ye.prototype.off=Ye.prototype.removeListener;Ye.prototype.removeAllListeners=function(t){var r,n,o;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),s;for(o=0;o=0;o--)this.removeListener(t,r[o]);return this};function mv(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?Fk(o):_v(o,o.length)}Ye.prototype.listeners=function(t){return mv(this,t,!0)};Ye.prototype.rawListeners=function(t){return mv(this,t,!1)};Ye.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):yv.call(e,t)};Ye.prototype.listenerCount=yv;function yv(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Ye.prototype.eventNames=function(){return this._eventsCount>0?Wa(this._events):[]};function _v(e,t){for(var r=new Array(t),n=0;n{if(p!==void 0&&(p===null||typeof p!="object"||!("aborted"in p)))throw new ERR_INVALID_ARG_TYPE(g,"AbortSignal",p)},c=(p,g)=>{if(typeof p!="function")throw new ERR_INVALID_ARG_TYPE(g,"Function",p)};class d extends Error{constructor(g){if(!Array.isArray(g))throw new TypeError(`Expected input to be an Array, got ${typeof g}`);let _="";for(let b=0;b{p=b,g=x}),resolve:p,reject:g}},promisify(p){return new Promise((g,_)=>{p((b,...x)=>b?_(b):g(...x))})},debuglog(){return function(){}},format(p,...g){return p.replace(/%([sdifj])/g,function(...[_,b]){const x=g.shift();return b==="f"?x.toFixed(6):b==="j"?JSON.stringify(x):b==="s"&&typeof x=="object"?`${x.constructor!==Object?x.constructor.name:""} {}`.trim():x.toString()})},inspect(p){switch(typeof p){case"string":if(p.includes("'"))if(p.includes('"')){if(!p.includes("`")&&!p.includes("${"))return`\`${p}\``}else return`"${p}"`;return`'${p}'`;case"number":return isNaN(p)?"NaN":Object.is(p,-0)?String(p):p;case"bigint":return`${String(p)}n`;case"boolean":case"undefined":return String(p);case"object":return"{}"}},types:{isAsyncFunction(p){return p instanceof s},isArrayBufferView(p){return ArrayBuffer.isView(p)}},isBlob:l,deprecate(p,g){return p},addAbortListener:lu.addAbortListener||function(g,_){if(g===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",g);u(g,"signal"),c(_,"listener");let b;return g.aborted?queueMicrotask(()=>_()):(g.addEventListener("abort",_,{__proto__:null,once:!0,[r]:!0}),b=()=>{g.removeEventListener("abort",_)}),{__proto__:null,[n](){var x;(x=b)===null||x===void 0||x()}}},AbortSignalAny:o.any||function(g){if(g.length===1)return g[0];const _=new i,b=()=>_.abort();return g.forEach(x=>{u(x,"signals"),x.addEventListener("abort",b,{once:!0})}),_.signal.addEventListener("abort",()=>{g.forEach(x=>x.removeEventListener("abort",b))},{once:!0}),_.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(fv);var Lt=fv.exports,ap={};const{format:Hk,inspect:gl,AggregateError:Vk}=Lt,qk=globalThis.AggregateError||Vk,Kk=Symbol("kIsNodeError"),Yk=["string","function","number","object","Function","Object","boolean","bigint","symbol"],zk=/^([A-Z][a-z0-9]*)+$/,Gk="__node_internal_",uu={};function Ti(e,t){if(!e)throw new uu.ERR_INTERNAL_ASSERTION(t)}function qm(e){let t="",r=e.length;const n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function Qk(e,t,r){if(typeof t=="function")return Ti(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const n=(t.match(/%[dfijoOs]/g)||[]).length;return Ti(n===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?t:Hk(t,...r)}function At(e,t,r){r||(r=Error);class n extends r{constructor(...i){super(Qk(e,t,i))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=e,n.prototype[Kk]=!0,uu[e]=n}function Km(e){const t=Gk+e.name;return Object.defineProperty(e,"name",{value:t}),e}function Xk(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new qk([t,e],t.message);return r.code=t.code,r}return e||t}let Jk=class extends Error{constructor(t="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new uu.ERR_INVALID_ARG_TYPE("options","Object",r);super(t,r),this.code="ABORT_ERR",this.name="AbortError"}};At("ERR_ASSERTION","%s",Error);At("ERR_INVALID_ARG_TYPE",(e,t,r)=>{Ti(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const o=[],i=[],s=[];for(const l of t)Ti(typeof l=="string","All expected entries have to be of type string"),Yk.includes(l)?o.push(l.toLowerCase()):zk.test(l)?i.push(l):(Ti(l!=="object",'The value "object" should be written as "Object"'),s.push(l));if(i.length>0){const l=o.indexOf("object");l!==-1&&(o.splice(o,l,1),i.push("Object"))}if(o.length>0){switch(o.length){case 1:n+=`of type ${o[0]}`;break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const l=o.pop();n+=`one of type ${o.join(", ")}, or ${l}`}}(i.length>0||s.length>0)&&(n+=" or ")}if(i.length>0){switch(i.length){case 1:n+=`an instance of ${i[0]}`;break;case 2:n+=`an instance of ${i[0]} or ${i[1]}`;break;default:{const l=i.pop();n+=`an instance of ${i.join(", ")}, or ${l}`}}s.length>0&&(n+=" or ")}switch(s.length){case 0:break;case 1:s[0].toLowerCase()!==s[0]&&(n+="an "),n+=`${s[0]}`;break;case 2:n+=`one of ${s[0]} or ${s[1]}`;break;default:{const l=s.pop();n+=`one of ${s.join(", ")}, or ${l}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var a;if((a=r.constructor)!==null&&a!==void 0&&a.name)n+=`. Received an instance of ${r.constructor.name}`;else{const l=gl(r,{depth:-1});n+=`. Received ${l}`}}else{let l=gl(r,{colors:!1});l.length>25&&(l=`${l.slice(0,25)}...`),n+=`. Received type ${typeof r} (${l})`}return n},TypeError);At("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=gl(t);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);At("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var n;const o=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${e} to be returned from the "${t}" function but got ${o}.`},TypeError);At("ERR_MISSING_ARGS",(...e)=>{Ti(e.length>0,"At least one arg needs to be specified");let t;const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(n=>`"${n}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const n=e.pop();t+=`The ${e.join(", ")}, and ${n} arguments`}break}return`${t} must be specified`},TypeError);At("ERR_OUT_OF_RANGE",(e,t,r)=>{Ti(t,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=qm(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=qm(n)),n+="n"):n=gl(r),`The value of "${e}" is out of range. It must be ${t}. Received ${n}`},RangeError);At("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);At("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);At("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);At("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);At("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);At("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);At("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);At("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);At("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);At("ERR_STREAM_WRITE_AFTER_END","write after end",Error);At("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var Vt={AbortError:Jk,aggregateTwoErrors:Km(Xk),hideStackFrames:Km,codes:uu};const{ArrayIsArray:lp,ArrayPrototypeIncludes:wv,ArrayPrototypeJoin:vv,ArrayPrototypeMap:Zk,NumberIsInteger:up,NumberIsNaN:eN,NumberMAX_SAFE_INTEGER:tN,NumberMIN_SAFE_INTEGER:rN,NumberParseInt:nN,ObjectPrototypeHasOwnProperty:iN,RegExpPrototypeExec:Ev,String:oN,StringPrototypeToUpperCase:sN,StringPrototypeTrim:aN}=ut,{hideStackFrames:ar,codes:{ERR_SOCKET_BAD_PORT:lN,ERR_INVALID_ARG_TYPE:kt,ERR_INVALID_ARG_VALUE:qo,ERR_OUT_OF_RANGE:Oi,ERR_UNKNOWN_SIGNAL:Ym}}=Vt,{normalizeEncoding:uN}=Lt,{isAsyncFunction:cN,isArrayBufferView:fN}=Lt.types,zm={};function hN(e){return e===(e|0)}function dN(e){return e===e>>>0}const pN=/^[0-7]+$/,gN="must be a 32-bit unsigned integer or an octal string";function mN(e,t,r){if(typeof e>"u"&&(e=r),typeof e=="string"){if(Ev(pN,e)===null)throw new qo(t,e,gN);e=nN(e,8)}return Sv(e,t),e}const yN=ar((e,t,r=rN,n=tN)=>{if(typeof e!="number")throw new kt(t,"number",e);if(!up(e))throw new Oi(t,"an integer",e);if(en)throw new Oi(t,`>= ${r} && <= ${n}`,e)}),_N=ar((e,t,r=-2147483648,n=2147483647)=>{if(typeof e!="number")throw new kt(t,"number",e);if(!up(e))throw new Oi(t,"an integer",e);if(en)throw new Oi(t,`>= ${r} && <= ${n}`,e)}),Sv=ar((e,t,r=!1)=>{if(typeof e!="number")throw new kt(t,"number",e);if(!up(e))throw new Oi(t,"an integer",e);const n=r?1:0,o=4294967295;if(eo)throw new Oi(t,`>= ${n} && <= ${o}`,e)});function cp(e,t){if(typeof e!="string")throw new kt(t,"string",e)}function bN(e,t,r=void 0,n){if(typeof e!="number")throw new kt(t,"number",e);if(r!=null&&en||(r!=null||n!=null)&&eN(e))throw new Oi(t,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,e)}const wN=ar((e,t,r)=>{if(!wv(r,e)){const o="must be one of: "+vv(Zk(r,i=>typeof i=="string"?`'${i}'`:oN(i)),", ");throw new qo(t,e,o)}});function Av(e,t){if(typeof e!="boolean")throw new kt(t,"boolean",e)}function yc(e,t,r){return e==null||!iN(e,t)?r:e[t]}const vN=ar((e,t,r=null)=>{const n=yc(r,"allowArray",!1),o=yc(r,"allowFunction",!1);if(!yc(r,"nullable",!1)&&e===null||!n&&lp(e)||typeof e!="object"&&(!o||typeof e!="function"))throw new kt(t,"Object",e)}),EN=ar((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new kt(t,"a dictionary",e)}),cu=ar((e,t,r=0)=>{if(!lp(e))throw new kt(t,"Array",e);if(e.length{if(!fN(e))throw new kt(t,["Buffer","TypedArray","DataView"],e)});function CN(e,t){const r=uN(t),n=e.length;if(r==="hex"&&n%2!==0)throw new qo("encoding",t,`is invalid for data of length ${n}`)}function RN(e,t="Port",r=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&aN(e).length===0||+e!==+e>>>0||e>65535||e===0&&!r)throw new lN(t,e,r);return e|0}const Tv=ar((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new kt(t,"AbortSignal",e)}),ON=ar((e,t)=>{if(typeof e!="function")throw new kt(t,"Function",e)}),kN=ar((e,t)=>{if(typeof e!="function"||cN(e))throw new kt(t,"Function",e)}),NN=ar((e,t)=>{if(e!==void 0)throw new kt(t,"undefined",e)});function MN(e,t,r){if(!wv(r,e))throw new kt(t,`('${vv(r,"|")}')`,e)}const PN=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Gm(e,t){if(typeof e>"u"||!Ev(PN,e))throw new qo(t,e,'must be an array or string of format "; rel=preload; as=style"')}function LN(e){if(typeof e=="string")return Gm(e,"hints"),e;if(lp(e)){const t=e.length;let r="";if(t===0)return r;for(let n=0;n; rel=preload; as=style"')}var Vs={isInt32:hN,isUint32:dN,parseFileMode:mN,validateArray:cu,validateStringArray:SN,validateBooleanArray:AN,validateAbortSignalArray:TN,validateBoolean:Av,validateBuffer:IN,validateDictionary:EN,validateEncoding:CN,validateFunction:ON,validateInt32:_N,validateInteger:yN,validateNumber:bN,validateObject:vN,validateOneOf:wN,validatePlainFunction:kN,validatePort:RN,validateSignalName:xN,validateString:cp,validateUint32:Sv,validateUndefined:NN,validateUnion:MN,validateAbortSignal:Tv,validateLinkHeaderValue:LN},fp={exports:{}},xv={exports:{}},ft=xv.exports={},xr,Ir;function Nh(){throw new Error("setTimeout has not been defined")}function Mh(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?xr=setTimeout:xr=Nh}catch{xr=Nh}try{typeof clearTimeout=="function"?Ir=clearTimeout:Ir=Mh}catch{Ir=Mh}})();function Iv(e){if(xr===setTimeout)return setTimeout(e,0);if((xr===Nh||!xr)&&setTimeout)return xr=setTimeout,setTimeout(e,0);try{return xr(e,0)}catch{try{return xr.call(null,e,0)}catch{return xr.call(this,e,0)}}}function BN(e){if(Ir===clearTimeout)return clearTimeout(e);if((Ir===Mh||!Ir)&&clearTimeout)return Ir=clearTimeout,clearTimeout(e);try{return Ir(e)}catch{try{return Ir.call(null,e)}catch{return Ir.call(this,e)}}}var Zr=[],_o=!1,mi,Ha=-1;function DN(){!_o||!mi||(_o=!1,mi.length?Zr=mi.concat(Zr):Ha=-1,Zr.length&&Cv())}function Cv(){if(!_o){var e=Iv(DN);_o=!0;for(var t=Zr.length;t;){for(mi=Zr,Zr=[];++Ha1)for(var r=1;r{};function Vv(e,t,r){var n,o;if(arguments.length===2?(r=t,t=Bh):t==null?t=Bh:nM(t,"options"),rM(r,"callback"),tM(t.signal,"options.signal"),r=Dh(r),lM(e)||uM(e))return pM(e,t,r);if(!cM(e))throw new eM("stream",["ReadableStream","WritableStream","Stream"],e);const i=(n=t.readable)!==null&&n!==void 0?n:_c(e),s=(o=t.writable)!==null&&o!==void 0?o:n0(e),a=e._writableState,l=e._readableState,u=()=>{e.writable||p()};let c=fM(e)&&_c(e)===i&&n0(e)===s,d=i0(e,!1);const p=()=>{d=!0,e.destroyed&&(c=!1),!(c&&(!e.readable||i))&&(!i||g)&&r.call(e)};let g=e0(e,!1);const _=()=>{g=!0,e.destroyed&&(c=!1),!(c&&(!e.writable||s))&&(!s||d)&&r.call(e)},b=$=>{r.call(e,$)};let x=aM(e);const k=()=>{x=!0;const $=o0(e)||t0(e);if($&&typeof $!="boolean")return r.call(e,$);if(i&&!g&&_c(e,!0)&&!e0(e,!1))return r.call(e,new Jm);if(s&&!d&&!i0(e,!1))return r.call(e,new Jm);r.call(e)},R=()=>{x=!0;const $=o0(e)||t0(e);if($&&typeof $!="boolean")return r.call(e,$);r.call(e)},A=()=>{e.req.on("finish",p)};dM(e)?(e.on("complete",p),c||e.on("abort",k),e.req?A():e.on("request",A)):s&&!a&&(e.on("end",u),e.on("close",u)),!c&&typeof e.aborted=="boolean"&&e.on("aborted",k),e.on("end",_),e.on("finish",p),t.error!==!1&&e.on("error",b),e.on("close",k),x?Pn.nextTick(k):a!=null&&a.errorEmitted||l!=null&&l.errorEmitted?c||Pn.nextTick(R):(!i&&(!c||Zm(e))&&(d||r0(e)===!1)||!s&&(!c||r0(e))&&(g||Zm(e)===!1)||l&&e.req&&e.aborted)&&Pn.nextTick(R);const B=()=>{r=$h,e.removeListener("aborted",k),e.removeListener("complete",p),e.removeListener("abort",k),e.removeListener("request",A),e.req&&e.req.removeListener("finish",p),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",p),e.removeListener("end",_),e.removeListener("error",b),e.removeListener("close",k)};if(t.signal&&!x){const $=()=>{const I=r;B(),I.call(e,new Wv(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)Pn.nextTick($);else{bo=bo||Lt.addAbortListener;const I=bo(t.signal,$),P=r;r=Dh((...W)=>{I[Hv](),P.apply(e,W)})}}return B}function pM(e,t,r){let n=!1,o=$h;if(t.signal)if(o=()=>{n=!0,r.call(e,new Wv(void 0,{cause:t.signal.reason}))},t.signal.aborted)Pn.nextTick(o);else{bo=bo||Lt.addAbortListener;const s=bo(t.signal,o),a=r;r=Dh((...l)=>{s[Hv](),a.apply(e,l)})}const i=(...s)=>{n||Pn.nextTick(()=>r.apply(e,s))};return sM(e[hM].promise,i,i),$h}function gM(e,t){var r;let n=!1;return t===null&&(t=Bh),(r=t)!==null&&r!==void 0&&r.cleanup&&(iM(t.cleanup,"cleanup"),n=t.cleanup),new oM((o,i)=>{const s=Vv(e,t,a=>{n&&s(),a?i(a):o()})})}fp.exports=Vv;fp.exports.finished=gM;var Yn=fp.exports;const Br=Wi,{aggregateTwoErrors:mM,codes:{ERR_MULTIPLE_CALLBACK:yM},AbortError:_M}=Vt,{Symbol:qv}=ut,{kIsDestroyed:bM,isDestroyed:wM,isFinished:vM,isServerRequest:EM}=En,Kv=qv("kDestroy"),Uh=qv("kConstruct");function Yv(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function SM(e,t){const r=this._readableState,n=this._writableState,o=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof t=="function"&&t(),this):(Yv(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?s0(this,e,t):this.once(Kv,function(i){s0(this,mM(i,e),t)}),this)}function s0(e,t,r){let n=!1;function o(i){if(n)return;n=!0;const s=e._readableState,a=e._writableState;Yv(i,a,s),a&&(a.closed=!0),s&&(s.closed=!0),typeof r=="function"&&r(i),i?Br.nextTick(AM,e,i):Br.nextTick(zv,e)}try{e._destroy(t||null,o)}catch(i){o(i)}}function AM(e,t){Fh(e,t),zv(e)}function zv(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(r!=null&&r.emitClose||t!=null&&t.emitClose)&&e.emit("close")}function Fh(e,t){const r=e._readableState,n=e._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function TM(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=e.readable===!1,e.endEmitted=e.readable===!1),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=t.writable===!1,t.ending=t.writable===!1,t.finished=t.writable===!1)}function jh(e,t,r){const n=e._readableState,o=e._writableState;if(o!=null&&o.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||o!=null&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),n&&!n.errored&&(n.errored=t),r?Br.nextTick(Fh,e,t):Fh(e,t))}function xM(e,t){if(typeof e._construct!="function")return;const r=e._readableState,n=e._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),e.once(Uh,t),!(e.listenerCount(Uh)>1)&&Br.nextTick(IM,e)}function IM(e){let t=!1;function r(n){if(t){jh(e,n??new yM);return}t=!0;const o=e._readableState,i=e._writableState,s=i||o;o&&(o.constructed=!0),i&&(i.constructed=!0),s.destroyed?e.emit(Kv,n):n?jh(e,n,!0):Br.nextTick(CM,e)}try{e._construct(n=>{Br.nextTick(r,n)})}catch(n){Br.nextTick(r,n)}}function CM(e){e.emit(Uh)}function a0(e){return(e==null?void 0:e.setHeader)&&typeof e.abort=="function"}function Gv(e){e.emit("close")}function RM(e,t){e.emit("error",t),Br.nextTick(Gv,e)}function OM(e,t){!e||wM(e)||(!t&&!vM(e)&&(t=new _M),EM(e)?(e.socket=null,e.destroy(t)):a0(e)?e.abort():a0(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?Br.nextTick(RM,e,t):Br.nextTick(Gv,e),e.destroyed||(e[bM]=!0))}var Ko={construct:xM,destroyer:OM,destroy:SM,undestroy:TM,errorOrDestroy:jh};const{ArrayIsArray:kM,ObjectSetPrototypeOf:Qv}=ut,{EventEmitter:pu}=lu;function gu(e){pu.call(this,e)}Qv(gu.prototype,pu.prototype);Qv(gu,pu);gu.prototype.pipe=function(e,t){const r=this;function n(c){e.writable&&e.write(c)===!1&&r.pause&&r.pause()}r.on("data",n);function o(){r.readable&&r.resume&&r.resume()}e.on("drain",o),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",s),r.on("close",a));let i=!1;function s(){i||(i=!0,e.end())}function a(){i||(i=!0,typeof e.destroy=="function"&&e.destroy())}function l(c){u(),pu.listenerCount(this,"error")===0&&this.emit("error",c)}Wh(r,"error",l),Wh(e,"error",l);function u(){r.removeListener("data",n),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",a),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e};function Wh(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):kM(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}var hp={Stream:gu,prependListener:Wh},Xv={exports:{}};(function(e){const{SymbolDispose:t}=ut,{AbortError:r,codes:n}=Vt,{isNodeStream:o,isWebStream:i,kControllerErrorFunction:s}=En,a=Yn,{ERR_INVALID_ARG_TYPE:l}=n;let u;const c=(d,p)=>{if(typeof d!="object"||!("aborted"in d))throw new l(p,"AbortSignal",d)};e.exports.addAbortSignal=function(p,g){if(c(p,"signal"),!o(g)&&!i(g))throw new l("stream",["ReadableStream","WritableStream","Stream"],g);return e.exports.addAbortSignalNoValidate(p,g)},e.exports.addAbortSignalNoValidate=function(d,p){if(typeof d!="object"||!("aborted"in d))return p;const g=o(p)?()=>{p.destroy(new r(void 0,{cause:d.reason}))}:()=>{p[s](new r(void 0,{cause:d.reason}))};if(d.aborted)g();else{u=u||Lt.addAbortListener;const _=u(d,g);a(p,_[t])}return p}})(Xv);var mu=Xv.exports;const{StringPrototypeSlice:l0,SymbolIterator:NM,TypedArrayPrototypeSet:ya,Uint8Array:MM}=ut,{Buffer:bc}=Jt,{inspect:PM}=Lt;var LM=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(t){const r={data:t,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;const t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=t+r.data;return n}concat(t){if(this.length===0)return bc.alloc(0);const r=bc.allocUnsafe(t>>>0);let n=this.head,o=0;for(;n;)ya(r,n.data,o),o+=n.data.length,n=n.next;return r}consume(t,r){const n=this.head.data;if(ti.length)r+=i,t-=i.length;else{t===i.length?(r+=i,++o,n.next?this.head=n.next:this.head=this.tail=null):(r+=l0(i,0,t),this.head=n,n.data=l0(i,t));break}++o}while((n=n.next)!==null);return this.length-=o,r}_getBuffer(t){const r=bc.allocUnsafe(t),n=t;let o=this.head,i=0;do{const s=o.data;if(t>s.length)ya(r,s,n-t),t-=s.length;else{t===s.length?(ya(r,s,n-t),++i,o.next?this.head=o.next:this.head=this.tail=null):(ya(r,new MM(s.buffer,s.byteOffset,t),n-t),this.head=o,o.data=s.slice(t));break}++i}while((o=o.next)!==null);return this.length-=i,r}[Symbol.for("nodejs.util.inspect.custom")](t,r){return PM(this,{...r,depth:0,customInspect:!1})}};const{MathFloor:BM,NumberIsInteger:DM}=ut,{validateInteger:$M}=Vs,{ERR_INVALID_ARG_VALUE:UM}=Vt.codes;let Jv=16*1024,Zv=16;function FM(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function e1(e){return e?Zv:Jv}function jM(e,t){$M(t,"value",0),e?Zv=t:Jv=t}function WM(e,t,r,n){const o=FM(t,n,r);if(o!=null){if(!DM(o)||o<0){const i=n?`options.${r}`:"options.highWaterMark";throw new UM(i,o)}return BM(o)}return e1(e.objectMode)}var yu={getHighWaterMark:WM,getDefaultHighWaterMark:e1,setDefaultHighWaterMark:jM},t1={},Hh={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh */(function(e,t){var r=Jt,n=r.Buffer;function o(s,a){for(var l in s)a[l]=s[l]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=i);function i(s,a,l){return n(s,a,l)}i.prototype=Object.create(n.prototype),o(n,i),i.from=function(s,a,l){if(typeof s=="number")throw new TypeError("Argument must not be a number");return n(s,a,l)},i.alloc=function(s,a,l){if(typeof s!="number")throw new TypeError("Argument must be a number");var u=n(s);return a!==void 0?typeof l=="string"?u.fill(a,l):u.fill(a):u.fill(0),u},i.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return n(s)},i.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(s)}})(Hh,Hh.exports);var HM=Hh.exports,dp=HM.Buffer,u0=dp.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function VM(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function qM(e){var t=VM(e);if(typeof t!="string"&&(dp.isEncoding===u0||!u0(e)))throw new Error("Unknown encoding: "+e);return t||e}t1.StringDecoder=qs;function qs(e){this.encoding=qM(e);var t;switch(this.encoding){case"utf16le":this.text=XM,this.end=JM,t=4;break;case"utf8":this.fillLast=zM,t=4;break;case"base64":this.text=ZM,this.end=e2,t=3;break;default:this.write=t2,this.end=r2;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=dp.allocUnsafe(t)}qs.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function KM(e,t,r){var n=t.length-1;if(n=0?(o>0&&(e.lastNeed=o-1),o):--n=0?(o>0&&(e.lastNeed=o-2),o):--n=0?(o>0&&(o===2?o=0:e.lastNeed=o-3),o):0))}function YM(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function zM(e){var t=this.lastTotal-this.lastNeed,r=YM(this,e);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function GM(e,t){var r=KM(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function QM(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function XM(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function JM(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function ZM(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function e2(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function t2(e){return e.toString(this.encoding)}function r2(e){return e&&e.length?this.write(e):""}const c0=Wi,{PromisePrototypeThen:n2,SymbolAsyncIterator:f0,SymbolIterator:h0}=ut,{Buffer:i2}=Jt,{ERR_INVALID_ARG_TYPE:o2,ERR_STREAM_NULL_VALUES:s2}=Vt.codes;function a2(e,t,r){let n;if(typeof t=="string"||t instanceof i2)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});let o;if(t&&t[f0])o=!0,n=t[f0]();else if(t&&t[h0])o=!1,n=t[h0]();else throw new o2("iterable",["Iterable"],t);const i=new e({objectMode:!0,highWaterMark:1,...r});let s=!1;i._read=function(){s||(s=!0,l())},i._destroy=function(u,c){n2(a(u),()=>c0.nextTick(c,u),d=>c0.nextTick(c,d||u))};async function a(u){const c=u!=null,d=typeof n.throw=="function";if(c&&d){const{value:p,done:g}=await n.throw(u);if(await p,g)return}if(typeof n.return=="function"){const{value:p}=await n.return();await p}}async function l(){for(;;){try{const{value:u,done:c}=o?await n.next():n.next();if(c)i.push(null);else{const d=u&&typeof u.then=="function"?await u:u;if(d===null)throw s=!1,new s2;if(i.push(d))continue;s=!1}}catch(u){i.destroy(u)}break}}return i}var r1=a2,vc,d0;function _u(){if(d0)return vc;d0=1;const e=Wi,{ArrayPrototypeIndexOf:t,NumberIsInteger:r,NumberIsNaN:n,NumberParseInt:o,ObjectDefineProperties:i,ObjectKeys:s,ObjectSetPrototypeOf:a,Promise:l,SafeSet:u,SymbolAsyncDispose:c,SymbolAsyncIterator:d,Symbol:p}=ut;vc=z,z.ReadableState=K;const{EventEmitter:g}=lu,{Stream:_,prependListener:b}=hp,{Buffer:x}=Jt,{addAbortSignal:k}=mu,R=Yn;let A=Lt.debuglog("stream",U=>{A=U});const B=LM,$=Ko,{getHighWaterMark:I,getDefaultHighWaterMark:P}=yu,{aggregateTwoErrors:W,codes:{ERR_INVALID_ARG_TYPE:Y,ERR_METHOD_NOT_IMPLEMENTED:oe,ERR_OUT_OF_RANGE:te,ERR_STREAM_PUSH_AFTER_EOF:M,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ie}=Vt,{validateObject:re}=Vs,ae=p("kPaused"),{StringDecoder:se}=t1,Q=r1;a(z.prototype,_.prototype),a(z,_);const he=()=>{},{errorOrDestroy:fe}=$,pe=1,F=2,ne=4,ge=8,Se=16,ye=32,V=64,j=128,Z=256,ue=512,le=1024,X=2048,E=4096,T=8192,S=16384,O=32768,N=65536,ee=1<<17,J=1<<18;function D(U){return{enumerable:!1,get(){return(this.state&U)!==0},set(q){q?this.state|=U:this.state&=~U}}}i(K.prototype,{objectMode:D(pe),ended:D(F),endEmitted:D(ne),reading:D(ge),constructed:D(Se),sync:D(ye),needReadable:D(V),emittedReadable:D(j),readableListening:D(Z),resumeScheduled:D(ue),errorEmitted:D(le),emitClose:D(X),autoDestroy:D(E),destroyed:D(T),closed:D(S),closeEmitted:D(O),multiAwaitDrain:D(N),readingMore:D(ee),dataEmitted:D(J)});function K(U,q,Re){typeof Re!="boolean"&&(Re=q instanceof fn()),this.state=X|E|Se|ye,U&&U.objectMode&&(this.state|=pe),Re&&U&&U.readableObjectMode&&(this.state|=pe),this.highWaterMark=U?I(this,U,"readableHighWaterMark",Re):P(!1),this.buffer=new B,this.length=0,this.pipes=[],this.flowing=null,this[ae]=null,U&&U.emitClose===!1&&(this.state&=~X),U&&U.autoDestroy===!1&&(this.state&=~E),this.errored=null,this.defaultEncoding=U&&U.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,U&&U.encoding&&(this.decoder=new se(U.encoding),this.encoding=U.encoding)}function z(U){if(!(this instanceof z))return new z(U);const q=this instanceof fn();this._readableState=new K(U,this,q),U&&(typeof U.read=="function"&&(this._read=U.read),typeof U.destroy=="function"&&(this._destroy=U.destroy),typeof U.construct=="function"&&(this._construct=U.construct),U.signal&&!q&&k(U.signal,this)),_.call(this,U),$.construct(this,()=>{this._readableState.needReadable&&v(this,this._readableState)})}z.prototype.destroy=$.destroy,z.prototype._undestroy=$.undestroy,z.prototype._destroy=function(U,q){q(U)},z.prototype[g.captureRejectionSymbol]=function(U){this.destroy(U)},z.prototype[c]=function(){let U;return this.destroyed||(U=this.readableEnded?null:new ie,this.destroy(U)),new l((q,Re)=>R(this,Ie=>Ie&&Ie!==U?Re(Ie):q(null)))},z.prototype.push=function(U,q){return ce(this,U,q,!1)},z.prototype.unshift=function(U,q){return ce(this,U,q,!0)};function ce(U,q,Re,Ie){A("readableAddChunk",q);const Ne=U._readableState;let et;if(Ne.state&pe||(typeof q=="string"?(Re=Re||Ne.defaultEncoding,Ne.encoding!==Re&&(Ie&&Ne.encoding?q=x.from(q,Re).toString(Ne.encoding):(q=x.from(q,Re),Re=""))):q instanceof x?Re="":_._isUint8Array(q)?(q=_._uint8ArrayToBuffer(q),Re=""):q!=null&&(et=new Y("chunk",["string","Buffer","Uint8Array"],q))),et)fe(U,et);else if(q===null)Ne.state&=~ge,f(U,Ne);else if(Ne.state&pe||q&&q.length>0)if(Ie)if(Ne.state&ne)fe(U,new L);else{if(Ne.destroyed||Ne.errored)return!1;be(U,Ne,q,!0)}else if(Ne.ended)fe(U,new M);else{if(Ne.destroyed||Ne.errored)return!1;Ne.state&=~ge,Ne.decoder&&!Re?(q=Ne.decoder.write(q),Ne.objectMode||q.length!==0?be(U,Ne,q,!1):v(U,Ne)):be(U,Ne,q,!1)}else Ie||(Ne.state&=~ge,v(U,Ne));return!Ne.ended&&(Ne.length0?(q.state&N?q.awaitDrainWriters.clear():q.awaitDrainWriters=null,q.dataEmitted=!0,U.emit("data",Re)):(q.length+=q.objectMode?1:Re.length,Ie?q.buffer.unshift(Re):q.buffer.push(Re),q.state&V&&m(U)),v(U,q)}z.prototype.isPaused=function(){const U=this._readableState;return U[ae]===!0||U.flowing===!1},z.prototype.setEncoding=function(U){const q=new se(U);this._readableState.decoder=q,this._readableState.encoding=this._readableState.decoder.encoding;const Re=this._readableState.buffer;let Ie="";for(const Ne of Re)Ie+=q.write(Ne);return Re.clear(),Ie!==""&&Re.push(Ie),this._readableState.length=Ie.length,this};const Te=1073741824;function y(U){if(U>Te)throw new te("size","<= 1GiB",U);return U--,U|=U>>>1,U|=U>>>2,U|=U>>>4,U|=U>>>8,U|=U>>>16,U++,U}function h(U,q){return U<=0||q.length===0&&q.ended?0:q.state&pe?1:n(U)?q.flowing&&q.length?q.buffer.first().length:q.length:U<=q.length?U:q.ended?q.length:0}z.prototype.read=function(U){A("read",U),U===void 0?U=NaN:r(U)||(U=o(U,10));const q=this._readableState,Re=U;if(U>q.highWaterMark&&(q.highWaterMark=y(U)),U!==0&&(q.state&=~j),U===0&&q.needReadable&&((q.highWaterMark!==0?q.length>=q.highWaterMark:q.length>0)||q.ended))return A("read: emitReadable",q.length,q.ended),q.length===0&&q.ended?mt(this):m(this),null;if(U=h(U,q),U===0&&q.ended)return q.length===0&&mt(this),null;let Ie=(q.state&V)!==0;if(A("need readable",Ie),(q.length===0||q.length-U0?Ne=He(U,q):Ne=null,Ne===null?(q.needReadable=q.length<=q.highWaterMark,U=0):(q.length-=U,q.multiAwaitDrain?q.awaitDrainWriters.clear():q.awaitDrainWriters=null),q.length===0&&(q.ended||(q.needReadable=!0),Re!==U&&q.ended&&mt(this)),Ne!==null&&!q.errorEmitted&&!q.closeEmitted&&(q.dataEmitted=!0,this.emit("data",Ne)),Ne};function f(U,q){if(A("onEofChunk"),!q.ended){if(q.decoder){const Re=q.decoder.end();Re&&Re.length&&(q.buffer.push(Re),q.length+=q.objectMode?1:Re.length)}q.ended=!0,q.sync?m(U):(q.needReadable=!1,q.emittedReadable=!0,w(U))}}function m(U){const q=U._readableState;A("emitReadable",q.needReadable,q.emittedReadable),q.needReadable=!1,q.emittedReadable||(A("emitReadable",q.flowing),q.emittedReadable=!0,e.nextTick(w,U))}function w(U){const q=U._readableState;A("emitReadable_",q.destroyed,q.length,q.ended),!q.destroyed&&!q.errored&&(q.length||q.ended)&&(U.emit("readable"),q.emittedReadable=!1),q.needReadable=!q.flowing&&!q.ended&&q.length<=q.highWaterMark,ke(U)}function v(U,q){!q.readingMore&&q.constructed&&(q.readingMore=!0,e.nextTick(C,U,q))}function C(U,q){for(;!q.reading&&!q.ended&&(q.length1&&Ie.pipes.includes(U)&&(A("false write response, pause",Ie.awaitDrainWriters.size),Ie.awaitDrainWriters.add(U)),Re.pause()),vr||(vr=H(Re,U),U.on("drain",vr))}Re.on("data",$p);function $p(zn){A("ondata");const Hr=U.write(zn);A("dest.write",Hr),Hr===!1&&Dp()}function Iu(zn){if(A("onerror",zn),zo(),U.removeListener("error",Iu),U.listenerCount("error")===0){const Hr=U._writableState||U._readableState;Hr&&!Hr.errorEmitted?fe(U,zn):U.emit("error",zn)}}b(U,"error",Iu);function Cu(){U.removeListener("finish",Ru),zo()}U.once("close",Cu);function Ru(){A("onfinish"),U.removeListener("close",Cu),zo()}U.once("finish",Ru);function zo(){A("unpipe"),Re.unpipe(U)}return U.emit("pipe",Re),U.writableNeedDrain===!0?Dp():Ie.flowing||(A("pipe resume"),Re.resume()),U};function H(U,q){return function(){const Ie=U._readableState;Ie.awaitDrainWriters===q?(A("pipeOnDrain",1),Ie.awaitDrainWriters=null):Ie.multiAwaitDrain&&(A("pipeOnDrain",Ie.awaitDrainWriters.size),Ie.awaitDrainWriters.delete(q)),(!Ie.awaitDrainWriters||Ie.awaitDrainWriters.size===0)&&U.listenerCount("data")&&U.resume()}}z.prototype.unpipe=function(U){const q=this._readableState,Re={hasUnpiped:!1};if(q.pipes.length===0)return this;if(!U){const Ne=q.pipes;q.pipes=[],this.pause();for(let et=0;et0,Ie.flowing!==!1&&this.resume()):U==="readable"&&!Ie.endEmitted&&!Ie.readableListening&&(Ie.readableListening=Ie.needReadable=!0,Ie.flowing=!1,Ie.emittedReadable=!1,A("on readable",Ie.length,Ie.reading),Ie.length?m(this):Ie.reading||e.nextTick(me,this)),Re},z.prototype.addListener=z.prototype.on,z.prototype.removeListener=function(U,q){const Re=_.prototype.removeListener.call(this,U,q);return U==="readable"&&e.nextTick(de,this),Re},z.prototype.off=z.prototype.removeListener,z.prototype.removeAllListeners=function(U){const q=_.prototype.removeAllListeners.apply(this,arguments);return(U==="readable"||U===void 0)&&e.nextTick(de,this),q};function de(U){const q=U._readableState;q.readableListening=U.listenerCount("readable")>0,q.resumeScheduled&&q[ae]===!1?q.flowing=!0:U.listenerCount("data")>0?U.resume():q.readableListening||(q.flowing=null)}function me(U){A("readable nexttick read 0"),U.read(0)}z.prototype.resume=function(){const U=this._readableState;return U.flowing||(A("resume"),U.flowing=!U.readableListening,_e(this,U)),U[ae]=!1,this};function _e(U,q){q.resumeScheduled||(q.resumeScheduled=!0,e.nextTick(Ae,U,q))}function Ae(U,q){A("resume",q.reading),q.reading||U.read(0),q.resumeScheduled=!1,U.emit("resume"),ke(U),q.flowing&&!q.reading&&U.read(0)}z.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[ae]=!0,this};function ke(U){const q=U._readableState;for(A("flow",q.flowing);q.flowing&&U.read()!==null;);}z.prototype.wrap=function(U){let q=!1;U.on("data",Ie=>{!this.push(Ie)&&U.pause&&(q=!0,U.pause())}),U.on("end",()=>{this.push(null)}),U.on("error",Ie=>{fe(this,Ie)}),U.on("close",()=>{this.destroy()}),U.on("destroy",()=>{this.destroy()}),this._read=()=>{q&&U.resume&&(q=!1,U.resume())};const Re=s(U);for(let Ie=1;Ie{Ne=ct?W(Ne,ct):null,Re(),Re=he});try{for(;;){const ct=U.destroyed?null:U.read();if(ct!==null)yield ct;else{if(Ne)throw Ne;if(Ne===null)return;await new l(Ie)}}}catch(ct){throw Ne=W(Ne,ct),Ne}finally{(Ne||(q==null?void 0:q.destroyOnReturn)!==!1)&&(Ne===void 0||U._readableState.autoDestroy)?$.destroyer(U,null):(U.off("readable",Ie),et())}}i(z.prototype,{readable:{__proto__:null,get(){const U=this._readableState;return!!U&&U.readable!==!1&&!U.destroyed&&!U.errorEmitted&&!U.endEmitted},set(U){this._readableState&&(this._readableState.readable=!!U)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(U){this._readableState&&(this._readableState.flowing=U)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(U){this._readableState&&(this._readableState.destroyed=U)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),i(K.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[ae]!==!1},set(U){this[ae]=!!U}}}),z._fromList=He;function He(U,q){if(q.length===0)return null;let Re;return q.objectMode?Re=q.buffer.shift():!U||U>=q.length?(q.decoder?Re=q.buffer.join(""):q.buffer.length===1?Re=q.buffer.first():Re=q.buffer.concat(q.length),q.buffer.clear()):Re=q.buffer.consume(U,q.decoder),Re}function mt(U){const q=U._readableState;A("endReadable",q.endEmitted),q.endEmitted||(q.ended=!0,e.nextTick(st,q,U))}function st(U,q){if(A("endReadableNT",U.endEmitted,U.length),!U.errored&&!U.closeEmitted&&!U.endEmitted&&U.length===0){if(U.endEmitted=!0,q.emit("end"),q.writable&&q.allowHalfOpen===!1)e.nextTick(at,q);else if(U.autoDestroy){const Re=q._writableState;(!Re||Re.autoDestroy&&(Re.finished||Re.writable===!1))&&q.destroy()}}}function at(U){U.writable&&!U.writableEnded&&!U.destroyed&&U.end()}z.from=function(U,q){return Q(z,U,q)};let Qe;function ht(){return Qe===void 0&&(Qe={}),Qe}return z.fromWeb=function(U,q){return ht().newStreamReadableFromReadableStream(U,q)},z.toWeb=function(U,q){return ht().newReadableStreamFromStreamReadable(U,q)},z.wrap=function(U,q){var Re,Ie;return new z({objectMode:(Re=(Ie=U.readableObjectMode)!==null&&Ie!==void 0?Ie:U.objectMode)!==null&&Re!==void 0?Re:!0,...q,destroy(Ne,et){$.destroyer(U,Ne),et(Ne)}}).wrap(U)},vc}var Ec,p0;function pp(){if(p0)return Ec;p0=1;const e=Wi,{ArrayPrototypeSlice:t,Error:r,FunctionPrototypeSymbolHasInstance:n,ObjectDefineProperty:o,ObjectDefineProperties:i,ObjectSetPrototypeOf:s,StringPrototypeToLowerCase:a,Symbol:l,SymbolHasInstance:u}=ut;Ec=re,re.WritableState=L;const{EventEmitter:c}=lu,d=hp.Stream,{Buffer:p}=Jt,g=Ko,{addAbortSignal:_}=mu,{getHighWaterMark:b,getDefaultHighWaterMark:x}=yu,{ERR_INVALID_ARG_TYPE:k,ERR_METHOD_NOT_IMPLEMENTED:R,ERR_MULTIPLE_CALLBACK:A,ERR_STREAM_CANNOT_PIPE:B,ERR_STREAM_DESTROYED:$,ERR_STREAM_ALREADY_FINISHED:I,ERR_STREAM_NULL_VALUES:P,ERR_STREAM_WRITE_AFTER_END:W,ERR_UNKNOWN_ENCODING:Y}=Vt.codes,{errorOrDestroy:oe}=g;s(re.prototype,d.prototype),s(re,d);function te(){}const M=l("kOnFinished");function L(E,T,S){typeof S!="boolean"&&(S=T instanceof fn()),this.objectMode=!!(E&&E.objectMode),S&&(this.objectMode=this.objectMode||!!(E&&E.writableObjectMode)),this.highWaterMark=E?b(this,E,"writableHighWaterMark",S):x(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const O=!!(E&&E.decodeStrings===!1);this.decodeStrings=!O,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=fe.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ie(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!E||E.emitClose!==!1,this.autoDestroy=!E||E.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[M]=[]}function ie(E){E.buffered=[],E.bufferedIndex=0,E.allBuffers=!0,E.allNoop=!0}L.prototype.getBuffer=function(){return t(this.buffered,this.bufferedIndex)},o(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function re(E){const T=this instanceof fn();if(!T&&!n(re,this))return new re(E);this._writableState=new L(E,this,T),E&&(typeof E.write=="function"&&(this._write=E.write),typeof E.writev=="function"&&(this._writev=E.writev),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.final=="function"&&(this._final=E.final),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&_(E.signal,this)),d.call(this,E),g.construct(this,()=>{const S=this._writableState;S.writing||ge(this,S),j(this,S)})}o(re,u,{__proto__:null,value:function(E){return n(this,E)?!0:this!==re?!1:E&&E._writableState instanceof L}}),re.prototype.pipe=function(){oe(this,new B)};function ae(E,T,S,O){const N=E._writableState;if(typeof S=="function")O=S,S=N.defaultEncoding;else{if(!S)S=N.defaultEncoding;else if(S!=="buffer"&&!p.isEncoding(S))throw new Y(S);typeof O!="function"&&(O=te)}if(T===null)throw new P;if(!N.objectMode)if(typeof T=="string")N.decodeStrings!==!1&&(T=p.from(T,S),S="buffer");else if(T instanceof p)S="buffer";else if(d._isUint8Array(T))T=d._uint8ArrayToBuffer(T),S="buffer";else throw new k("chunk",["string","Buffer","Uint8Array"],T);let ee;return N.ending?ee=new W:N.destroyed&&(ee=new $("write")),ee?(e.nextTick(O,ee),oe(E,ee,!0),ee):(N.pendingcb++,se(E,N,T,S,O))}re.prototype.write=function(E,T,S){return ae(this,E,T,S)===!0},re.prototype.cork=function(){this._writableState.corked++},re.prototype.uncork=function(){const E=this._writableState;E.corked&&(E.corked--,E.writing||ge(this,E))},re.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=a(T)),!p.isEncoding(T))throw new Y(T);return this._writableState.defaultEncoding=T,this};function se(E,T,S,O,N){const ee=T.objectMode?1:S.length;T.length+=ee;const J=T.lengthS.bufferedIndex&&ge(E,S),O?S.afterWriteTickInfo!==null&&S.afterWriteTickInfo.cb===N?S.afterWriteTickInfo.count++:(S.afterWriteTickInfo={count:1,cb:N,stream:E,state:S},e.nextTick(pe,S.afterWriteTickInfo)):F(E,S,1,N))}function pe({stream:E,state:T,count:S,cb:O}){return T.afterWriteTickInfo=null,F(E,T,S,O)}function F(E,T,S,O){for(!T.ending&&!E.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,E.emit("drain"));S-- >0;)T.pendingcb--,O();T.destroyed&&ne(T),j(E,T)}function ne(E){if(E.writing)return;for(let N=E.bufferedIndex;N1&&E._writev){T.pendingcb-=ee-1;const D=T.allNoop?te:z=>{for(let ce=J;ce256?(S.splice(0,J),T.bufferedIndex=0):T.bufferedIndex=J}T.bufferProcessing=!1}re.prototype._write=function(E,T,S){if(this._writev)this._writev([{chunk:E,encoding:T}],S);else throw new R("_write()")},re.prototype._writev=null,re.prototype.end=function(E,T,S){const O=this._writableState;typeof E=="function"?(S=E,E=null,T=null):typeof T=="function"&&(S=T,T=null);let N;if(E!=null){const ee=ae(this,E,T);ee instanceof r&&(N=ee)}return O.corked&&(O.corked=1,this.uncork()),N||(!O.errored&&!O.ending?(O.ending=!0,j(this,O,!0),O.ended=!0):O.finished?N=new I("end"):O.destroyed&&(N=new $("end"))),typeof S=="function"&&(N||O.finished?e.nextTick(S,N):O[M].push(S)),this};function Se(E){return E.ending&&!E.destroyed&&E.constructed&&E.length===0&&!E.errored&&E.buffered.length===0&&!E.finished&&!E.writing&&!E.errorEmitted&&!E.closeEmitted}function ye(E,T){let S=!1;function O(N){if(S){oe(E,N??A());return}if(S=!0,T.pendingcb--,N){const ee=T[M].splice(0);for(let J=0;J{Se(N)?Z(O,N):N.pendingcb--},E,T)):Se(T)&&(T.pendingcb++,Z(E,T))))}function Z(E,T){T.pendingcb--,T.finished=!0;const S=T[M].splice(0);for(let O=0;O{if(ne!=null)throw new _("nully","body",ne)},ne=>{b(pe,ne)});return pe=new Y({objectMode:!0,readable:!1,write:se,final(ne){Q(async()=>{try{await F,e.nextTick(ne,null)}catch(ge){e.nextTick(ne,ge)}})},destroy:he})}throw new _("Iterable, AsyncIterable or AsyncFunction",ie,ae)}if(I(L))return M(L.arrayBuffer());if(o(L))return B(Y,L,{objectMode:!0,writable:!1});if(u(L==null?void 0:L.readable)&&c(L==null?void 0:L.writable))return Y.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const ae=L!=null&&L.readable?s(L==null?void 0:L.readable)?L==null?void 0:L.readable:M(L.readable):void 0,se=L!=null&&L.writable?a(L==null?void 0:L.writable)?L==null?void 0:L.writable:M(L.writable):void 0;return te({readable:ae,writable:se})}const re=L==null?void 0:L.then;if(typeof re=="function"){let ae;return W(re,L,se=>{se!=null&&ae.push(se),ae.push(null)},se=>{b(ae,se)}),ae=new Y({objectMode:!0,writable:!1,read(){}})}throw new g(ie,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function oe(M){let{promise:L,resolve:ie}=A();const re=new P,ae=re.signal;return{value:M(async function*(){for(;;){const Q=L;L=null;const{chunk:he,done:fe,cb:pe}=await Q;if(e.nextTick(pe),fe)return;if(ae.aborted)throw new p(void 0,{cause:ae.reason});({promise:L,resolve:ie}=A()),yield he}}(),{signal:ae}),write(Q,he,fe){const pe=ie;ie=null,pe({chunk:Q,done:!1,cb:fe})},final(Q){const he=ie;ie=null,he({done:!0,cb:Q})},destroy(Q,he){re.abort(),he(Q)}}}function te(M){const L=M.readable&&typeof M.readable.read!="function"?k.wrap(M.readable):M.readable,ie=M.writable;let re=!!r(L),ae=!!n(ie),se,Q,he,fe,pe;function F(ne){const ge=fe;fe=null,ge?ge(ne):ne&&pe.destroy(ne)}return pe=new Y({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ie!=null&&ie.writableObjectMode),readable:re,writable:ae}),ae&&(d(ie,ne=>{ae=!1,ne&&b(L,ne),F(ne)}),pe._write=function(ne,ge,Se){ie.write(ne,ge)?Se():se=Se},pe._final=function(ne){ie.end(),Q=ne},ie.on("drain",function(){if(se){const ne=se;se=null,ne()}}),ie.on("finish",function(){if(Q){const ne=Q;Q=null,ne()}})),re&&(d(L,ne=>{re=!1,ne&&b(L,ne),F(ne)}),L.on("readable",function(){if(he){const ne=he;he=null,ne()}}),L.on("end",function(){pe.push(null)}),pe._read=function(){for(;;){const ne=L.read();if(ne===null){he=pe._read;return}if(!pe.push(ne))return}}),pe._destroy=function(ne,ge){!ne&&fe!==null&&(ne=new p),he=null,se=null,Q=null,fe===null?ge(ne):(fe=ge,b(ie,ne),b(L,ne))},pe}return Sc}var Ac,m0;function fn(){if(m0)return Ac;m0=1;const{ObjectDefineProperties:e,ObjectGetOwnPropertyDescriptor:t,ObjectKeys:r,ObjectSetPrototypeOf:n}=ut;Ac=s;const o=_u(),i=pp();n(s.prototype,o.prototype),n(s,o);{const c=r(i.prototype);for(let d=0;d{if(t){e?e(t):this.destroy(t);return}r!=null&&this.push(r),this.push(null),e&&e()}):(this.push(null),e&&e())}function h2(){this._final!==Vh&&Vh.call(this)}hn.prototype._final=Vh;hn.prototype._transform=function(e,t,r){throw new c2("_transform()")};hn.prototype._write=function(e,t,r){const n=this._readableState,o=this._writableState,i=n.length;this._transform(e,t,(s,a)=>{if(s){r(s);return}a!=null&&this.push(a),o.ended||i===n.length||n.length{n=!0});const o=ml(e,{readable:t,writable:r},i=>{n=!i});return{destroy:i=>{n||(n=!0,_2.destroyer(e,i||new v2("pipe")))},cleanup:o}}function R2(e){return A2(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function kc(e){if(si(e))return e;if(Va(e))return O2(e);throw new qh("val",["Readable","Iterable","AsyncIterable"],e)}async function*O2(e){Rc||(Rc=_u()),yield*Rc.prototype[g2].call(e)}async function _a(e,t,r,{end:n}){let o,i=null;const s=u=>{if(u&&(o=u),i){const c=i;i=null,c()}},a=()=>new p2((u,c)=>{o?c(o):i=()=>{o?c(o):u()}});t.on("drain",s);const l=ml(t,{readable:!1},s);try{t.writableNeedDrain&&await a();for await(const u of e)t.write(u)||await a();n&&(t.end(),await a()),r()}catch(u){r(o!==u?b2(o,u):u)}finally{l(),t.off("drain",s)}}async function Nc(e,t,r,{end:n}){io(t)&&(t=t.writable);const o=t.getWriter();try{for await(const i of e)await o.ready,o.write(i).catch(()=>{});await o.ready,n&&await o.close(),r()}catch(i){try{await o.abort(i),r(i)}catch(s){r(s)}}}function k2(...e){return a1(e,y2(R2(e)))}function a1(e,t,r){if(e.length===1&&d2(e[0])&&(e=e[0]),e.length<2)throw new w2("streams");const n=new C2,o=n.signal,i=r==null?void 0:r.signal,s=[];T2(i,"options.signal");function a(){_(new S2)}Oc=Oc||Lt.addAbortListener;let l;i&&(l=Oc(i,a));let u,c;const d=[];let p=0;function g(R){_(R,--p===0)}function _(R,A){var B;if(R&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=R),!(!u&&!A)){for(;d.length;)d.shift()(u);(B=l)===null||B===void 0||B[m2](),n.abort(),A&&(u||s.forEach($=>$()),hs.nextTick(t,u,c))}}let b;for(let R=0;R0,I=B||(r==null?void 0:r.end)!==!1,P=R===e.length-1;if(_0(A)){let W=function(Y){Y&&Y.name!=="AbortError"&&Y.code!=="ERR_STREAM_PREMATURE_CLOSE"&&g(Y)};if(I){const{destroy:Y,cleanup:oe}=b0(A,B,$);d.push(Y),xc(A)&&P&&s.push(oe)}A.on("error",W),xc(A)&&P&&s.push(()=>{A.removeListener("error",W)})}if(R===0)if(typeof A=="function"){if(b=A({signal:o}),!si(b))throw new Tc("Iterable, AsyncIterable or Stream","source",b)}else si(A)||Va(A)||io(A)?b=A:b=y0.from(A);else if(typeof A=="function"){if(io(b)){var x;b=kc((x=b)===null||x===void 0?void 0:x.readable)}else b=kc(b);if(b=A(b,{signal:o}),B){if(!si(b,!0))throw new Tc("AsyncIterable",`transform[${R-1}]`,b)}else{var k;Cc||(Cc=s1);const W=new Cc({objectMode:!0}),Y=(k=b)===null||k===void 0?void 0:k.then;if(typeof Y=="function")p++,Y.call(b,M=>{c=M,M!=null&&W.write(M),I&&W.end(),hs.nextTick(g)},M=>{W.destroy(M),hs.nextTick(g,M)});else if(si(b,!0))p++,_a(b,W,g,{end:I});else if(Ic(b)||io(b)){const M=b.readable||b;p++,_a(M,W,g,{end:I})}else throw new Tc("AsyncIterable or Promise","destination",b);b=W;const{destroy:oe,cleanup:te}=b0(b,!1,!0);d.push(oe),P&&s.push(te)}}else if(_0(A)){if(Va(b)){p+=2;const W=N2(b,A,g,{end:I});xc(A)&&P&&s.push(W)}else if(io(b)||Ic(b)){const W=b.readable||b;p++,_a(W,A,g,{end:I})}else if(si(b))p++,_a(b,A,g,{end:I});else throw new qh("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],b);b=A}else if(x2(A)){if(Va(b))p++,Nc(kc(b),A,g,{end:I});else if(Ic(b)||si(b))p++,Nc(b,A,g,{end:I});else if(io(b))p++,Nc(b.readable,A,g,{end:I});else throw new qh("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],b);b=A}else b=y0.from(A)}return(o!=null&&o.aborted||i!=null&&i.aborted)&&hs.nextTick(a),b}function N2(e,t,r,{end:n}){let o=!1;if(t.on("close",()=>{o||r(new E2)}),e.pipe(t,{end:!1}),n){let i=function(){o=!0,t.end()};I2(e)?hs.nextTick(i):e.once("end",i)}else r();return ml(e,{readable:!0,writable:!1},i=>{const s=e._readableState;i&&i.code==="ERR_STREAM_PREMATURE_CLOSE"&&s&&s.ended&&!s.errored&&!s.errorEmitted?e.once("end",r).once("error",r):r(i)}),ml(t,{readable:!1,writable:!0},r)}var yp={pipelineImpl:a1,pipeline:k2};const{pipeline:M2}=yp,ba=fn(),{destroyer:P2}=Ko,{isNodeStream:wa,isReadable:w0,isWritable:v0,isWebStream:Mc,isTransformStream:ni,isWritableStream:E0,isReadableStream:S0}=En,{AbortError:L2,codes:{ERR_INVALID_ARG_VALUE:A0,ERR_MISSING_ARGS:B2}}=Vt,D2=Yn;var l1=function(...t){if(t.length===0)throw new B2("streams");if(t.length===1)return ba.from(t[0]);const r=[...t];if(typeof t[0]=="function"&&(t[0]=ba.from(t[0])),typeof t[t.length-1]=="function"){const g=t.length-1;t[g]=ba.from(t[g])}for(let g=0;g0&&!(v0(t[g])||E0(t[g])||ni(t[g])))throw new A0(`streams[${g}]`,r[g],"must be writable")}let n,o,i,s,a;function l(g){const _=s;s=null,_?_(g):g?a.destroy(g):!p&&!d&&a.destroy()}const u=t[0],c=M2(t,l),d=!!(v0(u)||E0(u)||ni(u)),p=!!(w0(c)||S0(c)||ni(c));if(a=new ba({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(c!=null&&c.readableObjectMode),writable:d,readable:p}),d){if(wa(u))a._write=function(_,b,x){u.write(_,b)?x():n=x},a._final=function(_){u.end(),o=_},u.on("drain",function(){if(n){const _=n;n=null,_()}});else if(Mc(u)){const b=(ni(u)?u.writable:u).getWriter();a._write=async function(x,k,R){try{await b.ready,b.write(x).catch(()=>{}),R()}catch(A){R(A)}},a._final=async function(x){try{await b.ready,b.close().catch(()=>{}),o=x}catch(k){x(k)}}}const g=ni(c)?c.readable:c;D2(g,()=>{if(o){const _=o;o=null,_()}})}if(p){if(wa(c))c.on("readable",function(){if(i){const g=i;i=null,g()}}),c.on("end",function(){a.push(null)}),a._read=function(){for(;;){const g=c.read();if(g===null){i=a._read;return}if(!a.push(g))return}};else if(Mc(c)){const _=(ni(c)?c.readable:c).getReader();a._read=async function(){for(;;)try{const{value:b,done:x}=await _.read();if(!a.push(b))return;if(x){a.push(null);return}}catch{return}}}}return a._destroy=function(g,_){!g&&s!==null&&(g=new L2),i=null,n=null,o=null,s===null?_(g):(s=_,wa(c)&&P2(c,g))},a};const $2=globalThis.AbortController||Ns().AbortController,{codes:{ERR_INVALID_ARG_VALUE:U2,ERR_INVALID_ARG_TYPE:Ks,ERR_MISSING_ARGS:F2,ERR_OUT_OF_RANGE:j2},AbortError:Fr}=Vt,{validateAbortSignal:Vi,validateInteger:T0,validateObject:qi}=Vs,W2=ut.Symbol("kWeak"),H2=ut.Symbol("kResistStopPropagation"),{finished:V2}=Yn,q2=l1,{addAbortSignalNoValidate:K2}=mu,{isWritable:Y2,isNodeStream:z2}=En,{deprecate:G2}=Lt,{ArrayPrototypePush:Q2,Boolean:X2,MathFloor:x0,Number:J2,NumberIsNaN:Z2,Promise:I0,PromiseReject:C0,PromiseResolve:eP,PromisePrototypeThen:R0,Symbol:u1}=ut,yl=u1("kEmpty"),O0=u1("kEof");function tP(e,t){if(t!=null&&qi(t,"options"),(t==null?void 0:t.signal)!=null&&Vi(t.signal,"options.signal"),z2(e)&&!Y2(e))throw new U2("stream",e,"must be writable");const r=q2(this,e);return t!=null&&t.signal&&K2(t.signal,r),r}function bu(e,t){if(typeof e!="function")throw new Ks("fn",["Function","AsyncFunction"],e);t!=null&&qi(t,"options"),(t==null?void 0:t.signal)!=null&&Vi(t.signal,"options.signal");let r=1;(t==null?void 0:t.concurrency)!=null&&(r=x0(t.concurrency));let n=r-1;return(t==null?void 0:t.highWaterMark)!=null&&(n=x0(t.highWaterMark)),T0(r,"options.concurrency",1),T0(n,"options.highWaterMark",0),n+=r,(async function*(){const i=Lt.AbortSignalAny([t==null?void 0:t.signal].filter(X2)),s=this,a=[],l={signal:i};let u,c,d=!1,p=0;function g(){d=!0,_()}function _(){p-=1,b()}function b(){c&&!d&&p=n||p>=r)&&await new I0(R=>{c=R})}a.push(O0)}catch(k){const R=C0(k);R0(R,_,g),a.push(R)}finally{d=!0,u&&(u(),u=null)}}x();try{for(;;){for(;a.length>0;){const k=await a[0];if(k===O0)return;if(i.aborted)throw new Fr;k!==yl&&(yield k),a.shift(),b()}await new I0(k=>{u=k})}}finally{d=!0,c&&(c(),c=null)}}).call(this)}function rP(e=void 0){return e!=null&&qi(e,"options"),(e==null?void 0:e.signal)!=null&&Vi(e.signal,"options.signal"),(async function*(){let r=0;for await(const o of this){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Fr({cause:e.signal.reason});yield[r++,o]}}).call(this)}async function c1(e,t=void 0){for await(const r of _p.call(this,e,t))return!0;return!1}async function nP(e,t=void 0){if(typeof e!="function")throw new Ks("fn",["Function","AsyncFunction"],e);return!await c1.call(this,async(...r)=>!await e(...r),t)}async function iP(e,t){for await(const r of _p.call(this,e,t))return r}async function oP(e,t){if(typeof e!="function")throw new Ks("fn",["Function","AsyncFunction"],e);async function r(n,o){return await e(n,o),yl}for await(const n of bu.call(this,r,t));}function _p(e,t){if(typeof e!="function")throw new Ks("fn",["Function","AsyncFunction"],e);async function r(n,o){return await e(n,o)?n:yl}return bu.call(this,r,t)}class sP extends F2{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function aP(e,t,r){var n;if(typeof e!="function")throw new Ks("reducer",["Function","AsyncFunction"],e);r!=null&&qi(r,"options"),(r==null?void 0:r.signal)!=null&&Vi(r.signal,"options.signal");let o=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){const u=new Fr(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await V2(this.destroy(u)),u}const i=new $2,s=i.signal;if(r!=null&&r.signal){const u={once:!0,[W2]:this,[H2]:!0};r.signal.addEventListener("abort",()=>i.abort(),u)}let a=!1;try{for await(const u of this){var l;if(a=!0,r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new Fr;o?t=await e(t,u,{signal:s}):(t=u,o=!0)}if(!a&&!o)throw new sP}finally{i.abort()}return t}async function lP(e){e!=null&&qi(e,"options"),(e==null?void 0:e.signal)!=null&&Vi(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new Fr(void 0,{cause:e.signal.reason});Q2(t,n)}return t}function uP(e,t){const r=bu.call(this,e,t);return(async function*(){for await(const o of r)yield*o}).call(this)}function f1(e){if(e=J2(e),Z2(e))return 0;if(e<0)throw new j2("number",">= 0",e);return e}function cP(e,t=void 0){return t!=null&&qi(t,"options"),(t==null?void 0:t.signal)!=null&&Vi(t.signal,"options.signal"),e=f1(e),(async function*(){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new Fr;for await(const i of this){var o;if(t!=null&&(o=t.signal)!==null&&o!==void 0&&o.aborted)throw new Fr;e--<=0&&(yield i)}}).call(this)}function fP(e,t=void 0){return t!=null&&qi(t,"options"),(t==null?void 0:t.signal)!=null&&Vi(t.signal,"options.signal"),e=f1(e),(async function*(){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new Fr;for await(const i of this){var o;if(t!=null&&(o=t.signal)!==null&&o!==void 0&&o.aborted)throw new Fr;if(e-- >0&&(yield i),e<=0)return}}).call(this)}ap.streamReturningOperators={asIndexedPairs:G2(rP,"readable.asIndexedPairs will be removed in a future version."),drop:cP,filter:_p,flatMap:uP,map:bu,take:fP,compose:tP};ap.promiseReturningOperators={every:nP,forEach:oP,reduce:aP,toArray:lP,some:c1,find:iP};var Pc,k0;function h1(){if(k0)return Pc;k0=1;const{ArrayPrototypePop:e,Promise:t}=ut,{isIterable:r,isNodeStream:n,isWebStream:o}=En,{pipelineImpl:i}=yp,{finished:s}=Yn;d1();function a(...l){return new t((u,c)=>{let d,p;const g=l[l.length-1];if(g&&typeof g=="object"&&!n(g)&&!r(g)&&!o(g)){const _=e(l);d=_.signal,p=_.end}i(l,(_,b)=>{_?c(_):u(b)},{signal:d,end:p})})}return Pc={finished:s,pipeline:a},Pc}var N0;function d1(){if(N0)return gc.exports;N0=1;const{Buffer:e}=Jt,{ObjectDefineProperty:t,ObjectKeys:r,ReflectApply:n}=ut,{promisify:{custom:o}}=Lt,{streamReturningOperators:i,promiseReturningOperators:s}=ap,{codes:{ERR_ILLEGAL_CONSTRUCTOR:a}}=Vt,l=l1,{setDefaultHighWaterMark:u,getDefaultHighWaterMark:c}=yu,{pipeline:d}=yp,{destroyer:p}=Ko,g=Yn,_=h1(),b=En,x=gc.exports=hp.Stream;x.isDestroyed=b.isDestroyed,x.isDisturbed=b.isDisturbed,x.isErrored=b.isErrored,x.isReadable=b.isReadable,x.isWritable=b.isWritable,x.Readable=_u();for(const R of r(i)){let B=function(...$){if(new.target)throw a();return x.Readable.from(n(A,this,$))};const A=i[R];t(B,"name",{__proto__:null,value:A.name}),t(B,"length",{__proto__:null,value:A.length}),t(x.Readable.prototype,R,{__proto__:null,value:B,enumerable:!1,configurable:!0,writable:!0})}for(const R of r(s)){let B=function(...$){if(new.target)throw a();return n(A,this,$)};const A=s[R];t(B,"name",{__proto__:null,value:A.name}),t(B,"length",{__proto__:null,value:A.length}),t(x.Readable.prototype,R,{__proto__:null,value:B,enumerable:!1,configurable:!0,writable:!0})}x.Writable=pp(),x.Duplex=fn(),x.Transform=i1,x.PassThrough=s1,x.pipeline=d;const{addAbortSignal:k}=mu;return x.addAbortSignal=k,x.finished=g,x.destroy=p,x.compose=l,x.setDefaultHighWaterMark=u,x.getDefaultHighWaterMark=c,t(x,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return _}}),t(d,o,{__proto__:null,enumerable:!0,get(){return _.pipeline}}),t(g,o,{__proto__:null,enumerable:!0,get(){return _.finished}}),x.Stream=x,x._isUint8Array=function(A){return A instanceof Uint8Array},x._uint8ArrayToBuffer=function(A){return e.from(A.buffer,A.byteOffset,A.byteLength)},gc.exports}(function(e){const t=d1(),r=h1(),n=t.Readable.destroy;e.exports=t.Readable,e.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,e.exports._isUint8Array=t._isUint8Array,e.exports.isDisturbed=t.isDisturbed,e.exports.isErrored=t.isErrored,e.exports.isReadable=t.isReadable,e.exports.Readable=t.Readable,e.exports.Writable=t.Writable,e.exports.Duplex=t.Duplex,e.exports.Transform=t.Transform,e.exports.PassThrough=t.PassThrough,e.exports.addAbortSignal=t.addAbortSignal,e.exports.finished=t.finished,e.exports.destroy=t.destroy,e.exports.destroy=n,e.exports.pipeline=t.pipeline,e.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return r}}),e.exports.Stream=t.Stream,e.exports.default=e.exports})(uv);var hP=uv.exports,Kh={exports:{}};typeof Object.create=="function"?Kh.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Kh.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}};var dP=Kh.exports;const{Buffer:gr}=Jt,p1=Symbol.for("BufferList");function Ge(e){if(!(this instanceof Ge))return new Ge(e);Ge._init.call(this,e)}Ge._init=function(t){Object.defineProperty(this,p1,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};Ge.prototype._new=function(t){return new Ge(t)};Ge.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let n=0;nthis.length||t<0)return;const r=this._offset(t);return this._bufs[r[0]][r[1]]};Ge.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};Ge.prototype.copy=function(t,r,n,o){if((typeof n!="number"||n<0)&&(n=0),(typeof o!="number"||o>this.length)&&(o=this.length),n>=this.length||o<=0)return t||gr.alloc(0);const i=!!t,s=this._offset(n),a=o-n;let l=a,u=i&&r||0,c=s[1];if(n===0&&o===this.length){if(!i)return this._bufs.length===1?this._bufs[0]:gr.concat(this._bufs,this.length);for(let d=0;dp)this._bufs[d].copy(t,u,c),u+=p;else{this._bufs[d].copy(t,u,c,c+l),u+=p;break}l-=p,c&&(c=0)}return t.length>u?t.slice(0,u):t};Ge.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();const n=this._offset(t),o=this._offset(r),i=this._bufs.slice(n[0],o[0]+1);return o[1]===0?i.pop():i[i.length-1]=i[i.length-1].slice(0,o[1]),n[1]!==0&&(i[0]=i[0].slice(n[1])),this._new(i)};Ge.prototype.toString=function(t,r,n){return this.slice(r,n).toString(t)};Ge.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};Ge.prototype.duplicate=function(){const t=this._new();for(let r=0;rthis.length?this.length:t;const n=this._offset(t);let o=n[0],i=n[1];for(;o=e.length){const l=s.indexOf(e,i);if(l!==-1)return this._reverseOffset([o,l]);i=s.length-e.length+1}else{const l=this._reverseOffset([o,i]);if(this._match(l,e))return l;i++}i=0}return-1};Ge.prototype._match=function(e,t){if(this.length-e[0,1].map(s=>[0,1].map(a=>{const l=r.alloc(1);return l.writeUInt8(t.codes[o]<r.from([o])),t.EMPTY={pingreq:r.from([t.codes.pingreq<<4,0]),pingresp:r.from([t.codes.pingresp<<4,0]),disconnect:r.from([t.codes.disconnect<<4,0])},t.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},t.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},t.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},t.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},t.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},t.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}})(mP);function g1(){throw new Error("setTimeout has not been defined")}function m1(){throw new Error("clearTimeout has not been defined")}var Rn=g1,On=m1;typeof Ii.setTimeout=="function"&&(Rn=setTimeout);typeof Ii.clearTimeout=="function"&&(On=clearTimeout);function y1(e){if(Rn===setTimeout)return setTimeout(e,0);if((Rn===g1||!Rn)&&setTimeout)return Rn=setTimeout,setTimeout(e,0);try{return Rn(e,0)}catch{try{return Rn.call(null,e,0)}catch{return Rn.call(this,e,0)}}}function yP(e){if(On===clearTimeout)return clearTimeout(e);if((On===m1||!On)&&clearTimeout)return On=clearTimeout,clearTimeout(e);try{return On(e)}catch{try{return On.call(null,e)}catch{return On.call(this,e)}}}var en=[],wo=!1,yi,qa=-1;function _P(){!wo||!yi||(wo=!1,yi.length?en=yi.concat(en):qa=-1,en.length&&_1())}function _1(){if(!wo){var e=y1(_P);wo=!0;for(var t=en.length;t;){for(yi=en,en=[];++qa1)for(var r=1;r0)return s(c);if(p==="number"&&isFinite(c))return d.long?l(c):a(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function s(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(d){var p=parseFloat(d[1]),g=(d[2]||"ms").toLowerCase();switch(g){case"years":case"year":case"yrs":case"yr":case"y":return p*i;case"weeks":case"week":case"w":return p*o;case"days":case"day":case"d":return p*n;case"hours":case"hour":case"hrs":case"hr":case"h":return p*r;case"minutes":case"minute":case"mins":case"min":case"m":return p*t;case"seconds":case"second":case"secs":case"sec":case"s":return p*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function a(c){var d=Math.abs(c);return d>=n?Math.round(c/n)+"d":d>=r?Math.round(c/r)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=n?u(c,d,n,"day"):d>=r?u(c,d,r,"hour"):d>=t?u(c,d,t,"minute"):d>=e?u(c,d,e,"second"):c+" ms"}function u(c,d,p,g){var _=d>=p*1.5;return Math.round(c/p)+" "+g+(_?"s":"")}return Lc}function qP(e){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=o,r.enabled=s,r.humanize=VP(),r.destroy=u,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let d=0;for(let p=0;p{if(I==="%%")return"%";B++;const W=r.formatters[P];if(typeof W=="function"){const Y=x[B];I=W.call(k,Y),x.splice(B,1),B--}return I}),r.formatArgs.call(k,x),(k.log||r.log).apply(k,x)}return b.namespace=c,b.useColors=r.useColors(),b.color=r.selectColor(c),b.extend=n,b.destroy=r.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(g!==r.namespaces&&(g=r.namespaces,_=r.enabled(c)),_),set:x=>{p=x}}),typeof r.init=="function"&&r.init(b),b}function n(c,d){const p=r(this.namespace+(typeof d>"u"?":":d)+c);return p.log=this.log,p}function o(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let d;const p=(typeof c=="string"?c:"").split(/[\s,]+/),g=p.length;for(d=0;d"-"+d)].join(",");return r.enable(""),c}function s(c){if(c[c.length-1]==="*")return!0;let d,p;for(d=0,p=r.skips.length;d{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;u.splice(1,0,c,"color: inherit");let d=0,p=0;u[0].replace(/%[a-zA-Z%]/g,g=>{g!=="%%"&&(d++,g==="%c"&&(p=d))}),u.splice(p,0,c)}t.log=console.debug||console.log||(()=>{});function i(u){try{u?t.storage.setItem("debug",u):t.storage.removeItem("debug")}catch{}}function s(){let u;try{u=t.storage.getItem("debug")}catch{}return!u&&typeof Yt<"u"&&"env"in Yt&&(u=r.DEBUG),u}function a(){try{return localStorage}catch{}}e.exports=KP(t);const{formatters:l}=e.exports;l.j=function(u){try{return JSON.stringify(u)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}})(Yh,Yh.exports);var w1=Yh.exports;w1("mqtt-packet:parser");const{Buffer:P0}=Jt;P0.isBuffer(P0.from([1,2]).subarray(0,1));var zh={exports:{}};typeof Yt>"u"||!Yt.version||Yt.version.indexOf("v0.")===0||Yt.version.indexOf("v1.")===0&&Yt.version.indexOf("v1.8.")!==0?zh.exports={nextTick:YP}:zh.exports=Yt;function YP(e,t,r,n){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var o=arguments.length,i,s;switch(o){case 0:case 1:return Yt.nextTick(e);case 2:return Yt.nextTick(function(){e.call(null,t)});case 3:return Yt.nextTick(function(){e.call(null,t,r)});case 4:return Yt.nextTick(function(){e.call(null,t,r,n)});default:for(i=new Array(o-1),s=0;st?1:e>=t?0:NaN}function GP(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function wp(e){let t,r,n;e.length!==2?(t=Ka,r=(a,l)=>Ka(e(a),l),n=(a,l)=>e(a)-l):(t=e===Ka||e===GP?e:QP,r=e,n=e);function o(a,l,u=0,c=a.length){if(u>>1;r(a[d],l)<0?u=d+1:c=d}while(u>>1;r(a[d],l)<=0?u=d+1:c=d}while(uu&&n(a[d-1],l)>-n(a[d],l)?d-1:d}return{left:o,center:s,right:i}}function QP(){return 0}function XP(e){return e===null?NaN:+e}const JP=wp(Ka),ZP=JP.right;wp(XP).center;function i3(e,t){let r,n;if(t===void 0)for(const o of e)o!=null&&(r===void 0?o>=o&&(r=n=o):(r>o&&(r=o),n=i&&(r=n=i):(r>i&&(r=i),n=nL?10:i>=iL?5:i>=oL?2:1;let a,l,u;return o<0?(u=Math.pow(10,-o)/s,a=Math.round(e*u),l=Math.round(t*u),a/ut&&--l,u=-u):(u=Math.pow(10,o)*s,a=Math.round(e/u),l=Math.round(t/u),a*ut&&--l),l0))return[];if(e===t)return[e];const n=t=o))return[];const a=i-o+1,l=new Array(a);if(n)if(s<0)for(let u=0;u=n)&&(r=n);else{let n=-1;for(let o of e)(o=t(o,++n,e))!=null&&(r=o)&&(r=o)}return r}function aL(e,t,r){e=+e,t=+t,r=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+r;for(var n=-1,o=Math.max(0,Math.ceil((t-e)/r))|0,i=new Array(o);++n+e(t)}function hL(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),r=>+e(r)+t}function dL(){return!this.__axis}function wu(e,t){var r=[],n=null,o=null,i=6,s=6,a=3,l=typeof window<"u"&&window.devicePixelRatio>1?0:.5,u=e===Ya||e===ds?-1:1,c=e===ds||e===za?"x":"y",d=e===Ya||e===Xh?uL:cL;function p(g){var _=n??(t.ticks?t.ticks.apply(t,r):t.domain()),b=o??(t.tickFormat?t.tickFormat.apply(t,r):lL),x=Math.max(i,0)+a,k=t.range(),R=+k[0]+l,A=+k[k.length-1]+l,B=(t.bandwidth?hL:fL)(t.copy(),l),$=g.selection?g.selection():g,I=$.selectAll(".domain").data([null]),P=$.selectAll(".tick").data(_,t).order(),W=P.exit(),Y=P.enter().append("g").attr("class","tick"),oe=P.select("line"),te=P.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),P=P.merge(Y),oe=oe.merge(Y.append("line").attr("stroke","currentColor").attr(c+"2",u*i)),te=te.merge(Y.append("text").attr("fill","currentColor").attr(c,u*x).attr("dy",e===Ya?"0em":e===Xh?"0.71em":"0.32em")),g!==$&&(I=I.transition(g),P=P.transition(g),oe=oe.transition(g),te=te.transition(g),W=W.transition(g).attr("opacity",D0).attr("transform",function(M){return isFinite(M=B(M))?d(M+l):this.getAttribute("transform")}),Y.attr("opacity",D0).attr("transform",function(M){var L=this.parentNode.__axis;return d((L&&isFinite(L=L(M))?L:B(M))+l)})),W.remove(),I.attr("d",e===ds||e===za?s?"M"+u*s+","+R+"H"+l+"V"+A+"H"+u*s:"M"+l+","+R+"V"+A:s?"M"+R+","+u*s+"V"+l+"H"+A+"V"+u*s:"M"+R+","+l+"H"+A),P.attr("opacity",1).attr("transform",function(M){return d(B(M)+l)}),oe.attr(c+"2",u*i),te.attr(c,u*x).text(b),$.filter(dL).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===za?"start":e===ds?"end":"middle"),$.each(function(){this.__axis=B})}return p.scale=function(g){return arguments.length?(t=g,p):t},p.ticks=function(){return r=Array.from(arguments),p},p.tickArguments=function(g){return arguments.length?(r=g==null?[]:Array.from(g),p):r.slice()},p.tickValues=function(g){return arguments.length?(n=g==null?null:Array.from(g),p):n&&n.slice()},p.tickFormat=function(g){return arguments.length?(o=g,p):o},p.tickSize=function(g){return arguments.length?(i=s=+g,p):i},p.tickSizeInner=function(g){return arguments.length?(i=+g,p):i},p.tickSizeOuter=function(g){return arguments.length?(s=+g,p):s},p.tickPadding=function(g){return arguments.length?(a=+g,p):a},p.offset=function(g){return arguments.length?(l=+g,p):l},p}function s3(e){return wu(Ya,e)}function a3(e){return wu(za,e)}function l3(e){return wu(Xh,e)}function u3(e){return wu(ds,e)}var pL={value:()=>{}};function E1(){for(var e=0,t=arguments.length,r={},n;e=0&&(n=r.slice(o+1),r=r.slice(0,o)),r&&!t.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:n}})}Ga.prototype=E1.prototype={constructor:Ga,on:function(e,t){var r=this._,n=gL(e+"",r),o,i=-1,s=n.length;if(arguments.length<2){for(;++i0)for(var r=new Array(o),n=0,o,i;n=0&&(t=e.slice(0,r))!=="xmlns"&&(e=e.slice(r+1)),U0.hasOwnProperty(t)?{space:U0[t],local:e}:e}function yL(e){return function(){var t=this.ownerDocument,r=this.namespaceURI;return r===Jh&&t.documentElement.namespaceURI===Jh?t.createElement(e):t.createElementNS(r,e)}}function _L(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function S1(e){var t=vu(e);return(t.local?_L:yL)(t)}function bL(){}function vp(e){return e==null?bL:function(){return this.querySelector(e)}}function wL(e){typeof e!="function"&&(e=vp(e));for(var t=this._groups,r=t.length,n=new Array(r),o=0;o=A&&(A=R+1);!($=x[A])&&++A<_;);B._next=$||null}}return s=new Xt(s,n),s._enter=a,s._exit=l,s}function FL(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function jL(){return new Xt(this._exit||this._groups.map(I1),this._parents)}function WL(e,t,r){var n=this.enter(),o=this,i=this.exit();return typeof e=="function"?(n=e(n),n&&(n=n.selection())):n=n.append(e+""),t!=null&&(o=t(o),o&&(o=o.selection())),r==null?i.remove():r(i),n&&o?n.merge(o).order():o}function HL(e){for(var t=e.selection?e.selection():e,r=this._groups,n=t._groups,o=r.length,i=n.length,s=Math.min(o,i),a=new Array(o),l=0;l=0;)(s=n[o])&&(i&&s.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(s,i),i=s);return this}function qL(e){e||(e=KL);function t(d,p){return d&&p?e(d.__data__,p.__data__):!d-!p}for(var r=this._groups,n=r.length,o=new Array(n),i=0;it?1:e>=t?0:NaN}function YL(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function zL(){return Array.from(this)}function GL(){for(var e=this._groups,t=0,r=e.length;t1?this.each((t==null?sB:typeof t=="function"?lB:aB)(e,t,r??"")):No(this.node(),e)}function No(e,t){return e.style.getPropertyValue(t)||C1(e).getComputedStyle(e,null).getPropertyValue(t)}function cB(e){return function(){delete this[e]}}function fB(e,t){return function(){this[e]=t}}function hB(e,t){return function(){var r=t.apply(this,arguments);r==null?delete this[e]:this[e]=r}}function dB(e,t){return arguments.length>1?this.each((t==null?cB:typeof t=="function"?hB:fB)(e,t)):this.node()[e]}function R1(e){return e.trim().split(/^|\s+/)}function Ep(e){return e.classList||new O1(e)}function O1(e){this._node=e,this._names=R1(e.getAttribute("class")||"")}O1.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function k1(e,t){for(var r=Ep(e),n=-1,o=t.length;++n=0&&(r=t.slice(n+1),t=t.slice(0,n)),{type:t,name:r}})}function jB(e){return function(){var t=this.__on;if(t){for(var r=0,n=-1,o=t.length,i;r>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?va(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?va(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=QB.exec(e))?new Ft(t[1],t[2],t[3],1):(t=XB.exec(e))?new Ft(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=JB.exec(e))?va(t[1],t[2],t[3],t[4]):(t=ZB.exec(e))?va(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=eD.exec(e))?K0(t[1],t[2]/100,t[3]/100,1):(t=tD.exec(e))?K0(t[1],t[2]/100,t[3]/100,t[4]):F0.hasOwnProperty(e)?H0(F0[e]):e==="transparent"?new Ft(NaN,NaN,NaN,0):null}function H0(e){return new Ft(e>>16&255,e>>8&255,e&255,1)}function va(e,t,r,n){return n<=0&&(e=t=r=NaN),new Ft(e,t,r,n)}function iD(e){return e instanceof Gs||(e=ki(e)),e?(e=e.rgb(),new Ft(e.r,e.g,e.b,e.opacity)):new Ft}function Zh(e,t,r,n){return arguments.length===1?iD(e):new Ft(e,t,r,n??1)}function Ft(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}Sp(Ft,Zh,L1(Gs,{brighter(e){return e=e==null?wl:Math.pow(wl,e),new Ft(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Ms:Math.pow(Ms,e),new Ft(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ft(xi(this.r),xi(this.g),xi(this.b),vl(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:V0,formatHex:V0,formatHex8:oD,formatRgb:q0,toString:q0}));function V0(){return`#${_i(this.r)}${_i(this.g)}${_i(this.b)}`}function oD(){return`#${_i(this.r)}${_i(this.g)}${_i(this.b)}${_i((isNaN(this.opacity)?1:this.opacity)*255)}`}function q0(){const e=vl(this.opacity);return`${e===1?"rgb(":"rgba("}${xi(this.r)}, ${xi(this.g)}, ${xi(this.b)}${e===1?")":`, ${e})`}`}function vl(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function xi(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function _i(e){return e=xi(e),(e<16?"0":"")+e.toString(16)}function K0(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new mr(e,t,r,n)}function B1(e){if(e instanceof mr)return new mr(e.h,e.s,e.l,e.opacity);if(e instanceof Gs||(e=ki(e)),!e)return new mr;if(e instanceof mr)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),s=NaN,a=i-o,l=(i+o)/2;return a?(t===i?s=(r-n)/a+(r0&&l<1?0:s,new mr(s,a,l,e.opacity)}function sD(e,t,r,n){return arguments.length===1?B1(e):new mr(e,t,r,n??1)}function mr(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Sp(mr,sD,L1(Gs,{brighter(e){return e=e==null?wl:Math.pow(wl,e),new mr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ms:Math.pow(Ms,e),new mr(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new Ft(Bc(e>=240?e-240:e+120,o,n),Bc(e,o,n),Bc(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new mr(Y0(this.h),Ea(this.s),Ea(this.l),vl(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=vl(this.opacity);return`${e===1?"hsl(":"hsla("}${Y0(this.h)}, ${Ea(this.s)*100}%, ${Ea(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Y0(e){return e=(e||0)%360,e<0?e+360:e}function Ea(e){return Math.max(0,Math.min(1,e||0))}function Bc(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const Ap=e=>()=>e;function aD(e,t){return function(r){return e+r*t}}function lD(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function uD(e){return(e=+e)==1?D1:function(t,r){return r-t?lD(t,r,e):Ap(isNaN(t)?r:t)}}function D1(e,t){var r=t-e;return r?aD(e,r):Ap(isNaN(e)?t:e)}const El=function e(t){var r=uD(t);function n(o,i){var s=r((o=Zh(o)).r,(i=Zh(i)).r),a=r(o.g,i.g),l=r(o.b,i.b),u=D1(o.opacity,i.opacity);return function(c){return o.r=s(c),o.g=a(c),o.b=l(c),o.opacity=u(c),o+""}}return n.gamma=e,n}(1);function cD(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),o;return function(i){for(o=0;or&&(i=t.slice(r,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(o=o[0])?a[s]?a[s]+=o:a[++s]=o:(a[++s]=null,l.push({i:s,x:pr(n,o)})),r=Dc.lastIndex;return r180?c+=360:c-u>180&&(u+=360),p.push({i:d.push(o(d)+"rotate(",null,n)-2,x:pr(u,c)})):c&&d.push(o(d)+"rotate("+c+n)}function a(u,c,d,p){u!==c?p.push({i:d.push(o(d)+"skewX(",null,n)-2,x:pr(u,c)}):c&&d.push(o(d)+"skewX("+c+n)}function l(u,c,d,p,g,_){if(u!==d||c!==p){var b=g.push(o(g)+"scale(",null,",",null,")");_.push({i:b-4,x:pr(u,d)},{i:b-2,x:pr(c,p)})}else(d!==1||p!==1)&&g.push(o(g)+"scale("+d+","+p+")")}return function(u,c){var d=[],p=[];return u=e(u),c=e(c),i(u.translateX,u.translateY,c.translateX,c.translateY,d,p),s(u.rotate,c.rotate,d,p),a(u.skewX,c.skewX,d,p),l(u.scaleX,u.scaleY,c.scaleX,c.scaleY,d,p),u=c=null,function(g){for(var _=-1,b=p.length,x;++_=0&&e._call.call(void 0,t),e=e._next;--Mo}function G0(){Ni=(Al=Ls.now())+Eu,Mo=ps=0;try{SD()}finally{Mo=0,TD(),Ni=0}}function AD(){var e=Ls.now(),t=e-Al;t>j1&&(Eu-=t,Al=e)}function TD(){for(var e,t=Sl,r,n=1/0;t;)t._call?(n>t._time&&(n=t._time),e=t,t=t._next):(r=t._next,t._next=null,t=e?e._next=r:Sl=r);gs=e,rd(n)}function rd(e){if(!Mo){ps&&(ps=clearTimeout(ps));var t=e-Ni;t>24?(e<1/0&&(ps=setTimeout(G0,e-Ls.now()-Eu)),is&&(is=clearInterval(is))):(is||(Al=Ls.now(),is=setInterval(AD,j1)),Mo=1,W1(G0))}}function Q0(e,t,r){var n=new Tl;return t=t==null?0:+t,n.restart(o=>{n.stop(),e(o+t)},t,r),n}var xD=E1("start","end","cancel","interrupt"),ID=[],V1=0,X0=1,nd=2,Qa=3,J0=4,id=5,Xa=6;function Su(e,t,r,n,o,i){var s=e.__transition;if(!s)e.__transition={};else if(r in s)return;CD(e,r,{name:t,index:n,group:o,on:xD,tween:ID,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:V1})}function Ip(e,t){var r=wr(e,t);if(r.state>V1)throw new Error("too late; already scheduled");return r}function Wr(e,t){var r=wr(e,t);if(r.state>Qa)throw new Error("too late; already running");return r}function wr(e,t){var r=e.__transition;if(!r||!(r=r[t]))throw new Error("transition not found");return r}function CD(e,t,r){var n=e.__transition,o;n[t]=r,r.timer=H1(i,0,r.time);function i(u){r.state=X0,r.timer.restart(s,r.delay,r.time),r.delay<=u&&s(u-r.delay)}function s(u){var c,d,p,g;if(r.state!==X0)return l();for(c in n)if(g=n[c],g.name===r.name){if(g.state===Qa)return Q0(s);g.state===J0?(g.state=Xa,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete n[c]):+cnd&&n.state=0&&(t=t.slice(0,r)),!t||t==="start"})}function o$(e,t,r){var n,o,i=i$(t)?Ip:Wr;return function(){var s=i(this,e),a=s.on;a!==n&&(o=(n=a).copy()).on(t,r),s.on=o}}function s$(e,t){var r=this._id;return arguments.length<2?wr(this.node(),r).on.on(e):this.each(o$(r,e,t))}function a$(e){return function(){var t=this.parentNode;for(var r in this.__transition)if(+r!==e)return;t&&t.removeChild(this)}}function l$(){return this.on("end.remove",a$(this._id))}function u$(e){var t=this._name,r=this._id;typeof e!="function"&&(e=vp(e));for(var n=this._groups,o=n.length,i=new Array(o),s=0;s+e;function O$(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var k$={time:null,delay:0,duration:250,ease:O$};function N$(e,t){for(var r;!(r=e.__transition)||!(r=r[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return r}function M$(e){var t,r;e instanceof dn?(t=e._id,e=e._name):(t=Y1(),(r=k$).time=xp(),e=e==null?null:e+"");for(var n=this._groups,o=n.length,i=0;i=0))throw new Error(`invalid digits: ${e}`);if(t>15)return z1;const r=10**t;return function(n){this._+=n[0];for(let o=1,i=n.length;oai)if(!(Math.abs(d*l-u*c)>ai)||!i)this._append`L${this._x1=t},${this._y1=r}`;else{let g=n-s,_=o-a,b=l*l+u*u,x=g*g+_*_,k=Math.sqrt(b),R=Math.sqrt(p),A=i*Math.tan((od-Math.acos((b+p-x)/(2*k*R)))/2),B=A/R,$=A/k;Math.abs(B-1)>ai&&this._append`L${t+B*c},${r+B*d}`,this._append`A${i},${i},0,0,${+(d*g>c*_)},${this._x1=t+$*l},${this._y1=r+$*u}`}}arc(t,r,n,o,i,s){if(t=+t,r=+r,n=+n,s=!!s,n<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(o),l=n*Math.sin(o),u=t+a,c=r+l,d=1^s,p=s?o-i:i-o;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>ai||Math.abs(this._y1-c)>ai)&&this._append`L${u},${c}`,n&&(p<0&&(p=p%sd+sd),p>P$?this._append`A${n},${n},0,1,${d},${t-a},${r-l}A${n},${n},0,1,${d},${this._x1=u},${this._y1=c}`:p>ai&&this._append`A${n},${n},0,${+(p>=od)},${d},${this._x1=t+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(t,r,n,o){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+o}h${-n}Z`}toString(){return this._}}function D$(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function xl(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Po(e){return e=xl(Math.abs(e)),e?e[1]:NaN}function $$(e,t){return function(r,n){for(var o=r.length,i=[],s=0,a=e[0],l=0;o>0&&a>0&&(l+a+1>n&&(a=Math.max(1,n-l)),i.push(r.substring(o-=a,o+a)),!((l+=a+1)>n));)a=e[s=(s+1)%e.length];return i.reverse().join(t)}}function U$(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var F$=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Il(e){if(!(t=F$.exec(e)))throw new Error("invalid format: "+e);var t;return new Rp({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Il.prototype=Rp.prototype;function Rp(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Rp.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function j$(e){e:for(var t=e.length,r=1,n=-1,o;r0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(o+1):e}var G1;function W$(e,t){var r=xl(e,t);if(!r)return e+"";var n=r[0],o=r[1],i=o-(G1=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,s=n.length;return i===s?n:i>s?n+new Array(i-s+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+xl(e,Math.max(0,t+i-1))[0]}function Z0(e,t){var r=xl(e,t);if(!r)return e+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}const ey={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:D$,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Z0(e*100,t),r:Z0,s:W$,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function ty(e){return e}var ry=Array.prototype.map,ny=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function H$(e){var t=e.grouping===void 0||e.thousands===void 0?ty:$$(ry.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",o=e.decimal===void 0?".":e.decimal+"",i=e.numerals===void 0?ty:U$(ry.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",a=e.minus===void 0?"−":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function u(d){d=Il(d);var p=d.fill,g=d.align,_=d.sign,b=d.symbol,x=d.zero,k=d.width,R=d.comma,A=d.precision,B=d.trim,$=d.type;$==="n"?(R=!0,$="g"):ey[$]||(A===void 0&&(A=12),B=!0,$="g"),(x||p==="0"&&g==="=")&&(x=!0,p="0",g="=");var I=b==="$"?r:b==="#"&&/[boxX]/.test($)?"0"+$.toLowerCase():"",P=b==="$"?n:/[%p]/.test($)?s:"",W=ey[$],Y=/[defgprs%]/.test($);A=A===void 0?6:/[gprs]/.test($)?Math.max(1,Math.min(21,A)):Math.max(0,Math.min(20,A));function oe(te){var M=I,L=P,ie,re,ae;if($==="c")L=W(te)+L,te="";else{te=+te;var se=te<0||1/te<0;if(te=isNaN(te)?l:W(Math.abs(te),A),B&&(te=j$(te)),se&&+te==0&&_!=="+"&&(se=!1),M=(se?_==="("?_:a:_==="-"||_==="("?"":_)+M,L=($==="s"?ny[8+G1/3]:"")+L+(se&&_==="("?")":""),Y){for(ie=-1,re=te.length;++ieae||ae>57){L=(ae===46?o+te.slice(ie+1):te.slice(ie))+L,te=te.slice(0,ie);break}}}R&&!x&&(te=t(te,1/0));var Q=M.length+te.length+L.length,he=Q>1)+M+te+L+he.slice(Q);break;default:te=he+M+te+L;break}return i(te)}return oe.toString=function(){return d+""},oe}function c(d,p){var g=u((d=Il(d),d.type="f",d)),_=Math.max(-8,Math.min(8,Math.floor(Po(p)/3)))*3,b=Math.pow(10,-_),x=ny[8+_/3];return function(k){return g(b*k)+x}}return{format:u,formatPrefix:c}}var Aa,Q1,X1;V$({thousands:",",grouping:[3],currency:["$",""]});function V$(e){return Aa=H$(e),Q1=Aa.format,X1=Aa.formatPrefix,Aa}function q$(e){return Math.max(0,-Po(Math.abs(e)))}function K$(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Po(t)/3)))*3-Po(Math.abs(e)))}function Y$(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Po(t)-Po(e))+1}function Au(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const iy=Symbol("implicit");function J1(){var e=new L0,t=[],r=[],n=iy;function o(i){let s=e.get(i);if(s===void 0){if(n!==iy)return n;e.set(i,s=t.push(i)-1)}return r[s%r.length]}return o.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new L0;for(const s of i)e.has(s)||e.set(s,t.push(s)-1);return o},o.range=function(i){return arguments.length?(r=Array.from(i),o):r.slice()},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return J1(t,r).unknown(n)},Au.apply(o,arguments),o}function z$(){var e=J1().unknown(void 0),t=e.domain,r=e.range,n=0,o=1,i,s,a=!1,l=0,u=0,c=.5;delete e.unknown;function d(){var p=t().length,g=ot&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function J$(e,t,r){var n=e[0],o=e[1],i=t[0],s=t[1];return o2?Z$:J$,l=u=null,d}function d(p){return p==null||isNaN(p=+p)?i:(l||(l=a(e.map(n),t,r)))(n(s(p)))}return d.invert=function(p){return s(o((u||(u=a(t,e.map(n),pr)))(p)))},d.domain=function(p){return arguments.length?(e=Array.from(p,Q$),c()):e.slice()},d.range=function(p){return arguments.length?(t=Array.from(p),c()):t.slice()},d.rangeRound=function(p){return t=Array.from(p),r=yD,c()},d.clamp=function(p){return arguments.length?(s=p?!0:lo,c()):s!==lo},d.interpolate=function(p){return arguments.length?(r=p,c()):r},d.unknown=function(p){return arguments.length?(i=p,d):i},function(p,g){return n=p,o=g,c()}}function eE(){return eU()(lo,lo)}function tU(e,t,r,n){var o=Qh(e,t,r),i;switch(n=Il(n??",f"),n.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(i=K$(o,s))&&(n.precision=i),X1(n,s)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(i=Y$(o,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=i-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(i=q$(o))&&(n.precision=i-(n.type==="%")*2);break}}return Q1(n)}function rU(e){var t=e.domain;return e.ticks=function(r){var n=t();return sL(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var o=t();return tU(o[0],o[o.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),o=0,i=n.length-1,s=n[o],a=n[i],l,u,c=10;for(a0;){if(u=Gh(s,a,r),u===l)return n[o]=s,n[i]=a,t(n);if(u>0)s=Math.floor(s/u)*u,a=Math.ceil(a/u)*u;else if(u<0)s=Math.ceil(s*u)/u,a=Math.floor(a*u)/u;else break;l=u}return e},e}function nU(){var e=eE();return e.copy=function(){return Z1(e,nU())},Au.apply(e,arguments),rU(e)}function iU(e,t){e=e.slice();var r=0,n=e.length-1,o=e[r],i=e[n],s;return i(e(i=new Date(+i)),i),o.ceil=i=>(e(i=new Date(i-1)),t(i,1),e(i),i),o.round=i=>{const s=o(i),a=o.ceil(i);return i-s(t(i=new Date(+i),s==null?1:Math.floor(s)),i),o.range=(i,s,a)=>{const l=[];if(i=o.ceil(i),a=a==null?1:Math.floor(a),!(i0))return l;let u;do l.push(u=new Date(+i)),t(i,a),e(i);while(ugt(s=>{if(s>=s)for(;e(s),!i(s);)s.setTime(s-1)},(s,a)=>{if(s>=s)if(a<0)for(;++a<=0;)for(;t(s,-1),!i(s););else for(;--a>=0;)for(;t(s,1),!i(s););}),r&&(o.count=(i,s)=>($c.setTime(+i),Uc.setTime(+s),e($c),e(Uc),Math.floor(r($c,Uc))),o.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?o.filter(n?s=>n(s)%i===0:s=>o.count(0,s)%i===0):o)),o}const Cl=gt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Cl.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?gt(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):Cl);Cl.range;const tn=1e3,rr=tn*60,rn=rr*60,pn=rn*24,Op=pn*7,sy=pn*30,Fc=pn*365,uo=gt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*tn)},(e,t)=>(t-e)/tn,e=>e.getUTCSeconds());uo.range;const kp=gt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*tn)},(e,t)=>{e.setTime(+e+t*rr)},(e,t)=>(t-e)/rr,e=>e.getMinutes());kp.range;const oU=gt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*rr)},(e,t)=>(t-e)/rr,e=>e.getUTCMinutes());oU.range;const Np=gt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*tn-e.getMinutes()*rr)},(e,t)=>{e.setTime(+e+t*rn)},(e,t)=>(t-e)/rn,e=>e.getHours());Np.range;const sU=gt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*rn)},(e,t)=>(t-e)/rn,e=>e.getUTCHours());sU.range;const Qs=gt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*rr)/pn,e=>e.getDate()-1);Qs.range;const Mp=gt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/pn,e=>e.getUTCDate()-1);Mp.range;const aU=gt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/pn,e=>Math.floor(e/pn));aU.range;function Yi(e){return gt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*rr)/Op)}const Tu=Yi(0),Rl=Yi(1),lU=Yi(2),uU=Yi(3),Lo=Yi(4),cU=Yi(5),fU=Yi(6);Tu.range;Rl.range;lU.range;uU.range;Lo.range;cU.range;fU.range;function zi(e){return gt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/Op)}const tE=zi(0),Ol=zi(1),hU=zi(2),dU=zi(3),Bo=zi(4),pU=zi(5),gU=zi(6);tE.range;Ol.range;hU.range;dU.range;Bo.range;pU.range;gU.range;const Pp=gt(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Pp.range;const mU=gt(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());mU.range;const gn=gt(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());gn.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:gt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});gn.range;const Mi=gt(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Mi.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:gt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});Mi.range;function yU(e,t,r,n,o,i){const s=[[uo,1,tn],[uo,5,5*tn],[uo,15,15*tn],[uo,30,30*tn],[i,1,rr],[i,5,5*rr],[i,15,15*rr],[i,30,30*rr],[o,1,rn],[o,3,3*rn],[o,6,6*rn],[o,12,12*rn],[n,1,pn],[n,2,2*pn],[r,1,Op],[t,1,sy],[t,3,3*sy],[e,1,Fc]];function a(u,c,d){const p=cx).right(s,p);if(g===s.length)return e.every(Qh(u/Fc,c/Fc,d));if(g===0)return Cl.every(Math.max(Qh(u,c,d),1));const[_,b]=s[p/s[g-1][2]53)return null;"w"in X||(X.w=1),"Z"in X?(T=Wc(os(X.y,0,1)),S=T.getUTCDay(),T=S>4||S===0?Ol.ceil(T):Ol(T),T=Mp.offset(T,(X.V-1)*7),X.y=T.getUTCFullYear(),X.m=T.getUTCMonth(),X.d=T.getUTCDate()+(X.w+6)%7):(T=jc(os(X.y,0,1)),S=T.getDay(),T=S>4||S===0?Rl.ceil(T):Rl(T),T=Qs.offset(T,(X.V-1)*7),X.y=T.getFullYear(),X.m=T.getMonth(),X.d=T.getDate()+(X.w+6)%7)}else("W"in X||"U"in X)&&("w"in X||(X.w="u"in X?X.u%7:"W"in X?1:0),S="Z"in X?Wc(os(X.y,0,1)).getUTCDay():jc(os(X.y,0,1)).getDay(),X.m=0,X.d="W"in X?(X.w+6)%7+X.W*7-(S+5)%7:X.w+X.U*7-(S+6)%7);return"Z"in X?(X.H+=X.Z/100|0,X.M+=X.Z%100,Wc(X)):jc(X)}}function W(Z,ue,le,X){for(var E=0,T=ue.length,S=le.length,O,N;E=S)return-1;if(O=ue.charCodeAt(E++),O===37){if(O=ue.charAt(E++),N=$[O in ay?ue.charAt(E++):O],!N||(X=N(Z,le,X))<0)return-1}else if(O!=le.charCodeAt(X++))return-1}return X}function Y(Z,ue,le){var X=u.exec(ue.slice(le));return X?(Z.p=c.get(X[0].toLowerCase()),le+X[0].length):-1}function oe(Z,ue,le){var X=g.exec(ue.slice(le));return X?(Z.w=_.get(X[0].toLowerCase()),le+X[0].length):-1}function te(Z,ue,le){var X=d.exec(ue.slice(le));return X?(Z.w=p.get(X[0].toLowerCase()),le+X[0].length):-1}function M(Z,ue,le){var X=k.exec(ue.slice(le));return X?(Z.m=R.get(X[0].toLowerCase()),le+X[0].length):-1}function L(Z,ue,le){var X=b.exec(ue.slice(le));return X?(Z.m=x.get(X[0].toLowerCase()),le+X[0].length):-1}function ie(Z,ue,le){return W(Z,t,ue,le)}function re(Z,ue,le){return W(Z,r,ue,le)}function ae(Z,ue,le){return W(Z,n,ue,le)}function se(Z){return s[Z.getDay()]}function Q(Z){return i[Z.getDay()]}function he(Z){return l[Z.getMonth()]}function fe(Z){return a[Z.getMonth()]}function pe(Z){return o[+(Z.getHours()>=12)]}function F(Z){return 1+~~(Z.getMonth()/3)}function ne(Z){return s[Z.getUTCDay()]}function ge(Z){return i[Z.getUTCDay()]}function Se(Z){return l[Z.getUTCMonth()]}function ye(Z){return a[Z.getUTCMonth()]}function V(Z){return o[+(Z.getUTCHours()>=12)]}function j(Z){return 1+~~(Z.getUTCMonth()/3)}return{format:function(Z){var ue=I(Z+="",A);return ue.toString=function(){return Z},ue},parse:function(Z){var ue=P(Z+="",!1);return ue.toString=function(){return Z},ue},utcFormat:function(Z){var ue=I(Z+="",B);return ue.toString=function(){return Z},ue},utcParse:function(Z){var ue=P(Z+="",!0);return ue.toString=function(){return Z},ue}}}var ay={"-":"",_:" ",0:"0"},bt=/^\s*\d+/,vU=/^%/,EU=/[\\^$*+?|[\]().{}]/g;function je(e,t,r){var n=e<0?"-":"",o=(n?-e:e)+"",i=o.length;return n+(i[t.toLowerCase(),r]))}function AU(e,t,r){var n=bt.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function TU(e,t,r){var n=bt.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function xU(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function IU(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function CU(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function ly(e,t,r){var n=bt.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function uy(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function RU(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function OU(e,t,r){var n=bt.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function kU(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function cy(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function NU(e,t,r){var n=bt.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function fy(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function MU(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function PU(e,t,r){var n=bt.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function LU(e,t,r){var n=bt.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function BU(e,t,r){var n=bt.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function DU(e,t,r){var n=vU.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function $U(e,t,r){var n=bt.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function UU(e,t,r){var n=bt.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function hy(e,t){return je(e.getDate(),t,2)}function FU(e,t){return je(e.getHours(),t,2)}function jU(e,t){return je(e.getHours()%12||12,t,2)}function WU(e,t){return je(1+Qs.count(gn(e),e),t,3)}function rE(e,t){return je(e.getMilliseconds(),t,3)}function HU(e,t){return rE(e,t)+"000"}function VU(e,t){return je(e.getMonth()+1,t,2)}function qU(e,t){return je(e.getMinutes(),t,2)}function KU(e,t){return je(e.getSeconds(),t,2)}function YU(e){var t=e.getDay();return t===0?7:t}function zU(e,t){return je(Tu.count(gn(e)-1,e),t,2)}function nE(e){var t=e.getDay();return t>=4||t===0?Lo(e):Lo.ceil(e)}function GU(e,t){return e=nE(e),je(Lo.count(gn(e),e)+(gn(e).getDay()===4),t,2)}function QU(e){return e.getDay()}function XU(e,t){return je(Rl.count(gn(e)-1,e),t,2)}function JU(e,t){return je(e.getFullYear()%100,t,2)}function ZU(e,t){return e=nE(e),je(e.getFullYear()%100,t,2)}function eF(e,t){return je(e.getFullYear()%1e4,t,4)}function tF(e,t){var r=e.getDay();return e=r>=4||r===0?Lo(e):Lo.ceil(e),je(e.getFullYear()%1e4,t,4)}function rF(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+je(t/60|0,"0",2)+je(t%60,"0",2)}function dy(e,t){return je(e.getUTCDate(),t,2)}function nF(e,t){return je(e.getUTCHours(),t,2)}function iF(e,t){return je(e.getUTCHours()%12||12,t,2)}function oF(e,t){return je(1+Mp.count(Mi(e),e),t,3)}function iE(e,t){return je(e.getUTCMilliseconds(),t,3)}function sF(e,t){return iE(e,t)+"000"}function aF(e,t){return je(e.getUTCMonth()+1,t,2)}function lF(e,t){return je(e.getUTCMinutes(),t,2)}function uF(e,t){return je(e.getUTCSeconds(),t,2)}function cF(e){var t=e.getUTCDay();return t===0?7:t}function fF(e,t){return je(tE.count(Mi(e)-1,e),t,2)}function oE(e){var t=e.getUTCDay();return t>=4||t===0?Bo(e):Bo.ceil(e)}function hF(e,t){return e=oE(e),je(Bo.count(Mi(e),e)+(Mi(e).getUTCDay()===4),t,2)}function dF(e){return e.getUTCDay()}function pF(e,t){return je(Ol.count(Mi(e)-1,e),t,2)}function gF(e,t){return je(e.getUTCFullYear()%100,t,2)}function mF(e,t){return e=oE(e),je(e.getUTCFullYear()%100,t,2)}function yF(e,t){return je(e.getUTCFullYear()%1e4,t,4)}function _F(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Bo(e):Bo.ceil(e),je(e.getUTCFullYear()%1e4,t,4)}function bF(){return"+0000"}function py(){return"%"}function gy(e){return+e}function my(e){return Math.floor(+e/1e3)}var Zi,sE,wF;vF({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function vF(e){return Zi=wU(e),sE=Zi.format,wF=Zi.parse,Zi.utcFormat,Zi.utcParse,Zi}function EF(e){return new Date(e)}function SF(e){return e instanceof Date?+e:+new Date(+e)}function aE(e,t,r,n,o,i,s,a,l,u){var c=eE(),d=c.invert,p=c.domain,g=u(".%L"),_=u(":%S"),b=u("%I:%M"),x=u("%I %p"),k=u("%a %d"),R=u("%b %d"),A=u("%B"),B=u("%Y");function $(I){return(l(I)1?0:e<-1?Bs:Math.acos(e)}function _y(e){return e>=1?kl:e<=-1?-kl:Math.asin(e)}function Lp(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new B$(t)}function xF(e){return e.innerRadius}function IF(e){return e.outerRadius}function CF(e){return e.startAngle}function RF(e){return e.endAngle}function OF(e){return e&&e.padAngle}function kF(e,t,r,n,o,i,s,a){var l=r-e,u=n-t,c=s-o,d=a-i,p=d*l-c*u;if(!(p*pie*ie+re*re&&(W=oe,Y=te),{cx:W,cy:Y,x01:-c,y01:-d,x11:W*(o/$-1),y11:Y*(o/$-1)}}function d3(){var e=xF,t=IF,r=Ue(0),n=null,o=CF,i=RF,s=OF,a=null,l=Lp(u);function u(){var c,d,p=+e.apply(this,arguments),g=+t.apply(this,arguments),_=o.apply(this,arguments)-kl,b=i.apply(this,arguments)-kl,x=yy(b-_),k=b>_;if(a||(a=c=l()),gDt))a.moveTo(0,0);else if(x>Ja-Dt)a.moveTo(g*ii(_),g*Ar(_)),a.arc(0,0,g,_,b,!k),p>Dt&&(a.moveTo(p*ii(b),p*Ar(b)),a.arc(0,0,p,b,_,k));else{var R=_,A=b,B=_,$=b,I=x,P=x,W=s.apply(this,arguments)/2,Y=W>Dt&&(n?+n.apply(this,arguments):co(p*p+g*g)),oe=Hc(yy(g-p)/2,+r.apply(this,arguments)),te=oe,M=oe,L,ie;if(Y>Dt){var re=_y(Y/p*Ar(W)),ae=_y(Y/g*Ar(W));(I-=re*2)>Dt?(re*=k?1:-1,B+=re,$-=re):(I=0,B=$=(_+b)/2),(P-=ae*2)>Dt?(ae*=k?1:-1,R+=ae,A-=ae):(P=0,R=A=(_+b)/2)}var se=g*ii(R),Q=g*Ar(R),he=p*ii($),fe=p*Ar($);if(oe>Dt){var pe=g*ii(A),F=g*Ar(A),ne=p*ii(B),ge=p*Ar(B),Se;if(xDt?M>Dt?(L=Ta(ne,ge,se,Q,g,M,k),ie=Ta(pe,F,he,fe,g,M,k),a.moveTo(L.cx+L.x01,L.cy+L.y01),MDt)||!(I>Dt)?a.lineTo(he,fe):te>Dt?(L=Ta(he,fe,pe,F,p,-te,k),ie=Ta(se,Q,ne,ge,p,-te,k),a.lineTo(L.cx+L.x01,L.cy+L.y01),te=g;--_)a.point(A[_],B[_]);a.lineEnd(),a.areaEnd()}k&&(A[p]=+e(x,p,d),B[p]=+t(x,p,d),a.point(n?+n(x,p,d):A[p],r?+r(x,p,d):B[p]))}if(R)return a=null,R+""||null}function c(){return NF().defined(o).curve(s).context(i)}return u.x=function(d){return arguments.length?(e=typeof d=="function"?d:Ue(+d),n=null,u):e},u.x0=function(d){return arguments.length?(e=typeof d=="function"?d:Ue(+d),u):e},u.x1=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:Ue(+d),u):n},u.y=function(d){return arguments.length?(t=typeof d=="function"?d:Ue(+d),r=null,u):t},u.y0=function(d){return arguments.length?(t=typeof d=="function"?d:Ue(+d),u):t},u.y1=function(d){return arguments.length?(r=d==null?null:typeof d=="function"?d:Ue(+d),u):r},u.lineX0=u.lineY0=function(){return c().x(e).y(t)},u.lineY1=function(){return c().x(e).y(r)},u.lineX1=function(){return c().x(n).y(t)},u.defined=function(d){return arguments.length?(o=typeof d=="function"?d:Ue(!!d),u):o},u.curve=function(d){return arguments.length?(s=d,i!=null&&(a=s(i)),u):s},u.context=function(d){return arguments.length?(d==null?i=a=null:a=s(i=d),u):i},u}function MF(e,t){return te?1:t>=e?0:NaN}function PF(e){return e}function g3(){var e=PF,t=MF,r=null,n=Ue(0),o=Ue(Ja),i=Ue(0);function s(a){var l,u=(a=xu(a)).length,c,d,p=0,g=new Array(u),_=new Array(u),b=+n.apply(this,arguments),x=Math.min(Ja,Math.max(-Ja,o.apply(this,arguments)-b)),k,R=Math.min(Math.abs(x)/u,i.apply(this,arguments)),A=R*(x<0?-1:1),B;for(l=0;l0&&(p+=B);for(t!=null?g.sort(function($,I){return t(_[$],_[I])}):r!=null&&g.sort(function($,I){return r(a[$],a[I])}),l=0,d=p?(x-u*A)/p:0;l0?B*d:0)+A,_[c]={data:a[c],index:l,value:B,startAngle:b,endAngle:k,padAngle:R};return _}return s.value=function(a){return arguments.length?(e=typeof a=="function"?a:Ue(+a),s):e},s.sortValues=function(a){return arguments.length?(t=a,r=null,s):t},s.sort=function(a){return arguments.length?(r=a,t=null,s):r},s.startAngle=function(a){return arguments.length?(n=typeof a=="function"?a:Ue(+a),s):n},s.endAngle=function(a){return arguments.length?(o=typeof a=="function"?a:Ue(+a),s):o},s.padAngle=function(a){return arguments.length?(i=typeof a=="function"?a:Ue(+a),s):i},s}function by(e,t){if((s=e.length)>1)for(var r=1,n,o,i=e[t[0]],s,a=i.length;r=0;)r[t]=t;return r}function LF(e,t){return e[t]}function BF(e){const t=[];return t.key=e,t}function m3(){var e=Ue([]),t=wy,r=by,n=LF;function o(i){var s=Array.from(e.apply(this,arguments),BF),a,l=s.length,u=-1,c;for(const d of i)for(a=0,++u;a openWB Display - - - + + +
diff --git a/packages/modules/electricity_tariffs/energycharts/tariff.py b/packages/modules/electricity_tariffs/energycharts/tariff.py index 2808705774..3104efc25b 100644 --- a/packages/modules/electricity_tariffs/energycharts/tariff.py +++ b/packages/modules/electricity_tariffs/energycharts/tariff.py @@ -1,8 +1,11 @@ from typing import Dict from datetime import datetime, timedelta -from modules.common import req -import pytz +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + import pytz + +from modules.common import req from modules.common.abstract_device import DeviceDescriptor from modules.common.component_state import TariffState from modules.electricity_tariffs.energycharts.config import EnergyChartsTariffConfiguration diff --git a/packages/modules/electricity_tariffs/rabot/tariff.py b/packages/modules/electricity_tariffs/rabot/tariff.py index 457a19722d..7af448ffff 100644 --- a/packages/modules/electricity_tariffs/rabot/tariff.py +++ b/packages/modules/electricity_tariffs/rabot/tariff.py @@ -2,9 +2,12 @@ import datetime import logging from typing import Dict -import pytz from requests.exceptions import HTTPError +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + import pytz + from dataclass_utils import asdict from helpermodules import timecheck from helpermodules.pub import Pub diff --git a/packages/modules/electricity_tariffs/tibber/tariff.py b/packages/modules/electricity_tariffs/tibber/tariff.py index c3bac5f61b..67513e6af7 100644 --- a/packages/modules/electricity_tariffs/tibber/tariff.py +++ b/packages/modules/electricity_tariffs/tibber/tariff.py @@ -28,20 +28,15 @@ def fetch_prices(config: TibberTariffConfiguration) -> Dict[int, float]: if response_json.get("errors") is None: today_prices = _get_sorted_price_data(response_json, 'today') tomorrow_prices = _get_sorted_price_data(response_json, 'tomorrow') - sorted_marketprices = today_prices + tomorrow_prices + sorted_market_prices = today_prices + tomorrow_prices prices: Dict[int, float] = {} - i = 0 - for price_data in sorted_marketprices: + for price_data in sorted_market_prices: # konvertiere Time-String (Format 2021-02-06T00:00:00+01:00) ()':' nicht von strptime unterstützt) time_str = ''.join(price_data['startsAt'].rsplit(':', 1)) - startzeit_localized = datetime.strptime(time_str, '%Y-%m-%dT%H:%M:%S.%f%z') - starttime_utc = int(startzeit_localized.astimezone(timezone.utc).timestamp()) - if timecheck.create_unix_timestamp_current_full_hour() <= starttime_utc: - if i < 24: - prices.update({starttime_utc: price_data['total'] / 1000}) - i += 1 - else: - break + start_time_localized = datetime.strptime(time_str, '%Y-%m-%dT%H:%M:%S.%f%z') + start_time_utc = int(start_time_localized.astimezone(timezone.utc).timestamp()) + if timecheck.create_unix_timestamp_current_full_hour() <= start_time_utc: + prices.update({start_time_utc: price_data['total'] / 1000}) else: error = response_json['errors'][0]['message'] raise Exception(error) diff --git a/packages/modules/electricity_tariffs/voltego/tariff.py b/packages/modules/electricity_tariffs/voltego/tariff.py index fff55c4592..2171e90111 100644 --- a/packages/modules/electricity_tariffs/voltego/tariff.py +++ b/packages/modules/electricity_tariffs/voltego/tariff.py @@ -2,9 +2,12 @@ import datetime import logging from typing import Dict -import pytz from requests.exceptions import HTTPError +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + import pytz + from dataclass_utils import asdict from helpermodules import timecheck from helpermodules.pub import Pub diff --git a/packages/modules/internal_chargepoint_handler/clients.py b/packages/modules/internal_chargepoint_handler/clients.py index 7f0f10c029..8b4d3ebc25 100644 --- a/packages/modules/internal_chargepoint_handler/clients.py +++ b/packages/modules/internal_chargepoint_handler/clients.py @@ -15,13 +15,13 @@ BUS_SOURCES = ("/dev/ttyUSB0", "/dev/ttyUSB1", "/dev/ttyACM0", "/dev/serial0") -METERS = Union[mpm3pm.Mpm3pm, sdm.Sdm630, b23.B23] +METERS = Union[mpm3pm.Mpm3pm, sdm.Sdm630_72, b23.B23] meter_config = NamedTuple("meter_config", [('type', METERS), ('modbus_id', int)]) CP0_METERS = [meter_config(mpm3pm.Mpm3pm, modbus_id=5), - meter_config(sdm.Sdm630, modbus_id=105), + meter_config(sdm.Sdm630_72, modbus_id=105), meter_config(b23.B23, modbus_id=201)] -CP1_METERS = [meter_config(mpm3pm.Mpm3pm, modbus_id=6), meter_config(sdm.Sdm630, modbus_id=106)] +CP1_METERS = [meter_config(mpm3pm.Mpm3pm, modbus_id=6), meter_config(sdm.Sdm630_72, modbus_id=106)] EVSE_ID_CP0 = [1] EVSE_ID_TWO_BUSSES_CP1 = [1, 2] @@ -122,7 +122,10 @@ def get_modbus_client(local_charge_point_num: int, # Don't create two clients for one source! with ModifyLoglevelContext(log, logging.DEBUG): log.debug("LP1 gleiches Device wie LP0") - serial_client = created_client_handler.client + if created_client_handler: + serial_client = created_client_handler.client + else: + serial_client = ModbusSerialClient_(resolved_devices[0]) evse_ids = EVSE_ID_ONE_BUS_CP1 elif counter > 1: with ModifyLoglevelContext(log, logging.DEBUG): diff --git a/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py b/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py index 8c004ca50a..b808904121 100644 --- a/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py +++ b/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py @@ -145,24 +145,34 @@ def __init__(self, self.event_start = event_start self.event_stop = event_stop self.heartbeat = False - fault_state_info_cp0 = FaultState( + self.fault_state_info_cp0 = FaultState( ComponentInfo(hierarchy_id_cp0, "Interner Ladepunkt 0", "chargepoint", parent_id=parent_cp0, parent_hostname=global_data.parent_ip)) fault_state_info_cp1 = FaultState( ComponentInfo(hierarchy_id_cp1, "Interner Ladepunkt 1", "chargepoint", parent_id=parent_cp1, parent_hostname=global_data.parent_ip)) - with SingleComponentUpdateContext(fault_state_info_cp0): - # Allgemeine Fehlermeldungen an LP 1: - self.cp0_client_handler = client_factory(0, fault_state_info_cp0) - self.cp0 = HandlerChargepoint(self.cp0_client_handler, 0, mode, global_data, parent_cp0, hierarchy_id_cp0) + with SingleComponentUpdateContext(self.fault_state_info_cp0, reraise=True): self.init_gpio() - if mode == InternalChargepointMode.DUO.value: - with SingleComponentUpdateContext(fault_state_info_cp1): - log.debug("Zweiter Ladepunkt für Duo konfiguriert.") - self.cp1_client_handler = client_factory(1, fault_state_info_cp1, self.cp0_client_handler) - self.cp1 = HandlerChargepoint(self.cp1_client_handler, 1, mode, - global_data, parent_cp1, hierarchy_id_cp1) - else: + try: + with SingleComponentUpdateContext(self.fault_state_info_cp0, reraise=True): + # Allgemeine Fehlermeldungen an LP 1: + self.cp0_client_handler = client_factory(0, self.fault_state_info_cp0) + self.cp0 = HandlerChargepoint(self.cp0_client_handler, 0, mode, + global_data, parent_cp0, hierarchy_id_cp0) + except Exception: + self.cp0_client_handler = None + self.cp0 = None + try: + if mode == InternalChargepointMode.DUO.value: + with SingleComponentUpdateContext(fault_state_info_cp1, reraise=True): + log.debug("Zweiter Ladepunkt für Duo konfiguriert.") + self.cp1_client_handler = client_factory(1, fault_state_info_cp1, self.cp0_client_handler) + self.cp1 = HandlerChargepoint(self.cp1_client_handler, 1, mode, + global_data, parent_cp1, hierarchy_id_cp1) + else: + self.cp1 = None + self.cp1_client_handler = None + except Exception: self.cp1 = None self.cp1_client_handler = None @@ -183,29 +193,38 @@ def init_gpio(self) -> None: def loop(self) -> None: def _loop(): while True: - self.heartbeat = True if self.event_stop.is_set(): break log.debug("***Start***") data = copy.deepcopy(SubData.internal_chargepoint_data) log.debug(data) log.setLevel(SubData.system_data["system"].data["debug_level"]) - self.cp0.update(data["global_data"], data["cp0"].data, data["rfid_data"]) + heartbeat_cp0, heartbeat_cp1 = True, True + if self.cp0: + heartbeat_cp0 = self.cp0.update(data["global_data"], data["cp0"].data, data["rfid_data"]) if self.cp1: - self.cp1.update(data["global_data"], data["cp1"].data, data["rfid_data"]) + heartbeat_cp1 = self.cp1.update(data["global_data"], data["cp1"].data, data["rfid_data"]) + self.heartbeat = True if heartbeat_cp0 and heartbeat_cp1 else False time.sleep(1.1) - with SingleComponentUpdateContext(self.cp0.module.fault_state): - # Allgemeine Fehlermeldungen an LP 1: - if self.cp1_client_handler is None: + with SingleComponentUpdateContext(self.fault_state_info_cp0, update_always=False): + # Allgemeine Fehlermeldungen an LP 1 + if self.cp0_client_handler is None and self.cp1_client_handler is None: + log.error("Kein ClientHandler vorhanden. Beende.") + elif self.cp0_client_handler is not None and self.cp1_client_handler is None: with self.cp0_client_handler.client: _loop() + elif self.cp0_client_handler is None and self.cp1_client_handler is not None: + with self.cp1_client_handler.client: + _loop() elif self.cp0_client_handler.client == self.cp1_client_handler.client: with self.cp0_client_handler.client: _loop() - else: + elif self.cp0_client_handler is not None and self.cp1_client_handler is not None: with self.cp0_client_handler.client: with self.cp1_client_handler.client: _loop() + else: + log.error("Kein ClientHandler vorhanden. Beende.") class HandlerChargepoint: @@ -232,7 +251,7 @@ def __init__(self, self.update_state = UpdateState(self.module, hierarchy_id) self.old_plug_state = False - def update(self, global_data: GlobalHandlerData, data: InternalChargepointData, rfid_data: RfidData) -> None: + def update(self, global_data: GlobalHandlerData, data: InternalChargepointData, rfid_data: RfidData) -> bool: def __thread_active(thread: Optional[threading.Thread]) -> bool: if thread: return thread.is_alive() @@ -249,6 +268,8 @@ def __thread_active(thread: Optional[threading.Thread]) -> bool: if global_data.parent_ip is not None: self.update_values.update_values(state, heartbeat_expired) self.update_state.update_state(data, heartbeat_expired) + return True + return False def _check_heartbeat_expired(self, heartbeat) -> bool: if heartbeat+80 < timecheck.create_timestamp(): diff --git a/packages/modules/internal_chargepoint_handler/update_values_test.py b/packages/modules/internal_chargepoint_handler/update_values_test.py index 2360a31bcc..6fcd274076 100644 --- a/packages/modules/internal_chargepoint_handler/update_values_test.py +++ b/packages/modules/internal_chargepoint_handler/update_values_test.py @@ -24,7 +24,7 @@ @pytest.mark.parametrize( "old_chargepoint_state, published_topics", - [(None, 36), + [(None, 42), (OLD_CHARGEPOINT_STATE, 2)] ) diff --git a/packages/modules/loadvars.py b/packages/modules/loadvars.py index c35ce53b93..4036c4e934 100644 --- a/packages/modules/loadvars.py +++ b/packages/modules/loadvars.py @@ -8,7 +8,7 @@ from modules.common.component_type import ComponentType, type_to_topic_mapping from modules.common.store import update_values from modules.common.utils.component_parser import get_component_obj_by_id -from helpermodules.utils import thread_handler +from helpermodules.utils import joined_thread_handler log = logging.getLogger(__name__) @@ -28,8 +28,8 @@ def get_values(self) -> None: wait_for_module_update_completed(self.event_module_update_completed, topic) data.data.copy_module_data() wait_for_module_update_completed(self.event_module_update_completed, topic) - thread_handler(self._get_general(), data.data.general_data.data.control_interval/3) - thread_handler(self._set_general(), data.data.general_data.data.control_interval/3) + joined_thread_handler(self._get_general(), data.data.general_data.data.control_interval/3) + joined_thread_handler(self._set_general(), data.data.general_data.data.control_interval/3) wait_for_module_update_completed(self.event_module_update_completed, topic) except Exception: log.exception("Fehler im loadvars-Modul") @@ -50,7 +50,7 @@ def _set_values(self) -> List[str]: args=(), name=f"set values cp{cp.chargepoint_module.config.id}")) except Exception: log.exception(f"Fehler im loadvars-Modul bei Element {cp.num}") - return thread_handler(modules_threads, data.data.general_data.data.control_interval/3) + return joined_thread_handler(modules_threads, data.data.general_data.data.control_interval/3) def _update_values_of_level(self, elements, not_finished_threads: List[str]) -> None: """Threads, um von der niedrigsten Ebene der Hierarchie Werte ggf. miteinander zu verrechnen und zu @@ -73,7 +73,7 @@ def _update_values_of_level(self, elements, not_finished_threads: List[str]) -> component,), name=f"component{component.component_config.id}")) except Exception: log.exception(f"Fehler im loadvars-Modul bei Element {element}") - thread_handler(modules_threads, data.data.general_data.data.control_interval/3) + joined_thread_handler(modules_threads, data.data.general_data.data.control_interval/3) def thread_without_set_value(self, modules_threads: List[threading.Thread], diff --git a/packages/modules/ripple_control_receivers/dimm_kit/ripple_control_receiver.py b/packages/modules/ripple_control_receivers/dimm_kit/ripple_control_receiver.py index de15e1d8b8..cd7e6f13c8 100644 --- a/packages/modules/ripple_control_receivers/dimm_kit/ripple_control_receiver.py +++ b/packages/modules/ripple_control_receivers/dimm_kit/ripple_control_receiver.py @@ -22,6 +22,24 @@ class State(Enum): def create_ripple_control_receiver(config: IoLanRcr): def updater(): + nonlocal version + if version is False: + try: + parsed_answer = get_version_by_telnet(VALID_VERSIONS[0], config.configuration.ip_address) + for version in VALID_VERSIONS: + if version in parsed_answer: + version = True + log.debug("Firmware des openWB Dimm-& Control-Kit ist mit openWB software2 kompatibel.") + else: + version = False + raise ValueError + except (ConnectionRefusedError, ValueError): + log.exception("Dimm-Kit") + raise Exception("Firmware des openWB Dimm-& Control-Kit ist nicht mit openWB software2 kompatibel. " + "Bitte den Support kontaktieren.") + except socket.timeout: + log.exception("Dimm-Kit") + raise Exception("Die IP-Adresse ist nicht erreichbar. Bitte den Support kontaktieren.") r1 = State(client.read_coils(0x0000, 1, unit=config.configuration.modbus_id)) r2 = State(client.read_coils(0x0001, 1, unit=config.configuration.modbus_id)) log.debug(f"RSE-Kontakt 1: {r1}, RSE-Kontakt 2: {r2}") @@ -30,24 +48,9 @@ def updater(): else: override_value = 100 return RcrState(override_value=override_value) + version = False client = ModbusTcpClient_(config.configuration.ip_address, config.configuration.port) - try: - parsed_answer = get_version_by_telnet(VALID_VERSIONS[0], config.configuration.ip_address) - for version in VALID_VERSIONS: - if version in parsed_answer: - version = True - log.debug("Firmware des openWB Dimm-& Control-Kit ist mit openWB software2 kompatibel.") - else: - version = False - raise ValueError - except (ConnectionRefusedError, ValueError): - log.exception("Dimm-Kit") - raise Exception("Firmware des openWB Dimm-& Control-Kit ist nicht mit openWB software2 kompatibel. " - "Bitte den Support kontaktieren.") - except socket.timeout: - log.exception("Dimm-Kit") - raise Exception("Die IP-Adresse ist nicht erreichbar. Bitte den Support kontaktieren.") return updater diff --git a/packages/modules/smarthome/lambda_/watt.py b/packages/modules/smarthome/lambda_/watt.py index f31d8ef246..4d4ed9ceda 100644 --- a/packages/modules/smarthome/lambda_/watt.py +++ b/packages/modules/smarthome/lambda_/watt.py @@ -5,16 +5,11 @@ import struct import codecs import logging +from pymodbus.payload import Endian from pymodbus.payload import BinaryPayloadBuilder from pymodbus.client.sync import ModbusTcpClient from smarthome.smartlog import initlog from smarthome.smartret import writeret -# fix for pymodbus endian class (changes once 2023 august to enum to uppercases only, -# checked during runtime, -# not compatible betwwen openwb 1.9 (want lowercases) and openwb 2.0 (wants upercase)) -auto = "@" -big = ">" -little = "<" named_tuple = time.localtime() # getstruct_time time_string = time.strftime("%m/%d/%Y, %H:%M:%S lambda watty.py", named_tuple) devicenumber = int(sys.argv[1]) @@ -56,67 +51,66 @@ with open(file_stringpv, 'r') as f: pvmodus = int(f.read()) # aktuelle Leistung lesen -client = ModbusTcpClient(ipadr, port=502) -start = 103 -resp = client.read_holding_registers(start, 2) -# -value1 = resp.registers[0] -all = format(value1, '04x') -aktpower = int(struct.unpack('>h', codecs.decode(all, 'hex'))[0]) -if count5 == 0: - # log counter - count1 = 999 - if os.path.isfile(file_stringcount): - with open(file_stringcount, 'r') as f: - count1 = int(f.read()) - count1 = count1+1 - if count1 > 80: - count1 = 0 - with open(file_stringcount, 'w') as f: - f.write(str(count1)) - # Logik nur schicken bei PV-Modus - if pvmodus == 1: - modbuswrite = 1 - neupower = uberschuss - if (uberschussvz == 'UZ'): - neupower = pvwatt - if neupower < 0: +with ModbusTcpClient(ipadr, port=502) as client: + start = 103 + resp = client.read_holding_registers(start, 2) + # + value1 = resp.registers[0] + all = format(value1, '04x') + aktpower = int(struct.unpack('>h', codecs.decode(all, 'hex'))[0]) + if count5 == 0: + # log counter + count1 = 999 + if os.path.isfile(file_stringcount): + with open(file_stringcount, 'r') as f: + count1 = int(f.read()) + count1 = count1+1 + if count1 > 80: + count1 = 0 + with open(file_stringcount, 'w') as f: + f.write(str(count1)) + # Logik nur schicken bei PV-Modus + if pvmodus == 1: + modbuswrite = 1 + neupower = uberschuss + if (uberschussvz == 'UZ'): + neupower = pvwatt + if neupower < 0: + neupower = 0 + if neupower > 65535: + neupower = 65535 + else: + if neupower < -32767: + neupower = -32767 + if neupower > 32767: + neupower = 32767 + # wurde lambda gerade ausgeschaltet ? (PV-Modus == 99 ?) + # dann 0 schicken wenn kein PV-Modus mehr + # und PV-Modus ausschalten + if pvmodus == 99: + modbuswrite = 1 neupower = 0 - if neupower > 65535: - neupower = 65535 - else: - if neupower < -32767: - neupower = -32767 - if neupower > 32767: - neupower = 32767 - # wurde lambda gerade ausgeschaltet ? (PV-Modus == 99 ?) - # dann 0 schicken wenn kein PV-Modus mehr - # und PV-Modus ausschalten - if pvmodus == 99: - modbuswrite = 1 - neupower = 0 - pvmodus = 0 - with open(file_stringpv, 'w') as f: - f.write(str(pvmodus)) - if count1 < 3: - log.info(' %d ipadr %s ueberschuss %6d Akt Leistung %6d' - % (devicenumber, ipadr, uberschuss, aktpower)) - log.info(' %d ipadr %s neupower %6d pvmodus %1d modbusw %1d' - % (devicenumber, ipadr, neupower, pvmodus, modbuswrite)) - # modbus write - if modbuswrite == 1: - # andernfalls absturz bei negativen Zahlen - builder = BinaryPayloadBuilder(byteorder=big) - builder.reset() - builder.add_16bit_int(neupower) - pay = builder.to_registers() - client.write_registers(102, [pay[0]]) + pvmodus = 0 + with open(file_stringpv, 'w') as f: + f.write(str(pvmodus)) if count1 < 3: - log.info(' %d ipadr %s written %6d %#4X' % - (devicenumber, ipadr, pay[0], pay[0])) -else: - if pvmodus == 99: - pvmodus = 0 + log.info(' %d ipadr %s ueberschuss %6d Akt Leistung %6d' + % (devicenumber, ipadr, uberschuss, aktpower)) + log.info(' %d ipadr %s neupower %6d pvmodus %1d modbusw %1d' + % (devicenumber, ipadr, neupower, pvmodus, modbuswrite)) + # modbus write + if modbuswrite == 1: + # andernfalls absturz bei negativen Zahlen + builder = BinaryPayloadBuilder(byteorder=Endian.Big, wordorder=Endian.Little) + builder.add_16bit_int(neupower) + pay = builder.to_registers() + client.write_registers(102, [pay[0]]) + if count1 < 3: + log.info(' %d ipadr %s written %6d %#4X' % + (devicenumber, ipadr, pay[0], pay[0])) + else: + if pvmodus == 99: + pvmodus = 0 answer = '{"power":' + str(aktpower) + ',"powerc":0' answer += ',"send":' + str(modbuswrite) + ',"sendpower":' + str(neupower) answer += ',"on":' + str(pvmodus) + '}' diff --git a/packages/modules/update_soc.py b/packages/modules/update_soc.py index 4f041b153f..68dda5ce6b 100644 --- a/packages/modules/update_soc.py +++ b/packages/modules/update_soc.py @@ -10,7 +10,7 @@ from helpermodules import timecheck from helpermodules.constants import NO_ERROR from helpermodules.pub import Pub -from helpermodules.utils import thread_handler +from helpermodules.utils import joined_thread_handler from modules.common.abstract_vehicle import VehicleUpdateData from modules.utils import wait_for_module_update_completed @@ -32,10 +32,10 @@ def update(self) -> None: topic = "openWB/set/vehicle/set/vehicle_update_completed" try: threads_update, threads_store = self._get_threads() - thread_handler(threads_update, 300) + joined_thread_handler(threads_update, 300) wait_for_module_update_completed(self.event_vehicle_update_completed, topic) # threads_store = self._filter_failed_store_threads(threads_store) - thread_handler(threads_store, data.data.general_data.data.control_interval/3) + joined_thread_handler(threads_store, data.data.general_data.data.control_interval/3) wait_for_module_update_completed(self.event_vehicle_update_completed, topic) except Exception: log.exception("Fehler im update_soc-Modul") diff --git a/packages/modules/vehicles/bmwbc/api.py b/packages/modules/vehicles/bmwbc/api.py index e051550e0c..0159102e82 100755 --- a/packages/modules/vehicles/bmwbc/api.py +++ b/packages/modules/vehicles/bmwbc/api.py @@ -9,14 +9,17 @@ import datetime import logging from typing import Union + +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + from bimmer_connected.api.client import MyBMWClientConfiguration + from bimmer_connected.api.authentication import MyBMWAuthentication + from bimmer_connected.account import MyBMWAccount + from bimmer_connected.api.regions import Regions + from bimmer_connected.utils import MyBMWJSONEncoder + from modules.common.component_state import CarState from modules.common.store import RAMDISK_PATH -from bimmer_connected.api.client import MyBMWClientConfiguration -from bimmer_connected.api.authentication import MyBMWAuthentication -from bimmer_connected.account import MyBMWAccount -from bimmer_connected.api.regions import Regions -from bimmer_connected.utils import MyBMWJSONEncoder - log = logging.getLogger(__name__) diff --git a/packages/modules/vehicles/evcc/vehicle_pb2.py b/packages/modules/vehicles/evcc/vehicle_pb2.py index e0a45bbd71..6c9c7d78a8 100644 --- a/packages/modules/vehicles/evcc/vehicle_pb2.py +++ b/packages/modules/vehicles/evcc/vehicle_pb2.py @@ -4,10 +4,12 @@ # source: vehicle.proto # Protobuf Python Version: 4.25.0 """Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + from google.protobuf import descriptor as _descriptor + from google.protobuf import descriptor_pool as _descriptor_pool + from google.protobuf import symbol_database as _symbol_database + from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() diff --git a/packages/modules/vehicles/evcc/vehicle_pb2.pyi b/packages/modules/vehicles/evcc/vehicle_pb2.pyi index 5940d5ae94..a1e376949b 100644 --- a/packages/modules/vehicles/evcc/vehicle_pb2.pyi +++ b/packages/modules/vehicles/evcc/vehicle_pb2.pyi @@ -1,7 +1,9 @@ # flake8: noqa -from google.protobuf.internal import containers as _containers -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + from google.protobuf.internal import containers as _containers + from google.protobuf import descriptor as _descriptor + from google.protobuf import message as _message from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional DESCRIPTOR: _descriptor.FileDescriptor diff --git a/packages/modules/vehicles/evcc/vehicle_pb2_grpc.py b/packages/modules/vehicles/evcc/vehicle_pb2_grpc.py index 83d494edc0..cfff16c09c 100644 --- a/packages/modules/vehicles/evcc/vehicle_pb2_grpc.py +++ b/packages/modules/vehicles/evcc/vehicle_pb2_grpc.py @@ -1,7 +1,9 @@ # flake8: noqa # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import grpc +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + import grpc import modules.vehicles.evcc.vehicle_pb2 as vehicle__pb2 diff --git a/packages/modules/vehicles/ovms/__init__.py b/packages/modules/vehicles/ovms/__init__.py new file mode 100755 index 0000000000..e69de29bb2 diff --git a/packages/modules/vehicles/ovms/api.py b/packages/modules/vehicles/ovms/api.py new file mode 100755 index 0000000000..a212544193 --- /dev/null +++ b/packages/modules/vehicles/ovms/api.py @@ -0,0 +1,192 @@ +#!/usr/bin/env python3 + +import logging +from typing import Union +import asyncio +from json import loads, dumps +from modules.vehicles.ovms.config import OVMS +from helpermodules.pub import Pub +from modules.common import req +from copy import deepcopy + +TOKEN_CMD = "/api/token" +STATUS_CMD = "/api/status" +OVMS_APPL_LABEL = "application" +OVMS_APPL_VALUE = "owb-ovms-2.x-vh" +OVMS_PURPOSE_LABEL = "purpose" +OVMS_PURPOSE_VALUE = "get soc" + +log = logging.getLogger(__name__) + + +# store soc module configuration +def write_config(topic: str, config: dict): + try: + log.debug("write_config:\n" + dumps(config, ensure_ascii=False, indent=4)) + Pub().pub(topic, config) + except Exception as e: + log.exception('Token mqtt write exception ' + str(e)) + + +class api: + + def __init__(self): + self.session = req.get_http_session() + + # create a new token and store it in the soc_module configuration + def create_token(self) -> str: + token_url = f"{self.server_url}{TOKEN_CMD}" + data = { + "username": self.user_id, + "password": self.password + } + form_data = { + OVMS_APPL_LABEL: self.ovms_appl_value, + OVMS_PURPOSE_LABEL: OVMS_PURPOSE_VALUE + } + try: + resp = self.session.post(token_url, params=data, files=form_data) + except Exception as e: + resp = e.response + + log.debug("create_token status_code=" + str(resp.status_code)) + tokenDict = loads(resp.text) + log.debug("create_token response=" + dumps(tokenDict, indent=4)) + self.token = tokenDict['token'] + log.debug("create_token confDict=" + dumps(self.confDict, indent=4)) + self.confDict["configuration"]["token"] = resp.text.rstrip() + cfg_setTopic = "openWB/set/vehicle/" + str(self.vehicle) + "/soc_module/config" + write_config(cfg_setTopic, self.confDict) + + return self.token + + # check list of token on OVMS server for unused token created by the soc mudule + # if any obsolete token are found these are deleted. + def cleanup_token(self): + tokenlist_url = f"{self.server_url}{TOKEN_CMD}?username={self.user_id}&password={self.token}" + + try: + resp = self.session.get(tokenlist_url) + except Exception as e: + log.error("cleanup_token: exception = " + str(e)) + resp = e.response + + status_code = resp.status_code + if status_code > 299: + log.error("cleanup_token status_code=" + str(status_code)) + full_tokenlist = {} + else: + response = resp.text + full_tokenlist = loads(response) + log.debug("cleanup_token status_code=" + + str(status_code) + ", full_tokenlist=\n" + + dumps(full_tokenlist, indent=4)) + obsolete_tokenlist = list(filter(lambda token: + token[OVMS_APPL_LABEL] == self.ovms_appl_value + and token["token"] != self.token, + full_tokenlist)) + if len(obsolete_tokenlist) > 0: + log.debug("cleanup_token obsolete_tokenlist=\n" + dumps(obsolete_tokenlist, indent=4)) + for tok in obsolete_tokenlist: + token_to_delete = tok["token"] + log.debug("cleanup_token: token_to_delete=" + dumps(tok, indent=4)) + token_del_url = f"{self.server_url}{TOKEN_CMD}/{token_to_delete}" + token_del_url = f"{token_del_url}?username={self.user_id}&password={self.token}" + try: + resp = self.session.delete(token_del_url) + except Exception as e: + log.error("delete_token: exception = " + str(e)) + resp = e.response + + status_code = resp.status_code + else: + log.debug("cleanup_token: no obsolete token found") + + return + + # get status for vehicleId + def get_status(self) -> Union[int, dict]: + status_url = f"{self.server_url}{STATUS_CMD}/{self.vehicleId}?username={self.user_id}&password={self.token}" + + log.debug("status-url=" + status_url) + try: + resp = self.session.get(status_url) + except Exception as e: + resp = e.response + + status_code = resp.status_code + if status_code > 299: + log.error("get_status status_code=" + str(status_code) + ", create new token") + respDict = {} + else: + response = resp.text + respDict = loads(response) + log.debug("get_status status_code=" + str(status_code) + ", response=" + dumps(respDict, indent=4)) + return int(status_code), respDict + + # async function to fetch soc, range, soc_ts + async def _fetch_soc(self, + conf: OVMS, + vehicle: int) -> Union[int, float, str, float, float]: + self.config_topic = "openWB/set/vehicle/" + vehicle + "/soc_module/config" + self.server_url = conf.configuration.server_url + self.user_id = conf.configuration.user_id + self.password = conf.configuration.password + self.vehicleId = conf.configuration.vehicleId + self.vehicle = vehicle + self.ovms_appl_value = OVMS_APPL_VALUE + str(self.vehicle) + self.config = deepcopy(conf) + + tokenstr = self.config.configuration.token + + if tokenstr is None or tokenstr == "": + self.token = self.create_token() + else: + log.debug("_fetch_soc tokenstr=\n" + tokenstr) + tokDict = loads(tokenstr) + log.debug("_fetch_soc tokDict=\n" + dumps(tokDict, indent=4)) + self.token = tokDict['token'] + + if self.token is None or self.token == "": + self.token = self.create_token() + else: + log.debug("_fetch_soc using token=" + self.token) + + self.confDict = self.config.__dict__ + self.confDict["configuration"] = self.config.configuration.__dict__ + + self.cleanup_token() + + status_code, statusDict = self.get_status() + if status_code > 299: + self.token = self.create_token() + status_code, statusDict = self.get_status() + if status_code > 299: + raise f"Authentication Problem, status_code {status_code}" + + self.soc = statusDict['soc'] + self.range = statusDict['estimatedrange'] + + # handle potential bug in OVMS, sometimes range is too high by factor 10 + if float(self.range) > 1000.0: + self.range = str(float(self.range) / 10) + + self.kms = float(statusDict['odometer']) / 10 + self.vehicle12v = statusDict['vehicle12v'] + self.soc_ts = statusDict['m_msgtime_s'] + + return int(float(self.soc)), float(self.range), self.soc_ts + + +# sync function +def fetch_soc(conf: OVMS, vehicle: int) -> Union[int, float, str]: + + # prepare and call async method + loop = asyncio.new_event_loop() + asyncio.set_event_loop(loop) + + # get soc, range from server + a = api() + soc, range, soc_ts = loop.run_until_complete(a._fetch_soc(conf, vehicle)) + + return soc, range, soc_ts diff --git a/packages/modules/vehicles/ovms/config.py b/packages/modules/vehicles/ovms/config.py new file mode 100755 index 0000000000..1a477bec2b --- /dev/null +++ b/packages/modules/vehicles/ovms/config.py @@ -0,0 +1,26 @@ +from typing import Optional + + +class OVMSConfiguration: + def __init__(self, + server_url: Optional[str] = "https://ovms.dexters-web.de:6869", # show in UI + user_id: Optional[str] = None, # show in UI + password: Optional[str] = None, # show in UI + vehicleId: Optional[str] = None, # show in UI + token: Optional[str] = None # DON'T show in UI! + ): + self.server_url = server_url + self.user_id = user_id + self.password = password + self.vehicleId = vehicleId + self.token = token + + +class OVMS: + def __init__(self, + name: str = "OVMS", + type: str = "ovms", + configuration: OVMSConfiguration = None) -> None: + self.name = name + self.type = type + self.configuration = configuration or OVMSConfiguration() diff --git a/packages/modules/vehicles/ovms/soc.py b/packages/modules/vehicles/ovms/soc.py new file mode 100755 index 0000000000..33d3f64ab6 --- /dev/null +++ b/packages/modules/vehicles/ovms/soc.py @@ -0,0 +1,42 @@ +from typing import List + +import logging + +from helpermodules.cli import run_using_positional_cli_args +from modules.common import store +from modules.common.abstract_device import DeviceDescriptor +from modules.common.abstract_vehicle import VehicleUpdateData +from modules.common.component_state import CarState +from modules.common.configurable_vehicle import ConfigurableVehicle +from modules.vehicles.ovms import api +from modules.vehicles.ovms.config import OVMS, OVMSConfiguration + +log = logging.getLogger(__name__) + + +def fetch(vehicle_update_data: VehicleUpdateData, config: OVMS, vehicle: int) -> CarState: + soc, range, soc_ts = api.fetch_soc(config, vehicle) + return CarState(soc, range) + + +def create_vehicle(vehicle_config: OVMS, vehicle: int): + def updater(vehicle_update_data: VehicleUpdateData) -> CarState: + return fetch(vehicle_update_data, vehicle_config, vehicle) + return ConfigurableVehicle(vehicle_config=vehicle_config, component_updater=updater, vehicle=vehicle) + + +def ovms_update(server_url: str, user_id: str, password: str, vehicleId: str, token: str, charge_point: int): + log.debug("ovms: server_url=" + server_url + + "user_id=" + user_id + + "vehicleId=" + vehicleId + + "charge_point=" + str(charge_point)) + store.get_car_value_store(charge_point).store.set( + fetch(None, + OVMS(configuration=OVMSConfiguration(server_url, user_id, password, vehicleId, token)), charge_point)) + + +def main(argv: List[str]): + run_using_positional_cli_args(ovms_update, argv) + + +device_descriptor = DeviceDescriptor(configuration_factory=OVMS) diff --git a/packages/modules/vehicles/polestar/auth.py b/packages/modules/vehicles/polestar/auth.py index 26a4d92865..7d579e1e4f 100755 --- a/packages/modules/vehicles/polestar/auth.py +++ b/packages/modules/vehicles/polestar/auth.py @@ -7,6 +7,7 @@ from modules.common.store import RAMDISK_PATH log = logging.getLogger(__name__) +AUTH_CLIENT_ID = "l3oopkc_10" class PolestarAuth: @@ -133,7 +134,7 @@ def _get_auth_code(self) -> str or None: return None params = { - 'client_id': 'polmystar' + 'client_id': AUTH_CLIENT_ID } data = { 'pf.username': self.username, @@ -162,8 +163,23 @@ def _get_auth_code(self) -> str or None: code = m.group(1) log.info("_get_auth_code:got code %s", code) else: - code = None - log.info("_get_auth_code:error getting auth code") + # try to accept terms and conditions in order to get code + m = re.search(r"uid=(.+)", result.request.path_url) + if m is not None: + uid = m.group(1) + log.info("_get_auth_code:accept terms and conditions for uid %s", uid) + data = {"pf.submit": True, "subject": uid} + result = self.client_session.post( + f"https://polestarid.eu.polestar.com/as/{self.resume_path}/resume/as/authorization.ping", + data=data, + ) + m = re.search(r"code=(.+)", result.request.path_url) + if m is not None: + code = m.group(1) + log.info("_get_auth_code:got code %s", code) + else: + code = None + log.info("_get_auth_code:error getting auth code") return code @@ -172,7 +188,7 @@ def _get_auth_resumePath(self) -> str or None: # Get Resume Path params = { "response_type": "code", - "client_id": "polmystar", + "client_id": AUTH_CLIENT_ID, "redirect_uri": "https://www.polestar.com/sign-in-callback" } log.info("_get_auth_resumePath:attempting to get resumePath") diff --git a/packages/modules/vehicles/smarteq/api.py b/packages/modules/vehicles/smarteq/api.py index 6afe4c0f40..327d5c5185 100755 --- a/packages/modules/vehicles/smarteq/api.py +++ b/packages/modules/vehicles/smarteq/api.py @@ -4,19 +4,23 @@ from typing import Union import asyncio import json -from modules.common.component_state import CarState -from modules.common.store import RAMDISK_PATH -from modules.vehicles.smarteq.config import SmartEQ -# import requests -from modules.common import req -import bs4 -import pkce import os import time import datetime import pickle import copy +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + import bs4 +with ImportErrorContext(): + import pkce + +from modules.common import req +from modules.common.component_state import CarState +from modules.common.store import RAMDISK_PATH +from modules.vehicles.smarteq.config import SmartEQ + date_fmt = '%Y-%m-%d %H:%M:%S' # refreshToken_exp_days = 7 # 7 days before refreshToken expires a new refreshToken shall be stored initialToken = '1.2.3' diff --git a/packages/modules/vehicles/vwid/libvwid.py b/packages/modules/vehicles/vwid/libvwid.py index 28a072fb7e..9084ad58d9 100755 --- a/packages/modules/vehicles/vwid/libvwid.py +++ b/packages/modules/vehicles/vwid/libvwid.py @@ -5,12 +5,13 @@ # Jon Petter Skagmo, 2021 import secrets -import lxml.html import logging -# import aiohttp -# import asyncio import json +from helpermodules.utils.error_handling import ImportErrorContext +with ImportErrorContext(): + import lxml.html + # Constants LOGIN_BASE = "https://emea.bff.cariad.digital/user-login/v1" LOGIN_HANDLER_BASE = "https://identity.vwgroup.io" diff --git a/packages/modules/web_themes/colors/source/index.html b/packages/modules/web_themes/colors/source/index.html index 5750e06132..503e97c75a 100755 --- a/packages/modules/web_themes/colors/source/index.html +++ b/packages/modules/web_themes/colors/source/index.html @@ -22,6 +22,7 @@ + openWB diff --git a/packages/modules/web_themes/colors/source/package.json b/packages/modules/web_themes/colors/source/package.json index 84094ebbf3..4355098d36 100755 --- a/packages/modules/web_themes/colors/source/package.json +++ b/packages/modules/web_themes/colors/source/package.json @@ -17,35 +17,35 @@ "@popperjs/core": "^2.11.8", "bootstrap": "^5.3.3", "d3": "^7.9.0", - "mqtt": "^5.7.2", + "mqtt": "^5.10.1", "process": "^0.11.10", - "swiper": "^11.1.4", + "swiper": "^11.1.14", "vue": "^3.3.4" }, "devDependencies": { - "@babel/types": "^7.24.7", + "@babel/types": "^7.25.8", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", - "@rushstack/eslint-patch": "^1.10.3", + "@rushstack/eslint-patch": "^1.10.4", "@tsconfig/node20": "^20.1.4", "@types/bootstrap": "^5.2.10", "@types/d3": "^7.4.3", - "@types/node": "^20.14.7", - "@typescript-eslint/eslint-plugin": "^7.13.1", - "@typescript-eslint/parser": "^7.13.1", - "@vitejs/plugin-vue": "^5.0.5", + "@types/node": "^20.16.13", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", + "@vitejs/plugin-vue": "^5.1.4", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^13.0.0", "@vue/tsconfig": "^0.5.1", "esbuild": "^0.21.5", - "eslint": "^8.57.0", - "eslint-plugin-vue": "^9.26.0", - "npm-run-all2": "^6.2.0", - "prettier": "^3.3.2", - "rollup": "^4.18.0", + "eslint": "^8.57.1", + "eslint-plugin-vue": "^9.29.1", + "npm-run-all2": "^6.2.4", + "prettier": "^3.3.3", + "rollup": "^4.24.0", "rollup-plugin-polyfill-node": "^0.13.0", - "typescript": "^5.5.2", - "vite": "^5.3.1", - "vue-tsc": "^2.0.21" + "typescript": "^5.6.3", + "vite": "^5.4.9", + "vue-tsc": "^2.1.6" } } diff --git a/packages/modules/web_themes/colors/source/src/assets/js/helpers.ts b/packages/modules/web_themes/colors/source/src/assets/js/helpers.ts index d7b68c6142..920d0e48cb 100755 --- a/packages/modules/web_themes/colors/source/src/assets/js/helpers.ts +++ b/packages/modules/web_themes/colors/source/src/assets/js/helpers.ts @@ -5,7 +5,7 @@ */ export function formatWatt(watt: number, decimalPlaces = 1) { - let wattResult + let wattResult: number if (watt >= 1000 && decimalPlaces < 4) { switch (decimalPlaces) { case 0: @@ -30,7 +30,7 @@ export function formatWatt(watt: number, decimalPlaces = 1) { }) + ' kW' ) } else { - return Math.round(watt).toLocaleString(undefined) + ' W' + return Math.round(watt).toLocaleString() + ' W' } } @@ -39,7 +39,7 @@ export function formatWattH( decimalPlaces: number = 1, useMWh = false, ) { - let wattResult + let wattResult: number if (wattH > 1000000) { useMWh = true wattH = wattH / 1000 @@ -50,13 +50,13 @@ export function formatWattH( wattResult = Math.round(wattH / 1000) break case 1: - wattResult = (Math.round(wattH / 100) / 10).toFixed(1) + wattResult = Math.round(wattH / 100) / 10 break case 2: - wattResult = (Math.round(wattH / 10) / 100).toFixed(2) + wattResult = Math.round(wattH / 10) / 100 break case 3: - wattResult = (Math.round(wattH) / 1000).toFixed(3) + wattResult = Math.round(wattH) / 1000 break default: wattResult = Math.round(wattH / 100) / 10 @@ -68,9 +68,7 @@ export function formatWattH( }) + (useMWh ? ' MWh' : ' kWh') ) } else { - return ( - Math.round(wattH).toLocaleString(undefined) + (useMWh ? ' kWh' : ' Wh') - ) + return Math.round(wattH).toLocaleString() + (useMWh ? ' kWh' : ' Wh') } } export function formatTime(seconds: number) { diff --git a/packages/modules/web_themes/colors/source/src/assets/js/model.ts b/packages/modules/web_themes/colors/source/src/assets/js/model.ts index 0c9198819e..ea269112ef 100644 --- a/packages/modules/web_themes/colors/source/src/assets/js/model.ts +++ b/packages/modules/web_themes/colors/source/src/assets/js/model.ts @@ -8,7 +8,7 @@ // Components have their local model import { reactive, ref } from 'vue' -import { GlobalData } from './types' +import { GlobalData } from './themeConfig' import type { PowerItem, ItemProps } from './types' import { PvSystem } from './types' diff --git a/packages/modules/web_themes/colors/source/src/assets/js/processMessages.ts b/packages/modules/web_themes/colors/source/src/assets/js/processMessages.ts index 91e8752253..ed6265f314 100755 --- a/packages/modules/web_themes/colors/source/src/assets/js/processMessages.ts +++ b/packages/modules/web_themes/colors/source/src/assets/js/processMessages.ts @@ -188,7 +188,7 @@ function processHierarchy(hierarchy: Hierarchy) { function processPvMessages(topic: string, message: string) { const index = getIndex(topic) if (index && !pvSystems.value.has(index)) { - console.warn('Creating PV system: ' + index) + // console.warn('Creating PV system: ' + index) addPvSystem(index) } if (topic == 'openWB/pv/get/power') { @@ -250,12 +250,33 @@ function processSystemMessages(topic: string, message: string) { topic.match(/^openWB\/system\/device\/[0-9]+\/component\/[0-9]+\/config$/i) ) { const config = JSON.parse(message) - if ( + switch (config.type) { + case 'counter': + case 'consumption_counter': + if (counters[config.id]) { + counters[config.id].name = config.name + } + break + case 'inverter': + case 'inverter_secondary': + if (!pvSystems.value.has(config.id)) { + pvSystems.value.set(config.id, new PvSystem(config.id)) + } + pvSystems.value.get(config.id)!.name = config.name + break + case 'bat': + if (!batteries.value.has(config.id)) { + addBattery(config.id) + } + batteries.value.get(config.id)!.name = config.name + } + + /* if ( (config.type == 'counter' || config.type == 'consumption_counter') && counters[config.id] ) { counters[config.id].name = config.name - } else if (config.type == 'inverter') { + } else if (config.type == 'inverter' ) { if (!pvSystems.value.has(config.id)) { pvSystems.value.set(config.id, new PvSystem(config.id)) } @@ -265,7 +286,7 @@ function processSystemMessages(topic: string, message: string) { addBattery(config.id) } batteries.value.get(config.id)!.name = config.name - } + } */ } } diff --git a/packages/modules/web_themes/colors/source/src/assets/js/themeConfig.ts b/packages/modules/web_themes/colors/source/src/assets/js/themeConfig.ts index 4bf93b2a8b..acb37e0543 100644 --- a/packages/modules/web_themes/colors/source/src/assets/js/themeConfig.ts +++ b/packages/modules/web_themes/colors/source/src/assets/js/themeConfig.ts @@ -6,11 +6,14 @@ import { computed, reactive } from 'vue' import { select } from 'd3' -import type { ChargeModeInfo } from './types' +import { ChargeMode, type ChargeModeInfo } from './types' import { addShDevice, shDevices } from '@/components/smartHome/model' -import { ChargeMode, vehicles } from '@/components/chargePointList/model' import { sourceSummary } from './model' -import { sourceGraphIsNotInitialized, usageGraphIsNotInitialized } from '@/components/powerGraph/model' +import { + sourceGraphIsNotInitialized, + usageGraphIsNotInitialized, +} from '@/components/powerGraph/model' +import { updateServer } from './sendMessages' export class Config { private _showRelativeArcs = false showTodayGraph = true @@ -34,6 +37,7 @@ export class Config { private _showStandardVehicle = true private _showPrices = false private _showInverters = false + private _alternativeEnergy = false private _debug: boolean = false isEtEnabled: boolean = false etPrice: number = 20.5 @@ -241,7 +245,6 @@ export class Config { } set showStandardVehicle(show: boolean) { this._showStandardVehicle = show - vehicles[0].visible = show savePrefs() } setShowStandardVehicle(show: boolean) { @@ -269,7 +272,20 @@ export class Config { setShowInverters(show: boolean) { this._showInverters = show } + get alternativeEnergy() { + return this._alternativeEnergy + } + set alternativeEnergy(show: boolean) { + this._alternativeEnergy = show + sourceGraphIsNotInitialized() + usageGraphIsNotInitialized() + savePrefs() + } + setAlternativeEnergy(show: boolean) { + this._alternativeEnergy = show + } } + export const globalConfig = reactive(new Config()) export function initConfig() { readCookie() @@ -303,17 +319,11 @@ export const widescreen = computed(() => { return screensize.x >= breakpoint }) export const chargemodes: { [key: string]: ChargeModeInfo } = { - stop: { - mode: ChargeMode.stop, - name: 'Stop', - color: 'var(--color-fg)', - icon: 'fa-power-off', - }, - standby: { - mode: ChargeMode.standby, - name: 'Standby', - color: 'var(--color-axis', - icon: 'fa-pause', + instant_charging: { + mode: ChargeMode.instant_charging, + name: 'Sofort', + color: 'var(--color-charging)', + icon: 'fa-bolt', }, pv_charging: { mode: ChargeMode.pv_charging, @@ -327,13 +337,43 @@ export const chargemodes: { [key: string]: ChargeModeInfo } = { color: 'var(--color-battery)', icon: 'fa-bullseye', }, - instant_charging: { - mode: ChargeMode.instant_charging, - name: 'Sofort', - color: 'var(--color-charging)', - icon: 'fa-bolt', + standby: { + mode: ChargeMode.standby, + name: 'Standby', + color: 'var(--color-axis', + icon: 'fa-pause', }, + stop: { + mode: ChargeMode.stop, + name: 'Stop', + color: 'var(--color-fg)', + icon: 'fa-power-off', + }, +} +export class GlobalData { + batterySoc = 0 + isBatteryConfigured = true + chargeMode = '0' + private _pvBatteryPriority = 'ev_mode' // 'ev_mode' | 'bat_mode' | 'min_soc_bat_mode' + displayLiveGraph = true + isEtEnabled = true + etMaxPrice = 0 + etCurrentPrice = 0 + cpDailyExported = 0 + evuId = 0 + etProvider = '' + get pvBatteryPriority() { + return this._pvBatteryPriority + } + set pvBatteryPriority(prio: string) { + this._pvBatteryPriority = prio + updateServer('pvBatteryPriority', prio) + } + updatePvBatteryPriority(prio: string) { + this._pvBatteryPriority = prio + } } + // methods export function savePrefs() { writeCookie() @@ -416,6 +456,7 @@ interface Preferences { showStandardV?: boolean showPrices?: boolean showInv?: boolean + altEngy?: boolean debug?: boolean } @@ -445,6 +486,7 @@ function writeCookie() { prefs.showStandardV = globalConfig.showStandardVehicle prefs.showPrices = globalConfig.showPrices prefs.showInv = globalConfig.showInverters + prefs.altEngy = globalConfig.alternativeEnergy prefs.debug = globalConfig.debug document.cookie = @@ -531,6 +573,9 @@ function readCookie() { if (prefs.showInv !== undefined) { globalConfig.setShowInverters(prefs.showInv) } + if (prefs.altEngy !== undefined) { + globalConfig.setAlternativeEnergy(prefs.altEngy) + } if (prefs.debug !== undefined) { globalConfig.setDebug(prefs.debug) } diff --git a/packages/modules/web_themes/colors/source/src/assets/js/types.ts b/packages/modules/web_themes/colors/source/src/assets/js/types.ts index b1f51ecc4e..06f354ed25 100644 --- a/packages/modules/web_themes/colors/source/src/assets/js/types.ts +++ b/packages/modules/web_themes/colors/source/src/assets/js/types.ts @@ -5,8 +5,6 @@ */ // Type definitions for all components -import { updateServer } from '@/assets/js/sendMessages' -import { ChargeMode } from '@/components/chargePointList/model' export class ShDevice implements PowerItem { id: number @@ -26,35 +24,18 @@ export class ShDevice implements PowerItem { } } -export class GlobalData { - batterySoc = 0 - isBatteryConfigured = true - chargeMode = '0' - private _pvBatteryPriority = 'ev_mode' // 'ev_mode' | 'bat_mode' | 'min_soc_bat_mode' - displayLiveGraph = true - isEtEnabled = true - etMaxPrice = 0 - etCurrentPrice = 0 - cpDailyExported = 0 - evuId = 0 - etProvider = '' - get pvBatteryPriority() { - return this._pvBatteryPriority - } - set pvBatteryPriority(prio: string) { - this._pvBatteryPriority = prio - updateServer('pvBatteryPriority', prio) - } - updatePvBatteryPriority(prio: string) { - this._pvBatteryPriority = prio - } -} - export interface Hierarchy { id: number type: string children: [Hierarchy] } +export enum ChargeMode { + instant_charging = 'instant_charging', + pv_charging = 'pv_charging', + scheduled_charging = 'scheduled_charging', + standby = 'standby', + stop = 'stop', +} export interface ChargeModeInfo { mode: ChargeMode diff --git a/packages/modules/web_themes/colors/source/src/components/batteryList/BLBattery.vue b/packages/modules/web_themes/colors/source/src/components/batteryList/BLBattery.vue index d3616321d3..326a0d2f76 100755 --- a/packages/modules/web_themes/colors/source/src/components/batteryList/BLBattery.vue +++ b/packages/modules/web_themes/colors/source/src/components/batteryList/BLBattery.vue @@ -10,20 +10,20 @@ Hagen */ {{ batteryState }}
+ + + + + + + - - - - - - -
diff --git a/packages/modules/web_themes/colors/source/src/components/batteryList/BatteryList.vue b/packages/modules/web_themes/colors/source/src/components/batteryList/BatteryList.vue index 2db25ca77a..5201342a18 100755 --- a/packages/modules/web_themes/colors/source/src/components/batteryList/BatteryList.vue +++ b/packages/modules/web_themes/colors/source/src/components/batteryList/BatteryList.vue @@ -61,7 +61,6 @@ const batteryState = computed(() => { } }) - const statusbg = computed(() => { return sourceSummary.batOut.power > 0 ? 'var(--color-pv)' diff --git a/packages/modules/web_themes/colors/source/src/components/batteryList/processMessages.ts b/packages/modules/web_themes/colors/source/src/components/batteryList/processMessages.ts index d984e30609..6d5f81b855 100755 --- a/packages/modules/web_themes/colors/source/src/components/batteryList/processMessages.ts +++ b/packages/modules/web_themes/colors/source/src/components/batteryList/processMessages.ts @@ -48,7 +48,6 @@ export function processBatteryMessages(topic: string, message: string) { batteries.value.get(index)!.soc = +message } else { // console.warn('Ignored battery message: ' + topic) - console.log(topic, message) } } else { // console.warn('Ignored battery message: ' + topic) diff --git a/packages/modules/web_themes/colors/source/src/components/buttonBar/BBSelect.vue b/packages/modules/web_themes/colors/source/src/components/buttonBar/BBSelect.vue index 9158992211..9e1aafd653 100755 --- a/packages/modules/web_themes/colors/source/src/components/buttonBar/BBSelect.vue +++ b/packages/modules/web_themes/colors/source/src/components/buttonBar/BBSelect.vue @@ -103,7 +103,7 @@ + + diff --git a/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyBar.vue b/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyBar.vue new file mode 100755 index 0000000000..b31e88b8a4 --- /dev/null +++ b/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyBar.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyLabel.vue b/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyLabel.vue new file mode 100755 index 0000000000..f52e8dc35f --- /dev/null +++ b/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyLabel.vue @@ -0,0 +1,141 @@ + + + + + diff --git a/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyLabels.vue b/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyLabels.vue new file mode 100755 index 0000000000..60f1b7e7cc --- /dev/null +++ b/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyLabels.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyMeter2.vue b/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyMeter2.vue new file mode 100755 index 0000000000..372022db67 --- /dev/null +++ b/packages/modules/web_themes/colors/source/src/components/energyMeter2/EnergyMeter2.vue @@ -0,0 +1,234 @@ + + + + diff --git a/packages/modules/web_themes/colors/source/src/components/inverterList/IlInverter.vue b/packages/modules/web_themes/colors/source/src/components/inverterList/IlInverter.vue index 279b7e946f..4e8f277b99 100755 --- a/packages/modules/web_themes/colors/source/src/components/inverterList/IlInverter.vue +++ b/packages/modules/web_themes/colors/source/src/components/inverterList/IlInverter.vue @@ -11,13 +11,13 @@
- + - + - +
@@ -47,6 +47,6 @@ const invertercolor = computed(() => { font-weight: normal; } .invertername { - font-size: var(--font-normal); + font-size: var(--font-medium); } diff --git a/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue b/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue index 529ccc72f4..7665b7da8f 100755 --- a/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue +++ b/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue @@ -1,7 +1,10 @@ - - + + + diff --git a/packages/modules/web_themes/standard_legacy/web/index.html b/packages/modules/web_themes/standard_legacy/web/index.html index 6f0a09dd7e..0275ec3df7 100644 --- a/packages/modules/web_themes/standard_legacy/web/index.html +++ b/packages/modules/web_themes/standard_legacy/web/index.html @@ -638,6 +638,29 @@

Einstellungen für "Sofortladen"

+
+
+
+ DC-Sollleistung +
+
+
+
+ +
+ +
+
+
+
@@ -660,7 +683,7 @@

Einstellungen für "Sofortladen"

- Maximaler SoC + SoC-Limit für das Fahrzeug
@@ -679,7 +702,7 @@

Einstellungen für "Sofortladen"

- Zu ladende Energie + Energie-Limit
@@ -720,9 +743,32 @@

Einstellungen für "PV"

+
+
+
+ Minimale DC-Dauerleistung +
+
+
+
+ +
+ +
+
+
+
- Mindest-SoC + Mindest-SoC für das Fahrzeug
@@ -759,9 +805,32 @@

Einstellungen für "PV"

+
+
+
+ DC Mindest-SoC-Leistung +
+
+
+
+ +
+ +
+
+
+
- SoC-Limit + SoC-Limit für das Fahrzeug
@@ -1019,12 +1088,12 @@
-
+ +

@@ -480,7 +481,7 @@
-
+

diff --git a/web/version b/web/version index fd0304f57f..399088bf46 100644 --- a/web/version +++ b/web/version @@ -1 +1 @@ -2.1.5-Patch.2 +2.1.6